Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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.001566/0.001566, allocations: 88.23 kB / 20.2 MB, free: 4.227 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.001709/0.001709, allocations: 157.7 kB / 23.51 MB, free: 0.9219 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.561/1.561, allocations: 158.6 MB / 185.3 MB, free: 2.891 MB / 170.7 MB " [Timeout remaining time 178] 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.2225/0.2225, allocations: 32.37 MB / 270 MB, free: 14.77 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.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|err1.y",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.482e-06/1.482e-06, allocations: 0 / 347 MB, free: 9.73 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.326e-05/2.475e-05, allocations: 6.25 kB / 347 MB, free: 9.723 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.002486/0.002511, allocations: 1.872 MB / 348.9 MB, free: 7.84 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001237/0.003748, allocations: 0.8076 MB / 349.7 MB, free: 7.023 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001001/0.003848, allocations: 3.938 kB / 349.7 MB, free: 7.02 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003547/0.004203, allocations: 43.7 kB / 349.7 MB, free: 6.977 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.004436, allocations: 59.64 kB / 349.8 MB, free: 6.918 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002906/0.004727, allocations: 111.6 kB / 349.9 MB, free: 6.809 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001804/0.004907, allocations: 139.6 kB / 350 MB, free: 6.672 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000116/0.005023, allocations: 21.66 kB / 350.1 MB, free: 6.648 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000109/0.005132, allocations: 71.75 kB / 350.1 MB, free: 6.578 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.911e-05/0.005222, allocations: 43.83 kB / 350.2 MB, free: 6.535 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.584e-05/0.005247, allocations: 8 kB / 350.2 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.052e-05/0.005338, allocations: 43.92 kB / 350.2 MB, free: 6.484 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 6.334e-05/0.005401, allocations: 31.84 kB / 350.3 MB, free: 6.453 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.118e-05/0.005462, allocations: 27.92 kB / 350.3 MB, free: 6.426 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002541/0.005716, allocations: 155.4 kB / 350.4 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.005721, allocations: 0 / 350.4 MB, free: 6.273 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.005722, allocations: 0 / 350.4 MB, free: 6.273 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.005727, allocations: 4 kB / 350.4 MB, free: 6.27 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0005765/0.006304, allocations: 403.1 kB / 350.8 MB, free: 5.84 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.006336, allocations: 8.031 kB / 350.8 MB, free: 5.832 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.521e-05/0.006401, allocations: 24.84 kB / 350.9 MB, free: 5.809 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002645/0.006666, allocations: 169.5 kB / 351 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.695e-05/0.006683, allocations: 4.375 kB / 351 MB, free: 5.613 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.992e-05/0.006713, allocations: 8.375 kB / 351.1 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002263/0.006939, allocations: 139.4 kB / 351.2 MB, free: 5.449 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.12e-05/0.00695, allocations: 7.938 kB / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.309e-05/0.006963, allocations: 0 / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.18e-06/0.006968, allocations: 0 / 351.2 MB, free: 5.441 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001421/0.007111, allocations: 55.89 kB / 351.3 MB, free: 5.387 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004656/0.007576, allocations: 452.7 kB / 351.7 MB, free: 4.906 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003189/0.007895, allocations: 86.66 kB / 351.8 MB, free: 4.812 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.886e-05/0.007984, allocations: 36.84 kB / 351.8 MB, free: 4.773 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.023e-05/0.008004, allocations: 4 kB / 351.8 MB, free: 4.77 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001803/0.008184, allocations: 109 kB / 351.9 MB, free: 4.645 MB / 282.7 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.008186, allocations: 4 kB / 351.9 MB, free: 4.641 MB / 282.7 MB Notification: Performance of matching and sorting (n=9): time 0.0004031/0.008589, allocations: 149.5 kB / 352.1 MB, free: 4.488 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.187e-05/0.008611, allocations: 51.41 kB / 352.1 MB, free: 4.426 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.008752, allocations: 191.6 kB / 352.3 MB, free: 4.227 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.008764, allocations: 29.7 kB / 352.3 MB, free: 4.191 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.541e-05/0.00882, allocations: 124 kB / 352.5 MB, free: 4.066 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.04e-05/0.00884, allocations: 27.75 kB / 352.5 MB, free: 4.039 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.047e-05/0.00888, allocations: 29.7 kB / 352.5 MB, free: 4.004 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.122e-05/0.008932, allocations: 330.8 kB / 352.8 MB, free: 3.672 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.569e-05/0.009017, allocations: 31.98 kB / 352.9 MB, free: 3.641 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.6e-05/0.009103, allocations: 60.27 kB / 352.9 MB, free: 3.566 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.009268, allocations: 108.5 kB / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.00927, allocations: 0 / 353 MB, free: 3.445 MB / 282.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002507/0.009521, allocations: 145.4 kB / 353.2 MB, free: 3.297 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.009534, allocations: 11.94 kB / 353.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.009539, allocations: 0 / 353.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.00956, allocations: 0 / 353.2 MB, free: 3.285 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.507e-05/0.009655, allocations: 23.98 kB / 353.2 MB, free: 3.262 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.009661, allocations: 8.062 kB / 353.2 MB, free: 3.254 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.888e-05/0.00973, allocations: 15.98 kB / 353.2 MB, free: 3.238 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.228e-06/0.00974, allocations: 4 kB / 353.2 MB, free: 3.234 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 6.995e-05/0.009809, allocations: 129.7 kB / 353.4 MB, free: 3.098 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.652e-05/0.009836, allocations: 15.91 kB / 353.4 MB, free: 3.082 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002577/0.01009, allocations: 139 kB / 353.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.0101, allocations: 0 / 353.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.0101, allocations: 0 / 353.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.095e-06/0.0101, allocations: 0 / 353.5 MB, free: 2.934 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.955e-05/0.0102, allocations: 165.1 kB / 353.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.0102, allocations: 0 / 353.7 MB, free: 2.742 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.868e-05/0.01028, allocations: 12 kB / 353.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.01028, allocations: 0 / 353.7 MB, free: 2.73 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.0103, allocations: 4 kB / 353.7 MB, free: 2.727 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.915e-06/0.0103, allocations: 4 kB / 353.7 MB, free: 2.723 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.292e-06/0.0103, allocations: 3.984 kB / 353.7 MB, free: 2.719 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003403/0.01064, allocations: 192.9 kB / 353.9 MB, free: 2.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.93e-05/0.01066, allocations: 15.91 kB / 353.9 MB, free: 2.496 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.462e-05/0.01068, allocations: 8.062 kB / 353.9 MB, free: 2.488 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.159e-05/0.01075, allocations: 4 kB / 353.9 MB, free: 2.484 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.211e-05/0.01079, allocations: 7.984 kB / 353.9 MB, free: 2.477 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.0108, allocations: 4 kB / 353.9 MB, free: 2.473 MB / 282.7 MB Notification: Performance of sorting global known variables: time 7.887e-05/0.01088, allocations: 149.1 kB / 354.1 MB, free: 2.328 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01088, allocations: 0 / 354.1 MB, free: 2.328 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002273/0.01111, allocations: 35.88 kB / 354.1 MB, free: 2.293 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * 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 (10): * Single equations (assignments): 8 * 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.001824/0.01293, allocations: 440.8 kB / 354.5 MB, free: 1.969 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002538/0.01319, allocations: 87.83 kB / 354.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.01319, allocations: 0 / 354.6 MB, free: 1.883 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.0133, allocations: 35.98 kB / 354.7 MB, free: 1.848 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003125/0.01361, allocations: 41.52 kB / 354.7 MB, free: 1.809 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004762/0.01409, allocations: 274.4 kB / 355 MB, free: 1.516 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.886e-05/0.01415, allocations: 103 kB / 355.1 MB, free: 1.395 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 5.693e-05/0.0142, allocations: 17.14 kB / 355.1 MB, free: 1.379 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.721e-05/0.01425, allocations: 20.48 kB / 355.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of SimCode: time 4.61e-07/0.01425, allocations: 0 / 355.1 MB, free: 1.359 MB / 282.7 MB Notification: Performance of Templates: time 0.005464/0.01972, allocations: 2.053 MB / 357.2 MB, free: 15.32 MB / 298.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test13/Test13.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test13.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: 5.04562732600607]