Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.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.001405/0.001405, 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.001526/0.001526, allocations: 161 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.9743/0.9743, allocations: 177.1 MB / 205 MB, free: 5.613 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.2938/0.2938, allocations: 32.81 MB / 294.3 MB, free: 1.297 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.Test87,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") translateModel(ModelicaTest.Tables.CombiTimeTable.Test87,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.0.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0 / 376.1 MB, free: 4.559 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.261e-05/1.394e-05, allocations: 2.312 kB / 376.1 MB, free: 4.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.002435/0.002449, allocations: 2.257 MB / 378.4 MB, free: 2.281 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001717/0.004166, allocations: 1.294 MB / 379.7 MB, free: 0.9805 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001175/0.004283, allocations: 11.88 kB / 379.7 MB, free: 0.9688 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004462/0.004729, allocations: 139.2 kB / 379.8 MB, free: 0.832 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004701/0.005199, allocations: 274.7 kB / 380.1 MB, free: 0.5625 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002909/0.00549, allocations: 191.5 kB / 380.3 MB, free: 384 kB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003681/0.005858, allocations: 482.4 kB / 380.8 MB, free: 15.9 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000112/0.00597, allocations: 37.27 kB / 380.8 MB, free: 15.86 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003267/0.006297, allocations: 391.1 kB / 381.2 MB, free: 15.48 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001578/0.006455, allocations: 139.5 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 3.469e-05/0.006489, allocations: 24 kB / 381.3 MB, free: 15.32 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001091/0.006599, allocations: 71.92 kB / 381.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001159/0.006715, allocations: 163.4 kB / 381.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.006803, allocations: 99.52 kB / 381.7 MB, free: 14.99 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.007135, allocations: 382.2 kB / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.355e-06/0.007137, allocations: 0 / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 9.62e-07/0.007138, allocations: 0 / 382 MB, free: 14.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.38e-06/0.007144, allocations: 0 / 382 MB, free: 14.62 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.0007708/0.007914, allocations: 0.9458 MB / 383 MB, free: 13.63 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.75e-05/0.007942, allocations: 8.031 kB / 383 MB, free: 13.62 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.379e-05/0.008026, allocations: 88.42 kB / 383.1 MB, free: 13.54 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003122/0.008338, allocations: 377.1 kB / 383.4 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.187e-05/0.00836, allocations: 16.36 kB / 383.5 MB, free: 13.12 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.711e-05/0.008397, allocations: 16.31 kB / 383.5 MB, free: 13.11 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002222/0.008619, allocations: 189.5 kB / 383.7 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.732e-05/0.008636, allocations: 15.89 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.117e-05/0.008648, allocations: 0 / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.008656, allocations: 4 kB / 383.7 MB, free: 12.88 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.154e-05/0.008747, allocations: 63.88 kB / 383.7 MB, free: 12.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006278/0.009375, allocations: 0.9688 MB / 384.7 MB, free: 11.8 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.009689, allocations: 232.4 kB / 384.9 MB, free: 11.52 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.787e-05/0.009766, allocations: 78.83 kB / 385 MB, free: 11.43 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.009781, allocations: 4 kB / 385 MB, free: 11.42 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001871/0.009968, allocations: 201.2 kB / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.332e-06/0.009969, allocations: 0 / 385.2 MB, free: 11.2 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.001219/0.01119, allocations: 1.109 MB / 386.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.541e-05/0.01123, allocations: 136.5 kB / 386.5 MB, free: 9.914 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005156/0.01175, allocations: 0.7574 MB / 387.2 MB, free: 9.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.531e-05/0.01177, allocations: 45.64 kB / 387.3 MB, free: 9.086 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.01194, allocations: 351.7 kB / 387.6 MB, free: 8.738 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.089e-05/0.01202, allocations: 150.7 kB / 387.7 MB, free: 8.59 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.535e-05/0.0121, allocations: 87.8 kB / 387.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001103/0.01221, allocations: 0.4925 MB / 388.3 MB, free: 7.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.087e-05/0.0123, allocations: 64.95 kB / 388.4 MB, free: 7.934 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001404/0.01244, allocations: 162.4 kB / 388.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000235/0.01267, allocations: 249.7 kB / 388.8 MB, free: 7.465 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.01268, allocations: 3.938 kB / 388.8 MB, free: 7.461 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0003708/0.01305, allocations: 388.8 kB / 389.2 MB, free: 7.074 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.01306, allocations: 8 kB / 389.2 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-06/0.01306, allocations: 0 / 389.2 MB, free: 7.066 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.01308, allocations: 4 kB / 389.2 MB, free: 7.062 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001468/0.01323, allocations: 79.91 kB / 389.3 MB, free: 6.984 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.01323, allocations: 16.05 kB / 389.3 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.266e-05/0.01332, allocations: 16 kB / 389.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.639e-05/0.01333, allocations: 16 kB / 389.3 MB, free: 6.938 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.0001111/0.01344, allocations: 190.9 kB / 389.5 MB, free: 6.742 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.205e-05/0.01352, allocations: 95.48 kB / 389.6 MB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.01398, allocations: 443.9 kB / 390 MB, free: 6.203 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.08e-06/0.01398, allocations: 8 kB / 390 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.086e-06/0.01398, allocations: 0 / 390 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.268e-06/0.01399, allocations: 0 / 390 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009848/0.01497, allocations: 1.429 MB / 391.5 MB, free: 4.688 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.01498, allocations: 4 kB / 391.5 MB, free: 4.684 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001033/0.01508, allocations: 67.91 kB / 391.5 MB, free: 4.617 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.01509, allocations: 4 kB / 391.5 MB, free: 4.613 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.725e-05/0.0151, allocations: 19.92 kB / 391.6 MB, free: 4.594 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.158e-06/0.01511, allocations: 8.25 kB / 391.6 MB, free: 4.586 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01511, allocations: 4 kB / 391.6 MB, free: 4.582 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005398/0.01565, allocations: 0.9733 MB / 392.5 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001097/0.01576, allocations: 107.5 kB / 392.6 MB, free: 3.441 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.212e-05/0.0158, allocations: 19.98 kB / 392.7 MB, free: 3.422 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/0.01595, allocations: 15.98 kB / 392.7 MB, free: 3.406 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.294e-05/0.016, allocations: 47.81 kB / 392.7 MB, free: 3.359 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.537e-05/0.01602, allocations: 27.98 kB / 392.8 MB, free: 3.332 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003358/0.01636, allocations: 0.4912 MB / 393.2 MB, free: 2.848 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01636, allocations: 4 kB / 393.2 MB, free: 2.844 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0003191/0.01668, allocations: 91.89 kB / 393.3 MB, free: 2.754 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.0009384/0.01762, allocations: 0.5076 MB / 393.8 MB, free: 2.43 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002963/0.01791, allocations: 252.4 kB / 394.1 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01791, allocations: 0 / 394.1 MB, free: 2.18 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001402/0.01805, allocations: 140.4 kB / 394.2 MB, free: 2.039 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00055/0.0186, allocations: 141.5 kB / 394.4 MB, free: 1.91 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000939/0.01954, allocations: 1.05 MB / 395.4 MB, free: 0.7734 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000111/0.01965, allocations: 166.1 kB / 395.6 MB, free: 0.5938 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001208/0.01978, allocations: 75.25 kB / 395.7 MB, free: 0.5195 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.695e-05/0.01986, allocations: 52.48 kB / 395.7 MB, free: 480 kB / 362.7 MB Notification: Performance of SimCode: time 1.022e-06/0.01986, allocations: 4 kB / 395.7 MB, free: 476 kB / 362.7 MB Notification: Performance of Templates: time 0.008151/0.02801, allocations: 5.819 MB / 401.5 MB, free: 10.74 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test87/Test87.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.3930343450047076]