Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.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.001246/0.001246, allocations: 75.59 kB / 21.18 MB, free: 3.391 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.001929/0.001929, allocations: 161 kB / 24.56 MB, free: 20 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.009/1.009, allocations: 177.2 MB / 205 MB, free: 5.293 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.284/0.284, allocations: 34.26 MB / 295.7 MB, free: 0.7188 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.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") translateModel(ModelicaTest.Tables.CombiTimeTable.Test81,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5005,variableFilter="time|t_new.y.[0-9,]+.|t_new_2.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 378.1 MB, free: 2.59 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.621e-05/2.78e-05, allocations: 6.312 kB / 378.1 MB, free: 2.582 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test81): time 0.002436/0.002464, allocations: 1.844 MB / 380 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001778/0.004242, allocations: 1.804 MB / 381.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.618e-05/0.004328, allocations: 7.938 kB / 381.8 MB, free: 14.9 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000286/0.004614, allocations: 51.64 kB / 381.8 MB, free: 14.85 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003833/0.004998, allocations: 147.2 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002114/0.005209, allocations: 107.6 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002153/0.005424, allocations: 207.2 kB / 382.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.5e-05/0.005469, allocations: 17.8 kB / 382.3 MB, free: 14.38 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001206/0.00559, allocations: 99.67 kB / 382.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001322/0.005722, allocations: 67.8 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.005743, allocations: 8 kB / 382.5 MB, free: 14.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001588/0.005902, allocations: 107.8 kB / 382.6 MB, free: 14.1 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.051e-05/0.005962, allocations: 43.83 kB / 382.6 MB, free: 14.06 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.002e-05/0.006012, allocations: 39.86 kB / 382.7 MB, free: 14.02 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002779/0.00629, allocations: 207.2 kB / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.074e-06/0.006292, allocations: 0 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.006293, allocations: 0 / 382.9 MB, free: 13.82 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.569e-06/0.006298, allocations: 0 / 382.9 MB, free: 13.82 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005112/0.006809, allocations: 0.5148 MB / 383.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.31e-05/0.006842, allocations: 8.031 kB / 383.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.856e-05/0.006901, allocations: 28.78 kB / 383.4 MB, free: 13.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000209/0.00711, allocations: 184.3 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.007128, allocations: 4.375 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.466e-05/0.007143, allocations: 4.375 kB / 383.6 MB, free: 13.02 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.007321, allocations: 173 kB / 383.8 MB, free: 12.81 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.007331, allocations: 3.938 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.007342, allocations: 4 kB / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.007349, allocations: 0 / 383.8 MB, free: 12.8 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.265e-05/0.007392, allocations: 19.98 kB / 383.8 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001633/0.007555, allocations: 168.3 kB / 384 MB, free: 12.58 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.007688, allocations: 102.2 kB / 384.1 MB, free: 12.45 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.23e-05/0.007731, allocations: 31.36 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.458e-05/0.007745, allocations: 4 kB / 384.1 MB, free: 12.41 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001224/0.007868, allocations: 108.3 kB / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 8.31e-07/0.007868, allocations: 0 / 384.2 MB, free: 12.28 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002577/0.008126, allocations: 145.8 kB / 384.3 MB, free: 12.13 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.272e-05/0.008179, allocations: 132.5 kB / 384.5 MB, free: 11.97 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.008379, allocations: 282.8 kB / 384.7 MB, free: 11.68 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.686e-05/0.008396, allocations: 37.7 kB / 384.8 MB, free: 11.63 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.983e-05/0.008456, allocations: 162.9 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.691e-05/0.008493, allocations: 27.78 kB / 385 MB, free: 11.44 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.00853, allocations: 31.38 kB / 385 MB, free: 11.4 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.008652, allocations: 0.504 MB / 385.5 MB, free: 10.89 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.19e-05/0.008684, allocations: 15.98 kB / 385.5 MB, free: 10.87 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.122e-05/0.008755, allocations: 133.4 kB / 385.6 MB, free: 10.7 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.576e-05/0.008831, allocations: 66.75 kB / 385.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.146e-06/0.008834, allocations: 4.031 kB / 385.7 MB, free: 10.62 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001339/0.008968, allocations: 125.4 kB / 385.8 MB, free: 10.49 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.00898, allocations: 4 kB / 385.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.008986, allocations: 7.938 kB / 385.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.009, allocations: 0 / 385.8 MB, free: 10.48 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.213e-05/0.009082, allocations: 19.98 kB / 385.9 MB, free: 10.46 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.00909, allocations: 11.92 kB / 385.9 MB, free: 10.45 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.683e-05/0.009137, allocations: 11.98 kB / 385.9 MB, free: 10.43 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.555e-06/0.009145, allocations: 4 kB / 385.9 MB, free: 10.43 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_2.nextTimeEvent,$whenCondition2,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$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 (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 8.76e-05/0.009232, allocations: 172.6 kB / 386.1 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.00926, allocations: 23.86 kB / 386.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001726/0.009432, allocations: 146.8 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.043e-06/0.009434, allocations: 0 / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.118e-05/0.009455, allocations: 4 kB / 386.2 MB, free: 10.08 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.00946, allocations: 3.984 kB / 386.2 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001093/0.00957, allocations: 164.5 kB / 386.4 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.393e-06/0.009571, allocations: 0 / 386.4 MB, free: 9.879 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.779e-05/0.009599, allocations: 15.98 kB / 386.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.0096, allocations: 0 / 386.4 MB, free: 9.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.506e-06/0.009609, allocations: 8 kB / 386.4 MB, free: 9.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.009613, allocations: 7.938 kB / 386.4 MB, free: 9.848 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.009614, allocations: 3.938 kB / 386.4 MB, free: 9.844 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.009767, allocations: 175.9 kB / 386.6 MB, free: 9.645 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.636e-05/0.009824, allocations: 23.91 kB / 386.6 MB, free: 9.621 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.009844, allocations: 3.984 kB / 386.6 MB, free: 9.617 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.474e-05/0.009879, allocations: 7.938 kB / 386.6 MB, free: 9.609 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.636e-05/0.009916, allocations: 11.98 kB / 386.7 MB, free: 9.598 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.309e-05/0.009929, allocations: 4 kB / 386.7 MB, free: 9.594 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001181/0.01005, allocations: 209.7 kB / 386.9 MB, free: 9.391 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.01005, allocations: 4 kB / 386.9 MB, free: 9.387 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001967/0.01024, allocations: 51.88 kB / 386.9 MB, free: 9.336 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: 6 ($whenCondition2,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition1,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 (12): * Single equations (assignments): 8 * 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.000978/0.01122, allocations: 0.492 MB / 387.4 MB, free: 9.023 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001449/0.01137, allocations: 79.47 kB / 387.5 MB, free: 8.941 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01137, allocations: 0 / 387.5 MB, free: 8.941 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.921e-05/0.01142, allocations: 43.59 kB / 387.5 MB, free: 8.895 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002255/0.01164, allocations: 64.39 kB / 387.6 MB, free: 8.836 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.0121, allocations: 290.2 kB / 387.9 MB, free: 8.516 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.95e-05/0.01214, allocations: 75.98 kB / 387.9 MB, free: 8.422 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.019e-05/0.0122, allocations: 34.09 kB / 388 MB, free: 8.391 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.751e-05/0.01225, allocations: 24.48 kB / 388 MB, free: 8.367 MB / 362.7 MB Notification: Performance of SimCode: time 5.81e-07/0.01225, allocations: 4 kB / 388 MB, free: 8.363 MB / 362.7 MB Notification: Performance of Templates: time 0.004907/0.01716, allocations: 3.425 MB / 391.4 MB, free: 4.984 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test81_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test81/Test81.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.514803798869252]