Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 80.8 kB / 21.49 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 168.7 kB / 24.91 MB, free: 9.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.004/1.004, allocations: 177.1 MB / 205.3 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2531/0.2531, allocations: 32.8 MB / 294.6 MB, free: 1.238 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test32,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 323.2 MB, free: 9.691 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.277e-05/2.467e-05, allocations: 5.578 kB / 323.2 MB, free: 9.688 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test32): time 0.002411/0.002436, allocations: 1.659 MB / 324.9 MB, free: 8.016 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009262/0.003362, allocations: 0.5296 MB / 325.4 MB, free: 7.48 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.167e-05/0.003424, allocations: 4 kB / 325.4 MB, free: 7.477 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.003719, allocations: 107.6 kB / 325.5 MB, free: 7.371 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002896/0.004008, allocations: 123.5 kB / 325.7 MB, free: 7.25 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002363/0.004245, allocations: 95.58 kB / 325.8 MB, free: 7.156 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001747/0.004419, allocations: 91.8 kB / 325.8 MB, free: 7.066 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.067e-05/0.00451, allocations: 11.98 kB / 325.9 MB, free: 7.055 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.012e-05/0.00459, allocations: 51.88 kB / 325.9 MB, free: 7.004 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.823e-05/0.004688, allocations: 55.86 kB / 326 MB, free: 6.949 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.315e-05/0.004702, allocations: 4 kB / 326 MB, free: 6.945 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.368e-05/0.004785, allocations: 51.86 kB / 326 MB, free: 6.895 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 5.022e-05/0.004836, allocations: 27.91 kB / 326 MB, free: 6.867 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 2.412e-05/0.00486, allocations: 20.5 kB / 326.1 MB, free: 6.848 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000154/0.005014, allocations: 91.66 kB / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.005016, allocations: 0 / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of FrontEnd: time 5.91e-07/0.005016, allocations: 0 / 326.2 MB, free: 6.758 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.368e-06/0.005021, allocations: 4 kB / 326.2 MB, free: 6.754 MB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004179/0.005439, allocations: 329.3 kB / 326.5 MB, free: 6.41 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.005486, allocations: 8.031 kB / 326.5 MB, free: 6.402 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.382e-05/0.00553, allocations: 16.92 kB / 326.5 MB, free: 6.387 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001758/0.005705, allocations: 150.3 kB / 326.6 MB, free: 6.211 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.005719, allocations: 8.375 kB / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.795e-05/0.005747, allocations: 384 / 326.7 MB, free: 6.203 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001166/0.005863, allocations: 62.92 kB / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.005874, allocations: 192 / 326.7 MB, free: 6.133 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.005884, allocations: 8.125 kB / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.00589, allocations: 0 / 326.7 MB, free: 6.125 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.322e-05/0.005914, allocations: 4 kB / 326.7 MB, free: 6.121 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.006187, allocations: 179 kB / 326.9 MB, free: 5.93 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.605e-05/0.006243, allocations: 30.64 kB / 326.9 MB, free: 5.891 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.006e-05/0.006263, allocations: 16.84 kB / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/0.006281, allocations: 0 / 327 MB, free: 5.871 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.477e-05/0.006306, allocations: 34.5 kB / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.006308, allocations: 0 / 327 MB, free: 5.828 MB / 298.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004591/0.006767, allocations: 149.7 kB / 327.1 MB, free: 5.676 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.054e-05/0.006797, allocations: 51.41 kB / 327.2 MB, free: 5.613 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.006921, allocations: 201.6 kB / 327.4 MB, free: 5.402 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.708e-06/0.006931, allocations: 25.7 kB / 327.4 MB, free: 5.371 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.709e-05/0.006968, allocations: 100.1 kB / 327.5 MB, free: 5.27 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.388e-05/0.006992, allocations: 39.67 kB / 327.5 MB, free: 5.23 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.077e-05/0.007023, allocations: 21.7 kB / 327.6 MB, free: 5.203 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 0.000396/0.007419, allocations: 322.8 kB / 327.9 MB, free: 4.879 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.628e-05/0.007435, allocations: 11.97 kB / 327.9 MB, free: 4.867 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.326e-05/0.007448, allocations: 8 kB / 327.9 MB, free: 4.859 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.391e-05/0.007482, allocations: 24.84 kB / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.92e-07/0.007483, allocations: 0 / 327.9 MB, free: 4.832 MB / 298.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 6.3e-05/0.007546, allocations: 61.55 kB / 328 MB, free: 4.766 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.007559, allocations: 8 kB / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.007564, allocations: 0 / 328 MB, free: 4.758 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.00758, allocations: 4 kB / 328 MB, free: 4.754 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.097e-05/0.007641, allocations: 15.98 kB / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.985e-06/0.007644, allocations: 0 / 328 MB, free: 4.738 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.984e-05/0.007664, allocations: 8 kB / 328 MB, free: 4.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.007668, allocations: 0 / 328 MB, free: 4.73 MB / 298.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.803e-05/0.007726, allocations: 108.7 kB / 328.1 MB, free: 4.613 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.053e-05/0.007747, allocations: 19.92 kB / 328.1 MB, free: 4.594 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.809e-05/0.007845, allocations: 79.36 kB / 328.2 MB, free: 4.508 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.458e-06/0.007849, allocations: 7.984 kB / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.007851, allocations: 0 / 328.2 MB, free: 4.5 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.615e-06/0.007854, allocations: 4 kB / 328.2 MB, free: 4.496 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.008076, allocations: 255.4 kB / 328.5 MB, free: 4.219 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.008079, allocations: 4 kB / 328.5 MB, free: 4.215 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.406e-05/0.008113, allocations: 19.98 kB / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.714e-06/0.008114, allocations: 0 / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.789e-06/0.008119, allocations: 0 / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.00812, allocations: 0 / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.008121, allocations: 0 / 328.5 MB, free: 4.195 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.129e-05/0.008202, allocations: 164.3 kB / 328.7 MB, free: 4.016 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.161e-05/0.008214, allocations: 15.91 kB / 328.7 MB, free: 4 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.052e-05/0.008224, allocations: 4.031 kB / 328.7 MB, free: 3.996 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.289e-05/0.008257, allocations: 7.984 kB / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.23e-05/0.00828, allocations: 0 / 328.7 MB, free: 3.988 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.008283, allocations: 4 kB / 328.7 MB, free: 3.984 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.848e-05/0.008341, allocations: 72.2 kB / 328.8 MB, free: 3.91 MB / 298.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008341, allocations: 3.938 kB / 328.8 MB, free: 3.906 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000137/0.008478, allocations: 16 kB / 328.8 MB, free: 3.891 MB / 298.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00127/0.009748, allocations: 0.5738 MB / 329.4 MB, free: 3.621 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 8.627e-05/0.009835, allocations: 32.78 kB / 329.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 4.669e-06/0.009839, allocations: 0 / 329.4 MB, free: 3.586 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 2.81e-05/0.009867, allocations: 32.77 kB / 329.4 MB, free: 3.551 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.01003, allocations: 20.28 kB / 329.4 MB, free: 3.531 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003298/0.01036, allocations: 242.7 kB / 329.7 MB, free: 3.266 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.095e-05/0.0104, allocations: 71.33 kB / 329.7 MB, free: 3.176 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 3.239e-05/0.01043, allocations: 8.734 kB / 329.8 MB, free: 3.164 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.29e-05/0.01048, allocations: 63.36 kB / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01049, allocations: 0 / 329.8 MB, free: 3.102 MB / 298.7 MB Notification: Performance of Templates: time 0.003072/0.01356, allocations: 1.502 MB / 331.3 MB, free: 1.617 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test32_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test32/Test32.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.055148241110146]