Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.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.001083/0.001083, 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.0009846/0.0009846, allocations: 161.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.055/1.055, allocations: 177.1 MB / 205.3 MB, free: 5.633 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.2773/0.2773, allocations: 34.26 MB / 296 MB, free: 0.7812 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.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") translateModel(ModelicaTest.Tables.CombiTimeTable.Test88,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5006,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y|t_new_2.y.[0-9,]+.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.[0-9,]+.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.[0-9,]+.|d_t_new_4.y|d2_t_new_4.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.924e-06/1.924e-06, allocations: 0 / 378.1 MB, free: 2.887 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.167e-05/3.359e-05, allocations: 13.77 kB / 378.1 MB, free: 2.875 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test88): time 0.002849/0.002883, allocations: 2.253 MB / 380.4 MB, free: 0.6055 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001944/0.004826, allocations: 1.294 MB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001997/0.005026, allocations: 3.938 kB / 381.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004544/0.005481, allocations: 131.2 kB / 381.8 MB, free: 15.17 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004779/0.005958, allocations: 250.7 kB / 382 MB, free: 14.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003876/0.006346, allocations: 199.4 kB / 382.2 MB, free: 14.73 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004088/0.006755, allocations: 466.5 kB / 382.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001373/0.006892, allocations: 37.27 kB / 382.7 MB, free: 14.23 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003355/0.007228, allocations: 355.1 kB / 383.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/0.00737, allocations: 135.5 kB / 383.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.198e-05/0.007402, allocations: 20 kB / 383.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001336/0.007536, allocations: 75.91 kB / 383.3 MB, free: 13.66 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001183/0.007654, allocations: 139.5 kB / 383.4 MB, free: 13.52 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.065e-05/0.007745, allocations: 99.56 kB / 383.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003678/0.008112, allocations: 342.5 kB / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.288e-06/0.008122, allocations: 0 / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.252e-06/0.008123, allocations: 0 / 383.9 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.00813, allocations: 3.938 kB / 383.9 MB, free: 13.09 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0007771/0.008907, allocations: 0.8682 MB / 384.7 MB, free: 12.18 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.775e-05/0.008945, allocations: 12.03 kB / 384.8 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.673e-05/0.009042, allocations: 72.52 kB / 384.8 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003285/0.00937, allocations: 357.2 kB / 385.2 MB, free: 11.72 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.719e-05/0.009398, allocations: 20.36 kB / 385.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.971e-05/0.009427, allocations: 12.38 kB / 385.2 MB, free: 11.69 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002606/0.009688, allocations: 189.5 kB / 385.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.696e-05/0.009705, allocations: 15.88 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.523e-05/0.00972, allocations: 4 kB / 385.4 MB, free: 11.46 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.211e-05/0.009732, allocations: 7.984 kB / 385.4 MB, free: 11.45 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001014/0.009834, allocations: 63.86 kB / 385.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006758/0.01051, allocations: 0.9297 MB / 386.4 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003858/0.0109, allocations: 240.4 kB / 386.6 MB, free: 10.12 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.785e-05/0.01098, allocations: 74.84 kB / 386.7 MB, free: 10.03 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.805e-05/0.011, allocations: 8 kB / 386.7 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00023/0.01123, allocations: 193.2 kB / 386.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.403e-06/0.01123, allocations: 0 / 386.9 MB, free: 9.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001349/0.01258, allocations: 1.054 MB / 388 MB, free: 8.742 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.031e-05/0.01264, allocations: 136.5 kB / 388.1 MB, free: 8.578 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005088/0.01315, allocations: 0.6559 MB / 388.8 MB, free: 7.902 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.812e-05/0.01318, allocations: 37.7 kB / 388.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001704/0.01335, allocations: 315.7 kB / 389.1 MB, free: 7.547 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.156e-05/0.01344, allocations: 146.8 kB / 389.3 MB, free: 7.402 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.994e-05/0.01352, allocations: 83.81 kB / 389.3 MB, free: 7.312 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001708/0.01369, allocations: 0.5625 MB / 389.9 MB, free: 6.738 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.0138, allocations: 68.89 kB / 390 MB, free: 6.672 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001469/0.01395, allocations: 166.4 kB / 390.1 MB, free: 6.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002654/0.01422, allocations: 245.7 kB / 390.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.01422, allocations: 0 / 390.4 MB, free: 6.207 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0004856/0.0147, allocations: 380.8 kB / 390.7 MB, free: 5.828 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.01473, allocations: 9.875 kB / 390.7 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.897e-06/0.01474, allocations: 0 / 390.7 MB, free: 5.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/0.01476, allocations: 4 kB / 390.8 MB, free: 5.816 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.01496, allocations: 87.89 kB / 390.8 MB, free: 5.73 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.56e-05/0.01497, allocations: 7.938 kB / 390.8 MB, free: 5.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.179e-05/0.01506, allocations: 16 kB / 390.9 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.278e-05/0.01509, allocations: 23.98 kB / 390.9 MB, free: 5.684 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 20 ($PRE.t_new.nextTimeEvent,$whenCondition4,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition3,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent,$PRE.t_new_3.nextTimeEvent,$whenCondition2,t_new_3.nextTimeEventScaled,$PRE.t_new_3.nextTimeEventScaled,t_new_3.nextTimeEvent,$PRE.t_new_4.nextTimeEvent,$whenCondition1,t_new_4.nextTimeEventScaled,$PRE.t_new_4.nextTimeEventScaled,t_new_4.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (52): * Single equations (assignments): 52 * 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 0.0001371/0.01522, allocations: 187 kB / 391.1 MB, free: 5.492 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.347e-05/0.0153, allocations: 87.56 kB / 391.2 MB, free: 5.406 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005304/0.01583, allocations: 435.8 kB / 391.6 MB, free: 4.969 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.161e-06/0.01583, allocations: 4 kB / 391.6 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.01584, allocations: 7.984 kB / 391.6 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.01585, allocations: 0 / 391.6 MB, free: 4.957 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001135/0.01698, allocations: 1.39 MB / 393 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.188e-06/0.01699, allocations: 0 / 393 MB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001098/0.0171, allocations: 67.91 kB / 393 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.672e-06/0.0171, allocations: 4 kB / 393 MB, free: 3.418 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.279e-05/0.01713, allocations: 19.98 kB / 393.1 MB, free: 3.398 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.01713, allocations: 7.938 kB / 393.1 MB, free: 3.391 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.018e-06/0.01714, allocations: 7.938 kB / 393.1 MB, free: 3.383 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006332/0.01777, allocations: 0.9774 MB / 394.1 MB, free: 2.344 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.01788, allocations: 95.52 kB / 394.2 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.368e-05/0.01793, allocations: 16 kB / 394.2 MB, free: 2.234 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001416/0.01807, allocations: 15.98 kB / 394.2 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.263e-05/0.01815, allocations: 47.81 kB / 394.2 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.728e-05/0.01818, allocations: 23.98 kB / 394.3 MB, free: 2.148 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003201/0.0185, allocations: 443 kB / 394.7 MB, free: 1.723 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.0185, allocations: 0 / 394.7 MB, free: 1.723 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003681/0.01887, allocations: 87.94 kB / 394.8 MB, free: 1.637 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled,$whenCondition2,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,$whenCondition3,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition4,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 8 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,t_new_3.nextTimeEvent,t_new_3.nextTimeEventScaled,t_new_4.nextTimeEvent,t_new_4.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001279/0.02015, allocations: 0.505 MB / 395.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0003779/0.02053, allocations: 243.8 kB / 395.5 MB, free: 1.074 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.02053, allocations: 4.25 kB / 395.5 MB, free: 1.07 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001499/0.02068, allocations: 148.4 kB / 395.7 MB, free: 0.918 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006081/0.02129, allocations: 146.6 kB / 395.8 MB, free: 0.7812 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.02234, allocations: 0.9483 MB / 396.8 MB, free: 15.75 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.02244, allocations: 150.6 kB / 396.9 MB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001483/0.02259, allocations: 79.25 kB / 397 MB, free: 15.51 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.229e-05/0.02269, allocations: 56.47 kB / 397 MB, free: 15.46 MB / 378.7 MB Notification: Performance of SimCode: time 2.685e-06/0.02269, allocations: 0 / 397 MB, free: 15.46 MB / 378.7 MB Notification: Performance of Templates: time 0.008712/0.0314, allocations: 5.759 MB / 402.8 MB, free: 9.785 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test88_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test88/Test88.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.5182927390560508]