Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.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.001371/0.001371, allocations: 81.97 kB / 21.42 MB, free: 3.07 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.001123/0.001123, allocations: 167.6 kB / 24.81 MB, free: 8.883 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 1/1, allocations: 177.1 MB / 205.3 MB, free: 5.473 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.2788/0.2788, allocations: 34.26 MB / 296.1 MB, free: 0.7227 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.Test80,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.Test80") translateModel(ModelicaTest.Tables.CombiTimeTable.Test80,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.Test80") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.853e-06/1.853e-06, allocations: 0 / 378.6 MB, free: 2.324 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.437e-05/1.622e-05, allocations: 2.312 kB / 378.6 MB, free: 2.32 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test80): time 0.002781/0.002798, allocations: 1.839 MB / 380.4 MB, free: 480 kB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002665/0.005463, allocations: 1.797 MB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001091/0.005572, allocations: 4 kB / 382.2 MB, free: 14.66 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000322/0.005894, allocations: 51.62 kB / 382.3 MB, free: 14.61 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004358/0.00633, allocations: 147.2 kB / 382.4 MB, free: 14.46 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002282/0.006558, allocations: 107.6 kB / 382.5 MB, free: 14.36 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002547/0.006813, allocations: 211.2 kB / 382.7 MB, free: 14.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.006864, allocations: 9.797 kB / 382.7 MB, free: 14.14 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.007037, allocations: 111.7 kB / 382.8 MB, free: 14.03 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001619/0.007199, allocations: 59.81 kB / 382.9 MB, free: 13.97 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.007228, allocations: 11.94 kB / 382.9 MB, free: 13.96 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001981/0.007426, allocations: 107.9 kB / 383 MB, free: 13.86 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 6.376e-05/0.00749, allocations: 39.83 kB / 383.1 MB, free: 13.82 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 5.31e-05/0.007543, allocations: 43.84 kB / 383.1 MB, free: 13.77 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002943/0.007837, allocations: 199.2 kB / 383.3 MB, free: 13.58 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.007841, allocations: 4 kB / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.61e-07/0.007841, allocations: 0 / 383.3 MB, free: 13.57 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.358e-06/0.007845, allocations: 0 / 383.3 MB, free: 13.57 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.0005667/0.008412, allocations: 0.5148 MB / 383.8 MB, free: 13.02 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.008453, allocations: 16.02 kB / 383.8 MB, free: 13.01 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.34e-05/0.008506, allocations: 20.8 kB / 383.8 MB, free: 12.99 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002188/0.008725, allocations: 188.3 kB / 384 MB, free: 12.78 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.008743, allocations: 4.375 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.008756, allocations: 4.375 kB / 384 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001866/0.008942, allocations: 165 kB / 384.2 MB, free: 12.57 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.191e-05/0.008954, allocations: 7.938 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.008965, allocations: 4 kB / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.142e-06/0.008972, allocations: 0 / 384.2 MB, free: 12.56 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.29e-05/0.009014, allocations: 11.98 kB / 384.2 MB, free: 12.55 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001567/0.009171, allocations: 144.8 kB / 384.4 MB, free: 12.38 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001367/0.009308, allocations: 90.22 kB / 384.5 MB, free: 12.26 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.083e-05/0.009349, allocations: 31.36 kB / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.571e-05/0.009364, allocations: 0 / 384.5 MB, free: 12.22 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000141/0.009505, allocations: 108.3 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of pre-optimization done (n=10): time 3.116e-06/0.009509, allocations: 3.984 kB / 384.6 MB, free: 12.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002729/0.009781, allocations: 145.4 kB / 384.7 MB, free: 11.94 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.996e-05/0.009831, allocations: 132.5 kB / 384.9 MB, free: 11.78 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000214/0.01005, allocations: 278.6 kB / 385.1 MB, free: 11.49 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.01006, allocations: 25.7 kB / 385.2 MB, free: 11.46 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.426e-05/0.01014, allocations: 170.8 kB / 385.3 MB, free: 11.29 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.237e-05/0.01018, allocations: 27.77 kB / 385.4 MB, free: 11.26 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.728e-05/0.01022, allocations: 39.31 kB / 385.4 MB, free: 11.21 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001401/0.01037, allocations: 0.504 MB / 385.9 MB, free: 10.7 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.907e-05/0.01039, allocations: 15.92 kB / 385.9 MB, free: 10.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.598e-05/0.01047, allocations: 117.5 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.563e-05/0.01056, allocations: 78.69 kB / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.01056, allocations: 0 / 386.1 MB, free: 10.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001551/0.01071, allocations: 109.5 kB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/0.01073, allocations: 4 kB / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.01073, allocations: 0 / 386.2 MB, free: 10.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.443e-05/0.01074, allocations: 8.562 kB / 386.2 MB, free: 10.31 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.998e-05/0.01083, allocations: 23.92 kB / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.01084, allocations: 0 / 386.2 MB, free: 10.29 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.273e-05/0.0109, allocations: 15.98 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.875e-06/0.01091, allocations: 8.047 kB / 386.3 MB, free: 10.26 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.854e-05/0.011, allocations: 168.6 kB / 386.4 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.823e-05/0.01104, allocations: 23.86 kB / 386.5 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001999/0.01124, allocations: 134.7 kB / 386.6 MB, free: 9.93 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.01124, allocations: 3.938 kB / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.593e-06/0.01124, allocations: 0 / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.01124, allocations: 0 / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000132/0.01138, allocations: 145.1 kB / 386.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.01138, allocations: 0 / 386.7 MB, free: 9.758 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.541e-05/0.01141, allocations: 11.94 kB / 386.7 MB, free: 9.746 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.01142, allocations: 8 kB / 386.8 MB, free: 9.738 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.507e-06/0.01143, allocations: 3.984 kB / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.01143, allocations: 0 / 386.8 MB, free: 9.734 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.01143, allocations: 4 kB / 386.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.01162, allocations: 179.8 kB / 386.9 MB, free: 9.527 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.758e-05/0.01165, allocations: 19.89 kB / 387 MB, free: 9.508 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.582e-05/0.01168, allocations: 4 kB / 387 MB, free: 9.504 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.098e-05/0.01173, allocations: 7.984 kB / 387 MB, free: 9.496 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.01177, allocations: 11.92 kB / 387 MB, free: 9.484 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.01178, allocations: 8 kB / 387 MB, free: 9.477 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001175/0.0119, allocations: 189.7 kB / 387.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.0119, allocations: 0 / 387.2 MB, free: 9.293 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002746/0.01218, allocations: 63.8 kB / 387.2 MB, free: 9.23 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.001263/0.01344, allocations: 0.4943 MB / 387.7 MB, free: 8.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001363/0.01358, allocations: 71.2 kB / 387.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.01358, allocations: 0 / 387.8 MB, free: 8.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.578e-05/0.01363, allocations: 39.61 kB / 387.8 MB, free: 8.797 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/0.01394, allocations: 66.02 kB / 387.9 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004575/0.01439, allocations: 282.2 kB / 388.2 MB, free: 8.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.108e-05/0.01445, allocations: 71.98 kB / 388.2 MB, free: 8.336 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.971e-05/0.01452, allocations: 38.08 kB / 388.3 MB, free: 8.301 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001644/0.01469, allocations: 122.2 kB / 388.4 MB, free: 8.18 MB / 362.7 MB Notification: Performance of SimCode: time 6.81e-07/0.01469, allocations: 0 / 388.4 MB, free: 8.18 MB / 362.7 MB Notification: Performance of Templates: time 0.006947/0.02164, allocations: 3.763 MB / 392.2 MB, free: 4.477 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test80_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test80/Test80.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.262918331194669]