Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.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.00142/0.00142, allocations: 80.98 kB / 20.65 MB, free: 3.84 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.00108/0.00108, allocations: 173 kB / 24.05 MB, free: 456 kB / 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 0.9633/0.9633, allocations: 158.6 MB / 185.9 MB, free: 2.809 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.1756/0.1756, allocations: 32.38 MB / 270.7 MB, free: 14.54 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.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") translateModel(ModelicaTest.Tables.CombiTimeTable.Test85,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.255e-06/2.255e-06, allocations: 0 / 348.2 MB, free: 9.113 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.782e-05/3.008e-05, allocations: 4.281 kB / 348.2 MB, free: 9.109 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test85): time 0.002914/0.002944, allocations: 1.691 MB / 349.9 MB, free: 7.406 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.001295/0.004239, allocations: 0.7609 MB / 350.6 MB, free: 6.637 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.847e-05/0.004318, allocations: 11.94 kB / 350.7 MB, free: 6.625 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003596/0.004677, allocations: 55.73 kB / 350.7 MB, free: 6.57 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002543/0.004931, allocations: 59.75 kB / 350.8 MB, free: 6.512 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002266/0.005158, allocations: 79.7 kB / 350.9 MB, free: 6.434 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001621/0.00532, allocations: 103.6 kB / 351 MB, free: 6.332 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.621e-05/0.005366, allocations: 3.984 kB / 351 MB, free: 6.328 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001184/0.005485, allocations: 51.83 kB / 351 MB, free: 6.277 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.005591, allocations: 35.91 kB / 351 MB, free: 6.242 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.16e-05/0.005613, allocations: 4 kB / 351 MB, free: 6.238 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.998e-05/0.005693, allocations: 35.92 kB / 351.1 MB, free: 6.203 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 5.284e-05/0.005746, allocations: 19.91 kB / 351.1 MB, free: 6.184 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.005787, allocations: 15.94 kB / 351.1 MB, free: 6.168 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001801/0.005967, allocations: 91.59 kB / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.005971, allocations: 0 / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of FrontEnd: time 1.272e-06/0.005972, allocations: 0 / 351.2 MB, free: 6.078 MB / 282.7 MB Notification: Performance of Transformations before backend: time 5.25e-06/0.005977, allocations: 0 / 351.2 MB, free: 6.078 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000444/0.006421, allocations: 424 kB / 351.6 MB, free: 5.629 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.006467, allocations: 12.03 kB / 351.6 MB, free: 5.617 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.246e-05/0.006509, allocations: 12.84 kB / 351.6 MB, free: 5.605 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001578/0.006667, allocations: 148.3 kB / 351.8 MB, free: 5.434 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.006685, allocations: 8.375 kB / 351.8 MB, free: 5.426 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.467e-06/0.006695, allocations: 4.312 kB / 351.8 MB, free: 5.422 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000127/0.006822, allocations: 58.94 kB / 351.9 MB, free: 5.355 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.197e-06/0.006831, allocations: 3.938 kB / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.983e-06/0.006838, allocations: 0 / 351.9 MB, free: 5.352 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.006845, allocations: 7.984 kB / 351.9 MB, free: 5.344 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.9e-05/0.006874, allocations: 7.984 kB / 351.9 MB, free: 5.336 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001178/0.006992, allocations: 109.3 kB / 352 MB, free: 5.203 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.387e-05/0.007086, allocations: 39.11 kB / 352 MB, free: 5.152 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.489e-05/0.007111, allocations: 27.61 kB / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.728e-05/0.007128, allocations: 0 / 352.1 MB, free: 5.121 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001067/0.007234, allocations: 69.05 kB / 352.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 1.684e-06/0.007236, allocations: 0 / 352.1 MB, free: 5.039 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001772/0.007413, allocations: 73.58 kB / 352.2 MB, free: 4.961 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.007436, allocations: 63.33 kB / 352.3 MB, free: 4.887 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.007538, allocations: 214.9 kB / 352.5 MB, free: 4.66 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.438e-06/0.007547, allocations: 25.7 kB / 352.5 MB, free: 4.629 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.3e-05/0.00758, allocations: 142.9 kB / 352.6 MB, free: 4.484 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.303e-05/0.007613, allocations: 31.81 kB / 352.7 MB, free: 4.453 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-05/0.007644, allocations: 19.38 kB / 352.7 MB, free: 4.426 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.184e-05/0.007696, allocations: 0.4962 MB / 353.2 MB, free: 3.918 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.258e-05/0.007718, allocations: 4 kB / 353.2 MB, free: 3.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.733e-05/0.007746, allocations: 31.34 kB / 353.2 MB, free: 3.875 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.699e-05/0.007793, allocations: 31.38 kB / 353.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.007795, allocations: 0 / 353.2 MB, free: 3.836 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.624e-05/0.007891, allocations: 65.58 kB / 353.3 MB, free: 3.766 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/0.007906, allocations: 8 kB / 353.3 MB, free: 3.758 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.007912, allocations: 4.031 kB / 353.3 MB, free: 3.754 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.007926, allocations: 7.875 kB / 353.3 MB, free: 3.746 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.29e-05/0.007999, allocations: 11.98 kB / 353.3 MB, free: 3.734 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.008005, allocations: 7.938 kB / 353.3 MB, free: 3.727 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.027e-05/0.008045, allocations: 7.953 kB / 353.3 MB, free: 3.719 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-06/0.008051, allocations: 4 kB / 353.4 MB, free: 3.715 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 (7): * Single equations (assignments): 7 * 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.987e-05/0.008111, allocations: 152.6 kB / 353.5 MB, free: 3.555 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.058e-05/0.008132, allocations: 11.95 kB / 353.5 MB, free: 3.543 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001381/0.00827, allocations: 78.14 kB / 353.6 MB, free: 3.461 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.527e-06/0.008273, allocations: 3.938 kB / 353.6 MB, free: 3.457 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.856e-06/0.008276, allocations: 7.984 kB / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.00828, allocations: 0 / 353.6 MB, free: 3.449 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.319e-05/0.008363, allocations: 117.2 kB / 353.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.008365, allocations: 384 / 353.7 MB, free: 3.309 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.259e-05/0.008398, allocations: 7.938 kB / 353.7 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.047e-06/0.008402, allocations: 4 kB / 353.7 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.00841, allocations: 4 kB / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.008412, allocations: 0 / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.008414, allocations: 0 / 353.7 MB, free: 3.293 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000113/0.008527, allocations: 116.3 kB / 353.8 MB, free: 3.156 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.008543, allocations: 7.953 kB / 353.9 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.821e-05/0.008561, allocations: 4 kB / 353.9 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.278e-05/0.008604, allocations: 7.984 kB / 353.9 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.788e-05/0.008631, allocations: 4 kB / 353.9 MB, free: 3.133 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.297e-05/0.008644, allocations: 7.938 kB / 353.9 MB, free: 3.125 MB / 282.7 MB Notification: Performance of sorting global known variables: time 5.219e-05/0.008697, allocations: 151.1 kB / 354 MB, free: 2.977 MB / 282.7 MB Notification: Performance of sort global known variables: time 1e-07/0.008697, allocations: 0 / 354 MB, free: 2.977 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0002122/0.008909, allocations: 23.92 kB / 354 MB, free: 2.953 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (6): * Single equations (assignments): 4 * 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.001049/0.009957, allocations: 394.4 kB / 354.4 MB, free: 2.656 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001025/0.01006, allocations: 31.67 kB / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.01006, allocations: 0 / 354.5 MB, free: 2.621 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.348e-05/0.0101, allocations: 27.56 kB / 354.5 MB, free: 2.59 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.01034, allocations: 33.16 kB / 354.5 MB, free: 2.559 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.01069, allocations: 173.5 kB / 354.7 MB, free: 2.363 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.868e-05/0.01072, allocations: 71.27 kB / 354.8 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.753e-05/0.01075, allocations: 12.48 kB / 354.8 MB, free: 2.262 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.992e-05/0.01082, allocations: 90.19 kB / 354.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of SimCode: time 9.42e-07/0.01082, allocations: 0 / 354.9 MB, free: 2.172 MB / 282.7 MB Notification: Performance of Templates: time 0.004357/0.01518, allocations: 1.766 MB / 356.6 MB, free: 432 kB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test85_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test85/Test85.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.2466789870522916]