Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.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.001633/0.001633, allocations: 81.86 kB / 21.44 MB, free: 3.062 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.002163/0.002163, allocations: 165.6 kB / 24.84 MB, free: 9.309 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1/1, allocations: 158.6 MB / 186.7 MB, free: 2.766 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1406/0.1406, allocations: 32.38 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 349 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.403e-05/1.554e-05, allocations: 2.312 kB / 349 MB, free: 9.098 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.001984/0.002, allocations: 1.719 MB / 350.7 MB, free: 7.367 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008748/0.002875, allocations: 0.7842 MB / 351.5 MB, free: 6.574 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.817e-05/0.002953, allocations: 4 kB / 351.5 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003193/0.003272, allocations: 39.7 kB / 351.5 MB, free: 6.531 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001998/0.003472, allocations: 51.7 kB / 351.6 MB, free: 6.48 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001847/0.003657, allocations: 95.69 kB / 351.7 MB, free: 6.387 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.003789, allocations: 91.64 kB / 351.8 MB, free: 6.297 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.958e-05/0.003869, allocations: 12.22 kB / 351.8 MB, free: 6.285 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.504e-05/0.003934, allocations: 47.89 kB / 351.8 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.459e-05/0.003999, allocations: 19.92 kB / 351.8 MB, free: 6.219 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.004014, allocations: 4 kB / 351.9 MB, free: 6.215 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.656e-05/0.00408, allocations: 51.84 kB / 351.9 MB, free: 6.164 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 3.985e-05/0.00412, allocations: 23.92 kB / 351.9 MB, free: 6.141 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.724e-05/0.004147, allocations: 11.94 kB / 351.9 MB, free: 6.129 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001293/0.004277, allocations: 99.59 kB / 352 MB, free: 6.031 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.004278, allocations: 4 kB / 352 MB, free: 6.027 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.004279, allocations: 0 / 352 MB, free: 6.027 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.004282, allocations: 0 / 352 MB, free: 6.027 MB / 282.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0003746/0.004657, allocations: 436 kB / 352.5 MB, free: 5.566 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.176e-05/0.004689, allocations: 8.031 kB / 352.5 MB, free: 5.559 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.293e-05/0.004722, allocations: 12.89 kB / 352.5 MB, free: 5.547 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001172/0.004839, allocations: 141 kB / 352.6 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.636e-05/0.004855, allocations: 384 / 352.6 MB, free: 5.383 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.702e-05/0.004872, allocations: 4.375 kB / 352.6 MB, free: 5.379 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000107/0.004979, allocations: 66.25 kB / 352.7 MB, free: 5.305 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.004992, allocations: 8 kB / 352.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.024e-06/0.004999, allocations: 0 / 352.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.791e-06/0.005005, allocations: 0 / 352.7 MB, free: 5.297 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.671e-05/0.005032, allocations: 11.98 kB / 352.7 MB, free: 5.285 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002256/0.005257, allocations: 260.4 kB / 353 MB, free: 5.004 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.185e-05/0.005349, allocations: 55.05 kB / 353 MB, free: 4.938 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.119e-05/0.00537, allocations: 23.59 kB / 353 MB, free: 4.91 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.333e-05/0.005384, allocations: 4 kB / 353 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001044/0.005488, allocations: 65.03 kB / 353.1 MB, free: 4.828 MB / 282.7 MB Notification: Performance of pre-optimization done (n=6): time 1.322e-06/0.005489, allocations: 4 kB / 353.1 MB, free: 4.824 MB / 282.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003266/0.005816, allocations: 133.4 kB / 353.2 MB, free: 4.688 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.591e-05/0.005842, allocations: 51.41 kB / 353.3 MB, free: 4.625 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.005925, allocations: 213.8 kB / 353.5 MB, free: 4.398 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.019e-05/0.005935, allocations: 25.7 kB / 353.5 MB, free: 4.367 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.477e-05/0.00598, allocations: 146.8 kB / 353.7 MB, free: 4.219 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.553e-05/0.006005, allocations: 23.8 kB / 353.7 MB, free: 4.195 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.888e-05/0.006044, allocations: 35.34 kB / 353.7 MB, free: 4.152 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 0.0001111/0.006155, allocations: 0.4961 MB / 354.2 MB, free: 3.645 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.236e-05/0.006177, allocations: 7.938 kB / 354.2 MB, free: 3.637 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.569e-05/0.006213, allocations: 39.34 kB / 354.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.687e-05/0.00626, allocations: 39.38 kB / 354.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.006261, allocations: 0 / 354.3 MB, free: 3.543 MB / 282.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 8.679e-05/0.006348, allocations: 93.61 kB / 354.4 MB, free: 3.445 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.006359, allocations: 4 kB / 354.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006363, allocations: 0 / 354.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.616e-06/0.006372, allocations: 0 / 354.4 MB, free: 3.441 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.762e-05/0.006429, allocations: 16 kB / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-06/0.006432, allocations: 0 / 354.4 MB, free: 3.426 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.895e-05/0.006461, allocations: 12.02 kB / 354.4 MB, free: 3.414 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.006467, allocations: 7.938 kB / 354.4 MB, free: 3.406 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.172e-05/0.006518, allocations: 166.8 kB / 354.6 MB, free: 3.234 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.312e-05/0.006532, allocations: 11.91 kB / 354.6 MB, free: 3.223 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001113/0.006643, allocations: 98.38 kB / 354.7 MB, free: 3.121 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.194e-06/0.006645, allocations: 4 kB / 354.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.784e-06/0.006647, allocations: 0 / 354.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.006651, allocations: 0 / 354.7 MB, free: 3.117 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001876/0.006838, allocations: 353.6 kB / 355.1 MB, free: 2.734 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.00684, allocations: 4.406 kB / 355.1 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.132e-05/0.006861, allocations: 11.98 kB / 355.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.006863, allocations: 0 / 355.1 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006869, allocations: 8 kB / 355.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.71e-07/0.006869, allocations: 0 / 355.1 MB, free: 2.711 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.00687, allocations: 3.938 kB / 355.1 MB, free: 2.707 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.887e-05/0.006959, allocations: 255.4 kB / 355.3 MB, free: 2.434 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.887e-06/0.006968, allocations: 11.95 kB / 355.4 MB, free: 2.422 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.006982, allocations: 4 kB / 355.4 MB, free: 2.418 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.812e-05/0.00702, allocations: 3.984 kB / 355.4 MB, free: 2.414 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.18e-05/0.007042, allocations: 11.94 kB / 355.4 MB, free: 2.402 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.108e-05/0.007053, allocations: 11.98 kB / 355.4 MB, free: 2.391 MB / 282.7 MB Notification: Performance of sorting global known variables: time 3.127e-05/0.007085, allocations: 143.2 kB / 355.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.007085, allocations: 0 / 355.5 MB, free: 2.25 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001714/0.007256, allocations: 31.92 kB / 355.6 MB, free: 2.219 MB / 282.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0008571/0.008113, allocations: 431.4 kB / 356 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001019/0.008215, allocations: 51.52 kB / 356 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.008217, allocations: 0 / 356 MB, free: 1.828 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 2.999e-05/0.008247, allocations: 27.75 kB / 356.1 MB, free: 1.797 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002397/0.008486, allocations: 39.11 kB / 356.1 MB, free: 1.762 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002722/0.008758, allocations: 212.9 kB / 356.3 MB, free: 1.523 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.743e-05/0.008786, allocations: 63.34 kB / 356.4 MB, free: 1.441 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.068e-05/0.008817, allocations: 12.48 kB / 356.4 MB, free: 1.43 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.339e-05/0.00887, allocations: 86.19 kB / 356.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of SimCode: time 4.91e-07/0.00887, allocations: 0 / 356.5 MB, free: 1.344 MB / 282.7 MB Notification: Performance of Templates: time 0.003338/0.01221, allocations: 2.026 MB / 358.5 MB, free: 15.34 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.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.3013262837193906]