Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.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.001393/0.001393, allocations: 84.7 kB / 20.68 MB, free: 1.023 MB / 14.72 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.001382/0.001382, allocations: 168.4 kB / 23.95 MB, free: 4.16 MB / 14.72 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.483/1.483, allocations: 177.1 MB / 204.3 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2216/0.2216, allocations: 34.28 MB / 295 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.904e-06/1.904e-06, allocations: 0 / 442.7 MB, free: 5.375 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.987e-05/3.177e-05, allocations: 2.281 kB / 442.7 MB, free: 5.371 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test8): time 0.003029/0.003061, allocations: 1.607 MB / 444.3 MB, free: 3.754 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001124/0.004185, allocations: 0.5259 MB / 444.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.596e-05/0.004251, allocations: 0 / 444.8 MB, free: 3.223 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002228/0.004473, allocations: 31.78 kB / 444.8 MB, free: 3.191 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002908/0.004764, allocations: 83.56 kB / 444.9 MB, free: 3.109 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003239/0.005088, allocations: 111 kB / 445 MB, free: 3.004 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.005254, allocations: 67.78 kB / 445.1 MB, free: 2.938 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.844e-05/0.005343, allocations: 7.984 kB / 445.1 MB, free: 2.93 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.843e-05/0.005411, allocations: 31.91 kB / 445.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.655e-05/0.005468, allocations: 19.92 kB / 445.2 MB, free: 2.879 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.503e-05/0.005483, allocations: 3.938 kB / 445.2 MB, free: 2.875 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.848e-05/0.005561, allocations: 39.92 kB / 445.2 MB, free: 2.836 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.957e-05/0.005611, allocations: 15.92 kB / 445.2 MB, free: 2.82 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.247e-05/0.005643, allocations: 15.92 kB / 445.2 MB, free: 2.805 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001757/0.005819, allocations: 75.73 kB / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.005822, allocations: 0 / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.005824, allocations: 0 / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.978e-06/0.005827, allocations: 0 / 445.3 MB, free: 2.73 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004728/0.0063, allocations: 325.7 kB / 445.6 MB, free: 2.383 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.006346, allocations: 8.031 kB / 445.6 MB, free: 2.375 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.718e-05/0.006383, allocations: 8.891 kB / 445.6 MB, free: 2.367 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001801/0.006563, allocations: 144.2 kB / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.006573, allocations: 384 / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.006594, allocations: 384 / 445.8 MB, free: 2.203 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001412/0.006736, allocations: 46.25 kB / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.095e-05/0.006747, allocations: 192 / 445.8 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.00676, allocations: 8.125 kB / 445.8 MB, free: 2.145 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.006766, allocations: 4 kB / 445.8 MB, free: 2.141 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.828e-05/0.006864, allocations: 23.97 kB / 445.9 MB, free: 2.117 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003578/0.007222, allocations: 220.6 kB / 446.1 MB, free: 1.871 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002305/0.007452, allocations: 50.55 kB / 446.1 MB, free: 1.812 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.362e-05/0.007506, allocations: 12.86 kB / 446.1 MB, free: 1.797 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.947e-05/0.007525, allocations: 3.938 kB / 446.1 MB, free: 1.793 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.204e-05/0.007557, allocations: 42.64 kB / 446.2 MB, free: 1.742 MB / 366.1 MB Notification: Performance of pre-optimization done (n=3): time 3.036e-06/0.00756, allocations: 3.984 kB / 446.2 MB, free: 1.738 MB / 366.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006391/0.0082, allocations: 153.3 kB / 446.3 MB, free: 1.582 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/0.008239, allocations: 51.41 kB / 446.4 MB, free: 1.52 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001788/0.008417, allocations: 169.8 kB / 446.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.034e-05/0.008438, allocations: 25.7 kB / 446.6 MB, free: 1.312 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.307e-05/0.008501, allocations: 92.14 kB / 446.7 MB, free: 1.219 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.664e-05/0.008527, allocations: 19.83 kB / 446.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.834e-05/0.008566, allocations: 21.7 kB / 446.7 MB, free: 1.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001567/0.008723, allocations: 326.7 kB / 447 MB, free: 0.8438 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.892e-05/0.008801, allocations: 19.98 kB / 447.1 MB, free: 0.8242 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.907e-05/0.008871, allocations: 20.17 kB / 447.1 MB, free: 0.8047 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001613/0.009032, allocations: 60.83 kB / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.91e-07/0.009033, allocations: 0 / 447.1 MB, free: 0.7422 MB / 366.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002147/0.009247, allocations: 93.56 kB / 447.2 MB, free: 0.6445 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/0.009261, allocations: 4 kB / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.009265, allocations: 0 / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.009278, allocations: 0 / 447.2 MB, free: 0.6406 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.009355, allocations: 19.92 kB / 447.2 MB, free: 0.6211 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.107e-06/0.009359, allocations: 3.938 kB / 447.3 MB, free: 0.6172 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.384e-05/0.009403, allocations: 4 kB / 447.3 MB, free: 0.6133 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.041e-06/0.009409, allocations: 4 kB / 447.3 MB, free: 0.6094 MB / 366.1 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 (5): * Single equations (assignments): 5 * 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 0.0001037/0.009513, allocations: 134.4 kB / 447.4 MB, free: 480 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.436e-05/0.009547, allocations: 7.953 kB / 447.4 MB, free: 472 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000267/0.009814, allocations: 90.12 kB / 447.5 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.157e-06/0.009819, allocations: 4 kB / 447.5 MB, free: 368 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.009825, allocations: 3.984 kB / 447.5 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.009828, allocations: 0 / 447.5 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004425/0.01027, allocations: 298.1 kB / 447.8 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.01027, allocations: 0 / 447.8 MB, free: 28 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.462e-05/0.01034, allocations: 15.98 kB / 447.8 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.01034, allocations: 0 / 447.8 MB, free: 12 kB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.267e-06/0.01035, allocations: 4 kB / 447.8 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.472e-06/0.01035, allocations: 192 / 447.8 MB, free: 8 kB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.01035, allocations: 4 kB / 447.8 MB, free: 4 kB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.1748/0.1851, allocations: 182.6 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.407e-05/0.1851, allocations: 8.938 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.76e-05/0.1852, allocations: 2.016 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.452e-05/0.1852, allocations: 4.781 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.426e-05/0.1853, allocations: 3.844 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.071e-06/0.1853, allocations: 2.391 kB / 448 MB, free: 18.99 MB / 366.1 MB Notification: Performance of sorting global known variables: time 8.12e-05/0.1854, allocations: 137.9 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1854, allocations: 3.75 kB / 448.1 MB, free: 18.91 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.1856, allocations: 10.84 kB / 448.2 MB, free: 18.91 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.001484/0.1871, allocations: 427.5 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.1873, allocations: 50.45 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.1873, allocations: 0.9375 kB / 448.6 MB, free: 18.79 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.728e-05/0.1874, allocations: 29.12 kB / 448.7 MB, free: 18.79 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003372/0.1877, allocations: 17.22 kB / 448.7 MB, free: 18.79 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.1882, allocations: 197.3 kB / 448.9 MB, free: 18.66 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.244e-05/0.1883, allocations: 87.02 kB / 448.9 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.914e-05/0.1883, allocations: 15.47 kB / 449 MB, free: 18.59 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.1884, allocations: 17.7 kB / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of SimCode: time 2.91e-07/0.1884, allocations: 0 / 449 MB, free: 18.58 MB / 366.1 MB Notification: Performance of Templates: time 0.004607/0.193, allocations: 1.153 MB / 450.1 MB, free: 18.45 MB / 366.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTable1Dv/Test8/Test8.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTable1Dv.Test8.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.766980428248644]