Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001282/0.001282, allocations: 81.97 kB / 22.21 MB, free: 2.289 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.000898/0.000898, allocations: 163.9 kB / 25.61 MB, free: 8.582 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 0.9509/0.9509, allocations: 177.2 MB / 206.1 MB, free: 4.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.1636/0.1636, allocations: 34.26 MB / 296.9 MB, free: 13.91 MB / 282.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.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test87") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.675e-06/2.675e-06, allocations: 0 / 379.4 MB, free: 23.31 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.093e-05/3.36e-05, allocations: 6.25 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003536/0.003569, allocations: 2.23 MB / 381.6 MB, free: 21.05 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.002187/0.005757, allocations: 1.283 MB / 382.9 MB, free: 19.77 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001558/0.005912, allocations: 7.938 kB / 382.9 MB, free: 19.76 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004357/0.006348, allocations: 139.2 kB / 383 MB, free: 19.62 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000529/0.006877, allocations: 274.7 kB / 383.3 MB, free: 19.35 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002672/0.007144, allocations: 195.4 kB / 383.5 MB, free: 19.16 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.000301/0.007445, allocations: 478.5 kB / 384 MB, free: 18.69 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.007561, allocations: 37.27 kB / 384 MB, free: 18.65 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002545/0.007815, allocations: 391.1 kB / 384.4 MB, free: 18.27 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001243/0.007939, allocations: 139.5 kB / 384.5 MB, free: 18.13 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.733e-05/0.007967, allocations: 16 kB / 384.5 MB, free: 18.12 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.609e-05/0.008063, allocations: 75.86 kB / 384.6 MB, free: 18.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 9.598e-05/0.008159, allocations: 167.3 kB / 384.8 MB, free: 17.88 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 7.862e-05/0.008237, allocations: 103.5 kB / 384.9 MB, free: 17.78 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002881/0.008525, allocations: 374.3 kB / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.054e-06/0.008528, allocations: 0 / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.008529, allocations: 0 / 385.3 MB, free: 17.41 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.008535, allocations: 0 / 385.3 MB, free: 17.41 MB / 314.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.0006031/0.009138, allocations: 0.9533 MB / 386.2 MB, free: 16.42 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.001e-05/0.009168, allocations: 12.03 kB / 386.2 MB, free: 16.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.577e-05/0.009234, allocations: 84.45 kB / 386.3 MB, free: 16.32 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.009471, allocations: 377 kB / 386.7 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.807e-05/0.009489, allocations: 12.38 kB / 386.7 MB, free: 15.91 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.465e-05/0.009513, allocations: 24.34 kB / 386.7 MB, free: 15.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000168/0.009681, allocations: 177.5 kB / 386.9 MB, free: 15.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.205e-05/0.009693, allocations: 11.89 kB / 386.9 MB, free: 15.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.288e-05/0.009706, allocations: 7.984 kB / 386.9 MB, free: 15.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.941e-06/0.009712, allocations: 7.984 kB / 386.9 MB, free: 15.66 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.055e-05/0.009773, allocations: 55.86 kB / 387 MB, free: 15.61 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004125/0.01019, allocations: 0.8561 MB / 387.8 MB, free: 14.71 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002668/0.01045, allocations: 232.2 kB / 388 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.242e-05/0.0105, allocations: 66.97 kB / 388.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/0.01052, allocations: 4 kB / 388.1 MB, free: 14.35 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001521/0.01067, allocations: 185.2 kB / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of pre-optimization done (n=28): time 2.013e-06/0.01067, allocations: 0 / 388.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009404/0.01161, allocations: 0.7174 MB / 389 MB, free: 13.41 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.962e-05/0.01164, allocations: 132.5 kB / 389.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003284/0.01197, allocations: 0.7335 MB / 389.9 MB, free: 12.5 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.01199, allocations: 37.7 kB / 389.9 MB, free: 12.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001152/0.01211, allocations: 351.6 kB / 390.3 MB, free: 12.11 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.22e-05/0.01217, allocations: 146.8 kB / 390.4 MB, free: 11.97 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.189e-05/0.01223, allocations: 95.77 kB / 390.5 MB, free: 11.87 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 5.046e-05/0.01228, allocations: 0.4887 MB / 391 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.324e-05/0.01233, allocations: 52.95 kB / 391 MB, free: 11.32 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.742e-05/0.01241, allocations: 150.3 kB / 391.2 MB, free: 11.14 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001451/0.01256, allocations: 221.7 kB / 391.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01256, allocations: 3.938 kB / 391.4 MB, free: 10.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0002635/0.01282, allocations: 352.9 kB / 391.7 MB, free: 10.54 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.01284, allocations: 10.19 kB / 391.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.01284, allocations: 0 / 391.7 MB, free: 10.53 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.518e-06/0.01285, allocations: 4 kB / 391.8 MB, free: 10.52 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.01299, allocations: 87.89 kB / 391.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.013, allocations: 7.938 kB / 391.8 MB, free: 10.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.877e-05/0.01307, allocations: 19.98 kB / 391.9 MB, free: 10.41 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.393e-05/0.01309, allocations: 16 kB / 391.9 MB, free: 10.39 MB / 314.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 9.326e-05/0.01318, allocations: 199 kB / 392.1 MB, free: 10.19 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.314e-05/0.01324, allocations: 91.48 kB / 392.2 MB, free: 10.1 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003708/0.01362, allocations: 423.2 kB / 392.6 MB, free: 9.676 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.768e-06/0.01362, allocations: 4 kB / 392.6 MB, free: 9.672 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.01362, allocations: 4 kB / 392.6 MB, free: 9.668 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.01363, allocations: 3.984 kB / 392.6 MB, free: 9.664 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007985/0.01443, allocations: 1.301 MB / 393.9 MB, free: 8.293 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.619e-06/0.01443, allocations: 4 kB / 393.9 MB, free: 8.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001425/0.01457, allocations: 67.92 kB / 394 MB, free: 8.223 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.124e-06/0.01458, allocations: 7.938 kB / 394 MB, free: 8.215 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.2e-05/0.0146, allocations: 15.98 kB / 394 MB, free: 8.199 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.942e-06/0.01461, allocations: 7.938 kB / 394 MB, free: 8.191 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.01461, allocations: 4 kB / 394 MB, free: 8.188 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006044/0.01522, allocations: 0.9498 MB / 394.9 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001627/0.01538, allocations: 119.3 kB / 395.1 MB, free: 7.055 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.203e-05/0.01545, allocations: 16 kB / 395.1 MB, free: 7.039 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002541/0.01571, allocations: 15.98 kB / 395.1 MB, free: 7.023 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.924e-05/0.0158, allocations: 43.88 kB / 395.1 MB, free: 6.98 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.434e-05/0.01585, allocations: 19.98 kB / 395.2 MB, free: 6.961 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000393/0.01624, allocations: 466.8 kB / 395.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.21e-07/0.01624, allocations: 0 / 395.6 MB, free: 6.508 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0006128/0.01686, allocations: 91.94 kB / 395.7 MB, free: 6.418 MB / 314.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.001771/0.01863, allocations: 0.4918 MB / 396.2 MB, free: 6.113 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0005501/0.01918, allocations: 223.7 kB / 396.4 MB, free: 5.895 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.01918, allocations: 8.25 kB / 396.4 MB, free: 5.887 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001817/0.01936, allocations: 128.3 kB / 396.5 MB, free: 5.754 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009614/0.02032, allocations: 143.4 kB / 396.7 MB, free: 5.629 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.02178, allocations: 1.04 MB / 397.7 MB, free: 4.508 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001282/0.0219, allocations: 154.2 kB / 397.9 MB, free: 4.34 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0001885/0.02209, allocations: 79.25 kB / 398 MB, free: 4.262 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002124/0.0223, allocations: 174.1 kB / 398.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of SimCode: time 1.402e-06/0.02231, allocations: 0 / 398.1 MB, free: 4.09 MB / 314.7 MB Notification: Performance of Templates: time 0.009214/0.03152, allocations: 6.505 MB / 404.6 MB, free: 13.7 MB / 330.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test87_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.5058374907821417]