Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.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.0009714/0.0009714, allocations: 95.2 kB / 20.43 MB, free: 4.141 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.001098/0.001098, allocations: 165 kB / 23.8 MB, free: 0.7734 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 0.8957/0.8957, allocations: 158.6 MB / 185.7 MB, free: 2.918 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.1514/0.1514, allocations: 32.37 MB / 270.4 MB, free: 14.71 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.332e-06/1.332e-06, allocations: 3.938 kB / 347.7 MB, free: 9.379 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.569e-05/1.702e-05, allocations: 2.312 kB / 347.7 MB, free: 9.375 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.001854/0.001871, allocations: 1.698 MB / 349.4 MB, free: 7.668 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008286/0.0027, allocations: 0.7804 MB / 350.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.826e-05/0.002778, allocations: 0 / 350.2 MB, free: 6.879 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003577/0.003136, allocations: 87.62 kB / 350.3 MB, free: 6.793 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002307/0.003367, allocations: 79.66 kB / 350.4 MB, free: 6.715 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.003558, allocations: 83.7 kB / 350.5 MB, free: 6.633 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001281/0.003687, allocations: 107.6 kB / 350.6 MB, free: 6.527 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.207e-05/0.003729, allocations: 4 kB / 350.6 MB, free: 6.523 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.657e-05/0.003805, allocations: 59.81 kB / 350.6 MB, free: 6.465 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.02e-05/0.003885, allocations: 51.88 kB / 350.7 MB, free: 6.414 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 1.717e-05/0.003903, allocations: 4 kB / 350.7 MB, free: 6.41 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.812e-05/0.003971, allocations: 31.92 kB / 350.7 MB, free: 6.379 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 4.692e-05/0.004018, allocations: 23.92 kB / 350.7 MB, free: 6.355 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 3.421e-05/0.004052, allocations: 15.92 kB / 350.8 MB, free: 6.34 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001405/0.004192, allocations: 87.67 kB / 350.8 MB, free: 6.254 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.004194, allocations: 4 kB / 350.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.01e-07/0.004195, allocations: 0 / 350.9 MB, free: 6.25 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.208e-06/0.004199, allocations: 0 / 350.9 MB, free: 6.25 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.0003488/0.004548, allocations: 447.9 kB / 351.3 MB, free: 5.777 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.004582, allocations: 8.031 kB / 351.3 MB, free: 5.77 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.244e-05/0.004625, allocations: 12.84 kB / 351.3 MB, free: 5.758 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.004761, allocations: 156.3 kB / 351.5 MB, free: 5.578 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.668e-05/0.004778, allocations: 4.375 kB / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.13e-05/0.004789, allocations: 384 / 351.5 MB, free: 5.574 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001089/0.004898, allocations: 58.94 kB / 351.5 MB, free: 5.508 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.004908, allocations: 7.938 kB / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.896e-06/0.004917, allocations: 0 / 351.5 MB, free: 5.5 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.975e-06/0.004925, allocations: 4 kB / 351.5 MB, free: 5.496 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.196e-05/0.004957, allocations: 7.984 kB / 351.5 MB, free: 5.488 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001252/0.005082, allocations: 140.7 kB / 351.7 MB, free: 5.316 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.385e-05/0.005176, allocations: 51.05 kB / 351.7 MB, free: 5.254 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.743e-05/0.005203, allocations: 15.69 kB / 351.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.477e-05/0.005218, allocations: 0 / 351.7 MB, free: 5.234 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.294e-05/0.005301, allocations: 65.05 kB / 351.8 MB, free: 5.156 MB / 282.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.005302, allocations: 4 kB / 351.8 MB, free: 5.152 MB / 282.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001759/0.005478, allocations: 89.5 kB / 351.9 MB, free: 5.059 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.199e-05/0.0055, allocations: 51.41 kB / 352 MB, free: 4.996 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001007/0.0056, allocations: 238.6 kB / 352.2 MB, free: 4.746 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 9.308e-06/0.00561, allocations: 33.7 kB / 352.2 MB, free: 4.707 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.232e-05/0.005652, allocations: 150.9 kB / 352.4 MB, free: 4.555 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.098e-05/0.005683, allocations: 11.91 kB / 352.4 MB, free: 4.543 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/0.005711, allocations: 23.38 kB / 352.4 MB, free: 4.512 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 5.643e-05/0.005767, allocations: 0.4962 MB / 352.9 MB, free: 4.004 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.006e-05/0.005787, allocations: 11.98 kB / 352.9 MB, free: 3.992 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.527e-05/0.005812, allocations: 35.36 kB / 352.9 MB, free: 3.949 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.154e-05/0.005854, allocations: 43.23 kB / 353 MB, free: 3.898 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.005856, allocations: 256 / 353 MB, free: 3.898 MB / 282.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 7.127e-05/0.005927, allocations: 77.59 kB / 353.1 MB, free: 3.816 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.005939, allocations: 4 kB / 353.1 MB, free: 3.812 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.005944, allocations: 3.938 kB / 353.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.332e-05/0.005957, allocations: 0 / 353.1 MB, free: 3.809 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/0.006018, allocations: 15.94 kB / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.551e-06/0.006024, allocations: 0 / 353.1 MB, free: 3.793 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.006053, allocations: 11.97 kB / 353.1 MB, free: 3.781 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.602e-06/0.00606, allocations: 7.984 kB / 353.1 MB, free: 3.773 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.137e-05/0.006111, allocations: 160.6 kB / 353.3 MB, free: 3.605 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.21e-05/0.006123, allocations: 15.91 kB / 353.3 MB, free: 3.59 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.006233, allocations: 86.77 kB / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.006235, allocations: 0 / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.006239, allocations: 0 / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.006243, allocations: 0 / 353.4 MB, free: 3.496 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.135e-05/0.006314, allocations: 148.5 kB / 353.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.006315, allocations: 0 / 353.5 MB, free: 3.316 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.481e-05/0.00633, allocations: 11.98 kB / 353.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.006331, allocations: 0 / 353.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.006337, allocations: 0 / 353.5 MB, free: 3.305 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.006338, allocations: 3.938 kB / 353.5 MB, free: 3.301 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.92e-07/0.006339, allocations: 4 kB / 353.5 MB, free: 3.297 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.204e-05/0.006411, allocations: 112.4 kB / 353.6 MB, free: 3.164 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.211e-05/0.006423, allocations: 11.91 kB / 353.6 MB, free: 3.152 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.554e-05/0.006439, allocations: 4 kB / 353.6 MB, free: 3.148 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.88e-05/0.006457, allocations: 3.938 kB / 353.7 MB, free: 3.145 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.092e-05/0.006488, allocations: 8.172 kB / 353.7 MB, free: 3.137 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.006e-05/0.006498, allocations: 8 kB / 353.7 MB, free: 3.129 MB / 282.7 MB Notification: Performance of sorting global known variables: time 6.073e-05/0.006559, allocations: 175.2 kB / 353.8 MB, free: 2.957 MB / 282.7 MB Notification: Performance of sort global known variables: time 6e-08/0.006559, allocations: 3.938 kB / 353.8 MB, free: 2.953 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001475/0.006707, allocations: 27.92 kB / 353.9 MB, free: 2.926 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.000726/0.007433, allocations: 384.5 kB / 354.2 MB, free: 2.637 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0001076/0.00754, allocations: 39.67 kB / 354.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.007542, allocations: 0 / 354.3 MB, free: 2.594 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.007572, allocations: 27.61 kB / 354.3 MB, free: 2.562 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001902/0.007762, allocations: 37.14 kB / 354.3 MB, free: 2.527 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.008068, allocations: 205.2 kB / 354.5 MB, free: 2.301 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.979e-05/0.008098, allocations: 63.34 kB / 354.6 MB, free: 2.219 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 3.405e-05/0.008132, allocations: 20.53 kB / 354.6 MB, free: 2.199 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.155e-05/0.008164, allocations: 12.5 kB / 354.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of SimCode: time 1.012e-06/0.008165, allocations: 0 / 354.6 MB, free: 2.184 MB / 282.7 MB Notification: Performance of Templates: time 0.003125/0.01129, allocations: 1.622 MB / 356.3 MB, free: 0.582 MB / 282.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.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.1301275049336255]