Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.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.001019/0.001019, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001095/0.001095, allocations: 169 kB / 24.82 MB, free: 9.266 MB / 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 0.9667/0.9667, allocations: 177.1 MB / 205.3 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2502/0.2502, allocations: 32.8 MB / 294.6 MB, free: 1.254 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") translateModel(ModelicaTest.Tables.CombiTimeTable.Test86,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.913e-06/1.913e-06, allocations: 0 / 376.5 MB, free: 4.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.119e-05/1.31e-05, allocations: 5.125 kB / 376.6 MB, free: 4.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test86): time 0.001893/0.001906, allocations: 1.727 MB / 378.3 MB, free: 2.602 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001145/0.003051, allocations: 0.9741 MB / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.132e-05/0.003112, allocations: 0 / 379.3 MB, free: 1.621 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002336/0.003346, allocations: 71.67 kB / 379.3 MB, free: 1.551 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002473/0.003593, allocations: 111.5 kB / 379.4 MB, free: 1.441 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001494/0.003743, allocations: 71.67 kB / 379.5 MB, free: 1.371 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001367/0.003879, allocations: 111.6 kB / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.379e-05/0.003913, allocations: 240 / 379.6 MB, free: 1.262 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.218e-05/0.004005, allocations: 63.81 kB / 379.7 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.436e-05/0.00409, allocations: 43.89 kB / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.307e-05/0.004103, allocations: 0 / 379.7 MB, free: 1.156 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.287e-05/0.004166, allocations: 39.86 kB / 379.8 MB, free: 1.117 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.457e-05/0.00421, allocations: 15.92 kB / 379.8 MB, free: 1.102 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.254e-05/0.004243, allocations: 23.92 kB / 379.8 MB, free: 1.078 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001413/0.004384, allocations: 87.73 kB / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.004386, allocations: 0 / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of FrontEnd: time 5.71e-07/0.004386, allocations: 0 / 379.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.459e-06/0.004391, allocations: 0 / 379.9 MB, free: 0.9922 MB / 346.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.0003674/0.004758, allocations: 443.8 kB / 380.3 MB, free: 0.5234 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.374e-05/0.004792, allocations: 8.031 kB / 380.3 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001895/0.004981, allocations: 16.84 kB / 380.3 MB, free: 0.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001202/0.005102, allocations: 149.1 kB / 380.5 MB, free: 336 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/0.005116, allocations: 8.312 kB / 380.5 MB, free: 328 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.114e-06/0.005123, allocations: 4.375 kB / 380.5 MB, free: 324 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.751e-05/0.005201, allocations: 54.94 kB / 380.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.781e-06/0.005206, allocations: 3.938 kB / 380.6 MB, free: 256 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.29e-06/0.005212, allocations: 4 kB / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.937e-06/0.005216, allocations: 0 / 380.6 MB, free: 252 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.953e-05/0.005235, allocations: 7.984 kB / 380.6 MB, free: 244 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.888e-05/0.005334, allocations: 113.3 kB / 380.7 MB, free: 104 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.164e-05/0.005406, allocations: 51.05 kB / 380.7 MB, free: 40 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.004e-05/0.005426, allocations: 19.67 kB / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.25e-05/0.005438, allocations: 0 / 380.7 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.601e-05/0.005524, allocations: 61.05 kB / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.005525, allocations: 0 / 380.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001371/0.005662, allocations: 89.45 kB / 380.9 MB, free: 15.85 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.433e-05/0.005687, allocations: 55.41 kB / 380.9 MB, free: 15.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/0.005791, allocations: 226.3 kB / 381.2 MB, free: 15.54 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.024e-05/0.005801, allocations: 25.7 kB / 381.2 MB, free: 15.51 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.654e-05/0.005848, allocations: 150.8 kB / 381.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.514e-05/0.005873, allocations: 19.84 kB / 381.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.779e-05/0.005901, allocations: 27.34 kB / 381.4 MB, free: 15.3 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001076/0.006008, allocations: 0.5001 MB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.194e-05/0.00602, allocations: 8 kB / 381.9 MB, free: 14.79 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.179e-05/0.006042, allocations: 31.28 kB / 381.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.535e-05/0.006077, allocations: 31.62 kB / 382 MB, free: 14.71 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.006079, allocations: 3.938 kB / 382 MB, free: 14.7 MB / 362.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.389e-05/0.006143, allocations: 69.64 kB / 382 MB, free: 14.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.686e-06/0.006152, allocations: 4 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.006156, allocations: 0 / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.677e-06/0.006164, allocations: 7.969 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.619e-05/0.00621, allocations: 19.92 kB / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.395e-06/0.006213, allocations: 0 / 382.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.835e-05/0.006241, allocations: 7.953 kB / 382.1 MB, free: 14.59 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.879e-06/0.006246, allocations: 4 kB / 382.1 MB, free: 14.59 MB / 362.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.894e-05/0.006305, allocations: 156.6 kB / 382.2 MB, free: 14.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.282e-05/0.006318, allocations: 7.953 kB / 382.2 MB, free: 14.41 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.02e-05/0.006408, allocations: 78.83 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.00641, allocations: 3.938 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.404e-06/0.006413, allocations: 7.984 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.006416, allocations: 7.984 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.806e-05/0.006494, allocations: 117.2 kB / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.81e-07/0.006495, allocations: 0 / 382.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.006512, allocations: 7.938 kB / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.006513, allocations: 0 / 382.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.43e-06/0.006518, allocations: 4 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.693e-06/0.00652, allocations: 3.984 kB / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.006521, allocations: 0 / 382.5 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.206e-05/0.006603, allocations: 112.3 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.086e-05/0.006613, allocations: 7.953 kB / 382.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.482e-05/0.006628, allocations: 3.984 kB / 382.6 MB, free: 14.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.941e-05/0.006648, allocations: 12.19 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.844e-05/0.006666, allocations: 4 kB / 382.6 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.608e-06/0.006676, allocations: 7.938 kB / 382.6 MB, free: 13.99 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.075e-05/0.006737, allocations: 164.1 kB / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.006737, allocations: 0 / 382.8 MB, free: 13.83 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001365/0.006873, allocations: 19.94 kB / 382.8 MB, free: 13.81 MB / 362.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.0007663/0.007639, allocations: 388 kB / 383.2 MB, free: 13.57 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 7.067e-05/0.00771, allocations: 31.67 kB / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.112e-06/0.007711, allocations: 0 / 383.2 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.906e-05/0.00774, allocations: 27.61 kB / 383.2 MB, free: 13.5 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001565/0.007897, allocations: 31.91 kB / 383.2 MB, free: 13.47 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002457/0.008142, allocations: 198.2 kB / 383.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.492e-05/0.008177, allocations: 71.27 kB / 383.5 MB, free: 13.16 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.724e-05/0.008205, allocations: 8.5 kB / 383.5 MB, free: 13.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.24e-05/0.008267, allocations: 86.19 kB / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of SimCode: time 5.11e-07/0.008267, allocations: 0 / 383.6 MB, free: 13.07 MB / 362.7 MB Notification: Performance of Templates: time 0.003162/0.01143, allocations: 1.787 MB / 385.4 MB, free: 11.31 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test86_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test86/Test86.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: 2.857444280292839]