Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001124/0.001124, allocations: 71.77 kB / 21.69 MB, free: 2.859 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.001668/0.001668, allocations: 168.5 kB / 24.99 MB, free: 8.344 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.026/1.026, allocations: 177.1 MB / 205.3 MB, free: 5.641 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.2661/0.2661, allocations: 32.8 MB / 294.6 MB, free: 1.301 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.513e-06/1.513e-06, allocations: 0 / 376.1 MB, free: 4.91 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.836e-05/2.988e-05, allocations: 2.312 kB / 376.1 MB, free: 4.906 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.002815/0.002845, allocations: 1.941 MB / 378 MB, free: 2.949 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001473/0.004318, allocations: 1.099 MB / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.004445, allocations: 0 / 379.1 MB, free: 1.844 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004752/0.00492, allocations: 163.3 kB / 379.3 MB, free: 1.684 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000479/0.005399, allocations: 183.2 kB / 379.5 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002861/0.005685, allocations: 131.5 kB / 379.6 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002612/0.005947, allocations: 251.2 kB / 379.8 MB, free: 1.129 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.006065, allocations: 21.95 kB / 379.9 MB, free: 1.109 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001487/0.006213, allocations: 139.6 kB / 380 MB, free: 0.9727 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001376/0.006351, allocations: 123.7 kB / 380.1 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.006372, allocations: 8 kB / 380.1 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000109/0.006481, allocations: 63.91 kB / 380.2 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.441e-05/0.006555, allocations: 59.77 kB / 380.3 MB, free: 0.7227 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 5.391e-05/0.006609, allocations: 43.78 kB / 380.3 MB, free: 0.6797 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002534/0.006862, allocations: 187.3 kB / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.006866, allocations: 0 / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.006868, allocations: 0 / 380.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.006874, allocations: 0 / 380.5 MB, free: 0.4961 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0006257/0.0075, allocations: 0.5653 MB / 381 MB, free: 15.89 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.986e-05/0.00754, allocations: 12.03 kB / 381.1 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.311e-05/0.007603, allocations: 28.8 kB / 381.1 MB, free: 15.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002387/0.007842, allocations: 220.5 kB / 381.3 MB, free: 15.61 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.357e-05/0.007865, allocations: 8.375 kB / 381.3 MB, free: 15.6 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.273e-05/0.007888, allocations: 8.312 kB / 381.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001935/0.008082, allocations: 125.9 kB / 381.4 MB, free: 15.46 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.008095, allocations: 7.938 kB / 381.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.008107, allocations: 4 kB / 381.5 MB, free: 15.45 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.948e-06/0.008117, allocations: 7.922 kB / 381.5 MB, free: 15.44 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.119e-05/0.008178, allocations: 23.98 kB / 381.5 MB, free: 15.41 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00044/0.008618, allocations: 0.4946 MB / 382 MB, free: 14.88 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002542/0.008873, allocations: 114.2 kB / 382.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.053e-05/0.008923, allocations: 43.48 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.446e-05/0.008938, allocations: 3.938 kB / 382.1 MB, free: 14.69 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00016/0.009098, allocations: 116.4 kB / 382.2 MB, free: 14.55 MB / 362.7 MB Notification: Performance of pre-optimization done (n=14): time 2.184e-06/0.0091, allocations: 3.984 kB / 382.3 MB, free: 14.55 MB / 362.7 MB Notification: Performance of matching and sorting (n=22): time 0.001084/0.01018, allocations: 469.2 kB / 382.7 MB, free: 14.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.202e-05/0.01023, allocations: 85.05 kB / 382.8 MB, free: 13.98 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.01045, allocations: 350.3 kB / 383.1 MB, free: 13.62 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.01047, allocations: 41.69 kB / 383.2 MB, free: 13.58 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.573e-05/0.01055, allocations: 199.3 kB / 383.4 MB, free: 13.38 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.285e-05/0.01061, allocations: 71.42 kB / 383.4 MB, free: 13.3 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.798e-05/0.01065, allocations: 51.36 kB / 383.5 MB, free: 13.25 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.01077, allocations: 0.5157 MB / 384 MB, free: 12.72 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.398e-05/0.01083, allocations: 35.97 kB / 384 MB, free: 12.68 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.835e-05/0.0109, allocations: 74.72 kB / 384.1 MB, free: 12.59 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.01103, allocations: 122.7 kB / 384.2 MB, free: 12.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.01103, allocations: 4 kB / 384.2 MB, free: 12.45 MB / 362.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002132/0.01124, allocations: 201.6 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.545e-05/0.01126, allocations: 4 kB / 384.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.01126, allocations: 4 kB / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.01128, allocations: 0 / 384.4 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.787e-05/0.01138, allocations: 47.91 kB / 384.5 MB, free: 12.2 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.126e-06/0.01139, allocations: 3.938 kB / 384.5 MB, free: 12.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.339e-05/0.01143, allocations: 11.94 kB / 384.5 MB, free: 12.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/0.01144, allocations: 8 kB / 384.5 MB, free: 12.17 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.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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 9.728e-05/0.01154, allocations: 176.6 kB / 384.7 MB, free: 11.99 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.554e-05/0.01157, allocations: 43.77 kB / 384.7 MB, free: 11.95 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002768/0.01185, allocations: 224 kB / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.086e-06/0.01185, allocations: 0 / 384.9 MB, free: 11.72 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.01186, allocations: 7.938 kB / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.49e-06/0.01186, allocations: 0 / 385 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006116/0.01248, allocations: 0.7449 MB / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.434e-06/0.01248, allocations: 128 / 385.7 MB, free: 10.91 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.037e-05/0.01254, allocations: 39.92 kB / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.01254, allocations: 0 / 385.7 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/0.01256, allocations: 12 kB / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/0.01256, allocations: 0 / 385.7 MB, free: 10.86 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.01256, allocations: 7.984 kB / 385.8 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003139/0.01288, allocations: 0.5082 MB / 386.3 MB, free: 10.3 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.182e-05/0.0129, allocations: 23.81 kB / 386.3 MB, free: 10.28 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.504e-05/0.01293, allocations: 12 kB / 386.3 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.656e-05/0.01301, allocations: 11.98 kB / 386.3 MB, free: 10.26 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.01306, allocations: 23.97 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.01308, allocations: 8 kB / 386.3 MB, free: 10.23 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001384/0.01322, allocations: 250.9 kB / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01322, allocations: 0 / 386.6 MB, free: 9.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002324/0.01345, allocations: 55.92 kB / 386.6 MB, free: 9.926 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,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 (24): * Single equations (assignments): 20 * 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.001066/0.01452, allocations: 495.2 kB / 387.1 MB, free: 9.629 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002169/0.01474, allocations: 132 kB / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01474, allocations: 0 / 387.3 MB, free: 9.496 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.764e-05/0.01483, allocations: 75.53 kB / 387.3 MB, free: 9.418 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.01518, allocations: 68.56 kB / 387.4 MB, free: 9.352 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006032/0.01578, allocations: 469.9 kB / 387.9 MB, free: 8.844 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.322e-05/0.01584, allocations: 88.31 kB / 387.9 MB, free: 8.738 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.453e-05/0.01592, allocations: 41.91 kB / 388 MB, free: 8.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.44e-05/0.01597, allocations: 32.48 kB / 388 MB, free: 8.668 MB / 362.7 MB Notification: Performance of SimCode: time 1.393e-06/0.01598, allocations: 8 kB / 388 MB, free: 8.66 MB / 362.7 MB Notification: Performance of Templates: time 0.005419/0.02139, allocations: 3.321 MB / 391.3 MB, free: 5.387 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.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.4272179638501257]