Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.001899/0.001899, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.00162/0.00162, allocations: 161.7 kB / 24.27 MB, free: 172 kB / 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.483/1.483, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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.3527/0.3527, allocations: 32.8 MB / 293.9 MB, free: 1.207 MB / 266.7 MB " [Timeout remaining time 179] 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.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") translateModel(ModelicaTest.Tables.CombiTimeTable.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.393e-06/1.393e-06, allocations: 0 / 375.3 MB, free: 4.914 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.979e-05/3.118e-05, allocations: 9.344 kB / 375.3 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test16): time 0.003603/0.003634, allocations: 1.719 MB / 377.1 MB, free: 3.172 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002102/0.005737, allocations: 0.9664 MB / 378 MB, free: 2.199 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.192e-05/0.005828, allocations: 3.938 kB / 378 MB, free: 2.195 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003885/0.006217, allocations: 35.78 kB / 378.1 MB, free: 2.16 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003845/0.006601, allocations: 103.5 kB / 378.2 MB, free: 2.059 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002349/0.006836, allocations: 83.59 kB / 378.3 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002212/0.007058, allocations: 107.6 kB / 378.4 MB, free: 1.871 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.007166, allocations: 7.984 kB / 378.4 MB, free: 1.863 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.007281, allocations: 47.84 kB / 378.4 MB, free: 1.816 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.565e-05/0.007366, allocations: 27.91 kB / 378.4 MB, free: 1.789 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.895e-05/0.007385, allocations: 4 kB / 378.4 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.007486, allocations: 43.92 kB / 378.5 MB, free: 1.742 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.246e-05/0.007549, allocations: 23.92 kB / 378.5 MB, free: 1.719 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.369e-05/0.007602, allocations: 23.91 kB / 378.5 MB, free: 1.695 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002313/0.007834, allocations: 123.5 kB / 378.7 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.007836, allocations: 0 / 378.7 MB, free: 1.574 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.007837, allocations: 0 / 378.7 MB, free: 1.574 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.338e-06/0.007841, allocations: 0 / 378.7 MB, free: 1.574 MB / 346.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.0006325/0.008474, allocations: 337.6 kB / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.429e-05/0.008508, allocations: 8.031 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.01e-05/0.008568, allocations: 12.89 kB / 379 MB, free: 1.195 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002792/0.008848, allocations: 153.5 kB / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.227e-05/0.00886, allocations: 384 / 379.2 MB, free: 1.02 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.993e-05/0.00889, allocations: 8.312 kB / 379.2 MB, free: 1.012 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001669/0.009057, allocations: 58.23 kB / 379.2 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.369e-05/0.00907, allocations: 3.938 kB / 379.2 MB, free: 0.9453 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.684e-05/0.009087, allocations: 7.984 kB / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.009091, allocations: 0 / 379.2 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.179e-05/0.009183, allocations: 19.98 kB / 379.3 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003906/0.009573, allocations: 228.6 kB / 379.5 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.009774, allocations: 58.62 kB / 379.5 MB, free: 0.5977 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.937e-05/0.009844, allocations: 24.78 kB / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.009857, allocations: 0 / 379.6 MB, free: 0.5703 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001774/0.01003, allocations: 75.33 kB / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of pre-optimization done (n=6): time 1.072e-06/0.01004, allocations: 0 / 379.6 MB, free: 496 kB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006194/0.01065, allocations: 181.3 kB / 379.8 MB, free: 308 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.626e-05/0.01071, allocations: 59.39 kB / 379.9 MB, free: 236 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002223/0.01093, allocations: 187.2 kB / 380.1 MB, free: 32 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.01096, allocations: 25.7 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001014/0.01106, allocations: 108 kB / 380.2 MB, free: 15.89 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.115e-05/0.0111, allocations: 23.84 kB / 380.2 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.222e-05/0.01116, allocations: 21.72 kB / 380.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001958/0.01135, allocations: 330.8 kB / 380.5 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.847e-05/0.01142, allocations: 23.92 kB / 380.6 MB, free: 15.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.0115, allocations: 37.7 kB / 380.6 MB, free: 15.44 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001409/0.01165, allocations: 61.64 kB / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.12e-07/0.01165, allocations: 0 / 380.7 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002339/0.01188, allocations: 109.6 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/0.01189, allocations: 4 kB / 380.8 MB, free: 15.26 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.0119, allocations: 3.984 kB / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.01192, allocations: 32 / 380.8 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.384e-05/0.01201, allocations: 20.38 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.01202, allocations: 3.938 kB / 380.8 MB, free: 15.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/0.01207, allocations: 11.95 kB / 380.8 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.01208, allocations: 7.984 kB / 380.8 MB, free: 15.21 MB / 362.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 0.0001232/0.01221, allocations: 125.7 kB / 381 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.467e-05/0.01225, allocations: 15.95 kB / 381 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003185/0.01257, allocations: 123.2 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.801e-06/0.01258, allocations: 4 kB / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.01258, allocations: 0 / 381.1 MB, free: 14.94 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.01259, allocations: 7.984 kB / 381.1 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005426/0.01313, allocations: 346.9 kB / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/0.01313, allocations: 0 / 381.4 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.438e-05/0.01318, allocations: 11.98 kB / 381.4 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.568e-06/0.01318, allocations: 4 kB / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.01319, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.01319, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.01319, allocations: 0 / 381.5 MB, free: 14.54 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003052/0.0135, allocations: 216.2 kB / 381.7 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.016e-05/0.01353, allocations: 23.86 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.203e-05/0.01355, allocations: 4 kB / 381.7 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.803e-05/0.01363, allocations: 4 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.195e-05/0.01367, allocations: 11.98 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.584e-05/0.01368, allocations: 3.984 kB / 381.7 MB, free: 14.26 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001678/0.01385, allocations: 147.9 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01385, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003291/0.01418, allocations: 23.94 kB / 381.9 MB, free: 14.09 MB / 362.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.00226/0.01644, allocations: 491.2 kB / 382.4 MB, free: 13.81 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002029/0.01664, allocations: 55.91 kB / 382.4 MB, free: 13.76 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.248e-06/0.01665, allocations: 4 kB / 382.4 MB, free: 13.75 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 9.892e-05/0.01675, allocations: 27.98 kB / 382.4 MB, free: 13.73 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.01711, allocations: 41.69 kB / 382.5 MB, free: 13.7 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.01763, allocations: 229.5 kB / 382.7 MB, free: 13.44 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001228/0.01775, allocations: 96.3 kB / 382.8 MB, free: 13.33 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.49e-05/0.0178, allocations: 25.2 kB / 382.8 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.893e-05/0.01785, allocations: 16.5 kB / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of SimCode: time 4.21e-07/0.01785, allocations: 0 / 382.8 MB, free: 13.29 MB / 362.7 MB Notification: Performance of Templates: time 0.005798/0.02365, allocations: 1.869 MB / 384.7 MB, free: 11.44 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test16.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.764060426037759]