Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.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.0009857/0.0009857, allocations: 75.77 kB / 21.18 MB, free: 3.379 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.0009848/0.0009848, allocations: 165 kB / 24.56 MB, free: 8 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 0.9984/0.9984, allocations: 177.1 MB / 205 MB, free: 5.637 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.2662/0.2662, allocations: 32.81 MB / 294.3 MB, free: 1.266 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.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 4 kB / 376 MB, free: 4.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.906e-05, allocations: 2.312 kB / 376 MB, free: 4.641 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test15): time 0.007978/0.008007, allocations: 1.665 MB / 377.7 MB, free: 2.961 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003941/0.01195, allocations: 0.5415 MB / 378.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.565e-05/0.01202, allocations: 0 / 378.2 MB, free: 2.414 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002968/0.01232, allocations: 75.7 kB / 378.3 MB, free: 2.34 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.01267, allocations: 107.5 kB / 378.4 MB, free: 2.234 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003406/0.01301, allocations: 111.7 kB / 378.5 MB, free: 2.125 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001851/0.0132, allocations: 95.67 kB / 378.6 MB, free: 2.031 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.958e-05/0.0133, allocations: 8 kB / 378.6 MB, free: 2.023 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.579e-05/0.01337, allocations: 47.88 kB / 378.7 MB, free: 1.977 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000117/0.01349, allocations: 51.88 kB / 378.7 MB, free: 1.926 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.75e-05/0.01351, allocations: 4 kB / 378.7 MB, free: 1.922 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.01361, allocations: 47.92 kB / 378.8 MB, free: 1.875 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 5.313e-05/0.01367, allocations: 23.92 kB / 378.8 MB, free: 1.852 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 3.289e-05/0.0137, allocations: 15.92 kB / 378.8 MB, free: 1.836 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001921/0.01389, allocations: 99.53 kB / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.636e-06/0.0139, allocations: 0 / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.0139, allocations: 0 / 378.9 MB, free: 1.738 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.93e-06/0.0139, allocations: 0 / 378.9 MB, free: 1.738 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004503/0.01435, allocations: 435.9 kB / 379.3 MB, free: 1.277 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.202e-05/0.01439, allocations: 12.02 kB / 379.4 MB, free: 1.266 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003064/0.01746, allocations: 20.84 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001659/0.01762, allocations: 145.1 kB / 379.5 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.01764, allocations: 4.375 kB / 379.5 MB, free: 1.07 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.764e-05/0.01766, allocations: 4.312 kB / 379.5 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.0178, allocations: 66.92 kB / 379.6 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.01781, allocations: 4.172 kB / 379.6 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.01783, allocations: 4.125 kB / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.01783, allocations: 0 / 379.6 MB, free: 0.9844 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.826e-05/0.01787, allocations: 11.98 kB / 379.6 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003582/0.01823, allocations: 295.7 kB / 379.9 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.495e-05/0.0183, allocations: 46.94 kB / 380 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.984e-05/0.01833, allocations: 23.7 kB / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.71e-05/0.01836, allocations: 0 / 380 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.628e-05/0.01839, allocations: 37.39 kB / 380 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.01839, allocations: 0 / 380 MB, free: 0.5156 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0006371/0.01903, allocations: 169.3 kB / 380.2 MB, free: 352 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.144e-05/0.01906, allocations: 55.34 kB / 380.2 MB, free: 284 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.01922, allocations: 238.4 kB / 380.5 MB, free: 28 kB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.755e-05/0.01925, allocations: 25.7 kB / 380.5 MB, free: 16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.771e-05/0.01931, allocations: 158.9 kB / 380.6 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.381e-05/0.01935, allocations: 31.81 kB / 380.7 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.289e-05/0.01939, allocations: 23.38 kB / 380.7 MB, free: 15.77 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001218/0.01951, allocations: 0.5039 MB / 381.2 MB, free: 15.26 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.733e-05/0.01954, allocations: 8 kB / 381.2 MB, free: 15.25 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.192e-05/0.01956, allocations: 8 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.266e-05/0.01962, allocations: 39.89 kB / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.01963, allocations: 0 / 381.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001236/0.01975, allocations: 81.53 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.01976, allocations: 4 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.869e-06/0.01977, allocations: 0 / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.01979, allocations: 4 kB / 381.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.822e-05/0.01988, allocations: 15.98 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.01989, allocations: 4 kB / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.382e-05/0.01991, allocations: 0 / 381.4 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.685e-06/0.01992, allocations: 4 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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.241e-05/0.02, allocations: 160.5 kB / 381.5 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.376e-05/0.02004, allocations: 15.91 kB / 381.5 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001723/0.02021, allocations: 95.05 kB / 381.6 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.24e-06/0.02021, allocations: 8 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.02022, allocations: 0 / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.02022, allocations: 4 kB / 381.6 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004068/0.02063, allocations: 376.9 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.02063, allocations: 0 / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.899e-05/0.02069, allocations: 12 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.0207, allocations: 4 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.638e-06/0.02071, allocations: 4 kB / 382 MB, free: 14.36 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.378e-06/0.02071, allocations: 3.984 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.02071, allocations: 4 kB / 382 MB, free: 14.35 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001899/0.0209, allocations: 243.8 kB / 382.3 MB, free: 14.09 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.26e-05/0.02092, allocations: 11.98 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.02093, allocations: 0 / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.59e-05/0.02099, allocations: 8 kB / 382.3 MB, free: 14.07 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.692e-05/0.02102, allocations: 11.91 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.811e-06/0.02103, allocations: 4 kB / 382.3 MB, free: 14.05 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.005e-05/0.02112, allocations: 171.1 kB / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02112, allocations: 0 / 382.5 MB, free: 13.88 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002678/0.02139, allocations: 23.94 kB / 382.5 MB, free: 13.86 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.001099/0.02249, allocations: 437.9 kB / 382.9 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.02262, allocations: 47.61 kB / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.02262, allocations: 0 / 383 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 4.361e-05/0.02267, allocations: 27.61 kB / 383 MB, free: 13.51 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.02297, allocations: 27.94 kB / 383 MB, free: 13.48 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008445/0.02381, allocations: 233.8 kB / 383.3 MB, free: 13.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.152e-05/0.02387, allocations: 67.33 kB / 383.3 MB, free: 13.13 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.127e-05/0.02393, allocations: 29.08 kB / 383.4 MB, free: 13.11 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.789e-05/0.02396, allocations: 16.48 kB / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.02397, allocations: 0 / 383.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Templates: time 0.003761/0.02773, allocations: 1.398 MB / 384.8 MB, free: 11.7 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test15/Test15.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.323378001805395]