Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.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.0011/0.0011, allocations: 83.58 kB / 21.19 MB, free: 3.379 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.001437/0.001437, allocations: 161 kB / 24.55 MB, free: 16 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.01/1.01, allocations: 177.1 MB / 205 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] 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.2919/0.2919, allocations: 34.26 MB / 295.7 MB, free: 0.7109 MB / 266.7 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.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") translateModel(ModelicaTest.Tables.CombiTimeTable.Test77,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.453e-06/1.453e-06, allocations: 0 / 378.1 MB, free: 2.531 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.873e-05/2.018e-05, allocations: 6.312 kB / 378.1 MB, free: 2.523 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test77): time 0.00243/0.00245, allocations: 1.934 MB / 380.1 MB, free: 0.5742 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001617/0.004067, allocations: 1.111 MB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.311e-05/0.004161, allocations: 7.938 kB / 381.2 MB, free: 15.45 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003417/0.004502, allocations: 155.4 kB / 381.3 MB, free: 15.29 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003787/0.004881, allocations: 187.2 kB / 381.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002472/0.005128, allocations: 123.5 kB / 381.6 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002758/0.005404, allocations: 255.2 kB / 381.9 MB, free: 14.74 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001069/0.005511, allocations: 17.95 kB / 381.9 MB, free: 14.72 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001431/0.005654, allocations: 135.7 kB / 382 MB, free: 14.59 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.005796, allocations: 131.7 kB / 382.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.257e-05/0.005818, allocations: 8 kB / 382.2 MB, free: 14.45 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001062/0.005925, allocations: 63.92 kB / 382.2 MB, free: 14.39 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.491e-05/0.00599, allocations: 51.77 kB / 382.3 MB, free: 14.34 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.529e-05/0.006045, allocations: 55.72 kB / 382.3 MB, free: 14.29 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002288/0.006274, allocations: 171.3 kB / 382.5 MB, free: 14.12 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.437e-06/0.006277, allocations: 8 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.11e-07/0.006278, allocations: 4 kB / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.969e-06/0.006283, allocations: 0 / 382.5 MB, free: 14.11 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006462/0.006929, allocations: 0.573 MB / 383.1 MB, free: 13.5 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.605e-05/0.006975, allocations: 12.03 kB / 383.1 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.181e-05/0.007047, allocations: 24.8 kB / 383.1 MB, free: 13.46 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002564/0.007303, allocations: 216.6 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/0.007328, allocations: 4.375 kB / 383.4 MB, free: 13.21 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.97e-05/0.007358, allocations: 12.31 kB / 383.4 MB, free: 13.2 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002125/0.00757, allocations: 118.2 kB / 383.5 MB, free: 13.07 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.737e-05/0.007588, allocations: 7.938 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.359e-05/0.007601, allocations: 4 kB / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/0.007612, allocations: 0 / 383.5 MB, free: 13.06 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.32e-05/0.007675, allocations: 31.97 kB / 383.5 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004522/0.008127, allocations: 0.4984 MB / 384 MB, free: 12.49 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002431/0.00837, allocations: 114.1 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.945e-05/0.00842, allocations: 39.48 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.347e-05/0.008433, allocations: 4 kB / 384.2 MB, free: 12.3 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001571/0.00859, allocations: 124.3 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 1.052e-06/0.008591, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007717/0.009363, allocations: 457 kB / 384.7 MB, free: 11.7 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.711e-05/0.00941, allocations: 89.03 kB / 384.8 MB, free: 11.6 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002851/0.009695, allocations: 354.3 kB / 385.2 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.883e-05/0.009714, allocations: 33.7 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.939e-05/0.009804, allocations: 203.3 kB / 385.4 MB, free: 10.99 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.873e-05/0.009852, allocations: 71.41 kB / 385.5 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.935e-05/0.009902, allocations: 59.36 kB / 385.5 MB, free: 10.86 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001247/0.01003, allocations: 0.5157 MB / 386.1 MB, free: 10.33 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.125e-05/0.01008, allocations: 39.91 kB / 386.1 MB, free: 10.29 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.748e-05/0.01015, allocations: 76.03 kB / 386.2 MB, free: 10.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001283/0.01027, allocations: 126.8 kB / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.01027, allocations: 0 / 386.3 MB, free: 10.06 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002113/0.01049, allocations: 193.3 kB / 386.5 MB, free: 9.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.0105, allocations: 8.062 kB / 386.5 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.142e-06/0.0105, allocations: 4 kB / 386.5 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.285e-05/0.01052, allocations: 0 / 386.5 MB, free: 9.852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.048e-05/0.01061, allocations: 47.92 kB / 386.5 MB, free: 9.805 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.215e-06/0.01062, allocations: 7.922 kB / 386.5 MB, free: 9.797 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.237e-05/0.01066, allocations: 8 kB / 386.6 MB, free: 9.789 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.889e-06/0.01067, allocations: 8 kB / 386.6 MB, free: 9.781 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 8.984e-05/0.01076, allocations: 168.5 kB / 386.7 MB, free: 9.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.657e-05/0.0108, allocations: 43.75 kB / 386.8 MB, free: 9.562 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.01106, allocations: 232.3 kB / 387 MB, free: 9.328 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.01106, allocations: 3.984 kB / 387 MB, free: 9.324 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.01107, allocations: 11.88 kB / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.01108, allocations: 0 / 387 MB, free: 9.312 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00055/0.01163, allocations: 0.741 MB / 387.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.01163, allocations: 0 / 387.7 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.01168, allocations: 31.98 kB / 387.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/0.01169, allocations: 0 / 387.8 MB, free: 8.48 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.0117, allocations: 16.12 kB / 387.8 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.0117, allocations: 0 / 387.8 MB, free: 8.465 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.125e-06/0.01171, allocations: 7.938 kB / 387.8 MB, free: 8.457 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002927/0.012, allocations: 0.5043 MB / 388.3 MB, free: 7.918 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.035e-05/0.01202, allocations: 27.81 kB / 388.3 MB, free: 7.891 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.787e-05/0.01205, allocations: 12 kB / 388.3 MB, free: 7.879 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-05/0.01212, allocations: 7.984 kB / 388.4 MB, free: 7.871 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.898e-05/0.01217, allocations: 23.91 kB / 388.4 MB, free: 7.848 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.06e-05/0.01219, allocations: 12 kB / 388.4 MB, free: 7.836 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001421/0.01233, allocations: 246.9 kB / 388.6 MB, free: 7.594 MB / 362.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01233, allocations: 4 kB / 388.6 MB, free: 7.59 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002451/0.01258, allocations: 55.92 kB / 388.7 MB, free: 7.535 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001162/0.01374, allocations: 494.2 kB / 389.2 MB, free: 7.246 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002193/0.01396, allocations: 131.8 kB / 389.3 MB, free: 7.113 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.01396, allocations: 3.938 kB / 389.3 MB, free: 7.109 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.547e-05/0.01404, allocations: 79.52 kB / 389.4 MB, free: 7.027 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.01439, allocations: 71.98 kB / 389.5 MB, free: 6.961 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006012/0.015, allocations: 469.5 kB / 389.9 MB, free: 6.453 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.289e-05/0.01507, allocations: 92.69 kB / 390 MB, free: 6.344 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.606e-05/0.01514, allocations: 41.92 kB / 390 MB, free: 6.305 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.533e-05/0.0152, allocations: 28.48 kB / 390.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of SimCode: time 9.41e-07/0.0152, allocations: 0 / 390.1 MB, free: 6.277 MB / 362.7 MB Notification: Performance of Templates: time 0.006343/0.02154, allocations: 3.585 MB / 393.7 MB, free: 2.742 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test77_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test77/Test77.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.338788876309991]