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.002089/0.002089, allocations: 91.61 kB / 20.96 MB, free: 3.461 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.002136/0.002136, allocations: 165.6 kB / 24.28 MB, free: 152 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 1.598/1.598, allocations: 177.1 MB / 204.6 MB, free: 5.598 MB / 186.7 MB " [Timeout remaining time 178] 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.3373/0.3373, allocations: 32.8 MB / 293.9 MB, free: 1.215 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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|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.1.|d_t_new.y|d2_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new_2.y|t_new_3.y.1.|d_t_new_3.y|d2_t_new_3.y|t_new_4.y.1.|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 2.204e-06/2.204e-06, allocations: 0 / 375.4 MB, free: 4.906 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.257e-05/3.478e-05, allocations: 2.312 kB / 375.4 MB, free: 4.902 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test87): time 0.003907/0.003942, allocations: 2.234 MB / 377.6 MB, free: 2.652 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002757/0.006699, allocations: 1.294 MB / 378.9 MB, free: 1.355 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001224/0.006821, allocations: 7.938 kB / 378.9 MB, free: 1.348 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004162/0.007237, allocations: 143.2 kB / 379 MB, free: 1.207 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0005846/0.007822, allocations: 262.7 kB / 379.3 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003921/0.008214, allocations: 195.5 kB / 379.5 MB, free: 0.7578 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006009/0.008815, allocations: 478.4 kB / 379.9 MB, free: 296 kB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.008945, allocations: 45.19 kB / 380 MB, free: 248 kB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005385/0.009484, allocations: 379.3 kB / 380.4 MB, free: 15.87 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002255/0.009709, allocations: 147.5 kB / 380.5 MB, free: 15.72 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 5.331e-05/0.009762, allocations: 16 kB / 380.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.009928, allocations: 79.84 kB / 380.6 MB, free: 15.63 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001962/0.01012, allocations: 163.4 kB / 380.8 MB, free: 15.47 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.01026, allocations: 99.53 kB / 380.9 MB, free: 15.37 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006031/0.01087, allocations: 470.1 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.01087, allocations: 3.938 kB / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.01087, allocations: 0 / 381.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.452e-06/0.01088, allocations: 0 / 381.3 MB, free: 14.91 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.001381/0.01226, allocations: 0.965 MB / 382.3 MB, free: 13.9 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.355e-05/0.01229, allocations: 11.98 kB / 382.3 MB, free: 13.89 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001577/0.01245, allocations: 88.45 kB / 382.4 MB, free: 13.8 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005818/0.01303, allocations: 389 kB / 382.8 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.01306, allocations: 12.38 kB / 382.8 MB, free: 13.38 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.025e-05/0.0131, allocations: 16.36 kB / 382.8 MB, free: 13.37 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004092/0.01351, allocations: 200.8 kB / 383 MB, free: 13.15 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/0.01353, allocations: 7.891 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.833e-05/0.01355, allocations: 4 kB / 383 MB, free: 13.14 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.01355, allocations: 7.938 kB / 383 MB, free: 13.13 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002363/0.01379, allocations: 91.84 kB / 383.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001271/0.01506, allocations: 1.02 MB / 384.1 MB, free: 11.97 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007042/0.01576, allocations: 272.4 kB / 384.4 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000204/0.01597, allocations: 94.78 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.996e-05/0.01599, allocations: 8 kB / 384.5 MB, free: 11.54 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00041/0.0164, allocations: 225.4 kB / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of pre-optimization done (n=28): time 1.333e-06/0.0164, allocations: 0 / 384.7 MB, free: 11.29 MB / 362.7 MB Notification: Performance of matching and sorting (n=44): time 0.003008/0.01941, allocations: 1.226 MB / 385.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001039/0.01951, allocations: 136.5 kB / 386.1 MB, free: 9.891 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/0.0206, allocations: 0.8394 MB / 386.9 MB, free: 9.031 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 4.398e-05/0.02064, allocations: 37.7 kB / 386.9 MB, free: 8.988 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003513/0.021, allocations: 375.7 kB / 387.3 MB, free: 8.617 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.02116, allocations: 154.8 kB / 387.5 MB, free: 8.465 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001615/0.02132, allocations: 99.8 kB / 387.6 MB, free: 8.359 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002761/0.02159, allocations: 0.5042 MB / 388.1 MB, free: 7.848 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.02183, allocations: 105 kB / 388.2 MB, free: 7.746 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003309/0.02216, allocations: 218.4 kB / 388.4 MB, free: 7.5 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006016/0.02276, allocations: 341.7 kB / 388.7 MB, free: 7.133 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.02276, allocations: 0 / 388.7 MB, free: 7.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0008509/0.02361, allocations: 457 kB / 389.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.02364, allocations: 11.98 kB / 389.2 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.02364, allocations: 0 / 389.2 MB, free: 6.668 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/0.02366, allocations: 8.062 kB / 389.2 MB, free: 6.66 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002857/0.02395, allocations: 87.91 kB / 389.3 MB, free: 6.574 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.225e-05/0.02396, allocations: 7.984 kB / 389.3 MB, free: 6.566 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001559/0.02411, allocations: 16 kB / 389.3 MB, free: 6.551 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.07e-05/0.02414, allocations: 16 kB / 389.3 MB, free: 6.535 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.000231/0.02438, allocations: 214.8 kB / 389.5 MB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001398/0.02452, allocations: 95.48 kB / 389.6 MB, free: 6.223 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001044/0.02556, allocations: 0.4953 MB / 390.1 MB, free: 5.715 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.398e-06/0.02557, allocations: 8 kB / 390.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.02557, allocations: 0 / 390.1 MB, free: 5.707 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.556e-06/0.02558, allocations: 7.984 kB / 390.1 MB, free: 5.699 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002224/0.02781, allocations: 1.566 MB / 391.7 MB, free: 4.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.442e-06/0.02781, allocations: 4 kB / 391.7 MB, free: 4.051 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001968/0.02801, allocations: 67.91 kB / 391.7 MB, free: 3.984 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.083e-06/0.02802, allocations: 4 kB / 391.8 MB, free: 3.98 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.997e-05/0.02805, allocations: 12 kB / 391.8 MB, free: 3.969 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-05/0.02806, allocations: 20.17 kB / 391.8 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.02806, allocations: 0 / 391.8 MB, free: 3.949 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001232/0.02929, allocations: 1.044 MB / 392.8 MB, free: 2.844 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002174/0.02951, allocations: 103.5 kB / 392.9 MB, free: 2.742 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003028/0.02981, allocations: 19.98 kB / 392.9 MB, free: 2.723 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002863/0.0301, allocations: 19.98 kB / 393 MB, free: 2.703 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001016/0.0302, allocations: 43.81 kB / 393 MB, free: 2.66 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.319e-05/0.03025, allocations: 27.98 kB / 393 MB, free: 2.633 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0006772/0.03093, allocations: 0.5341 MB / 393.6 MB, free: 2.105 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.21e-07/0.03093, allocations: 4 kB / 393.6 MB, free: 2.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0005375/0.03147, allocations: 87.94 kB / 393.7 MB, free: 2.016 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.003822/0.03529, allocations: 0.5632 MB / 394.2 MB, free: 1.688 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006813/0.03597, allocations: 340.1 kB / 394.6 MB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.846e-06/0.03597, allocations: 0 / 394.6 MB, free: 1.352 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003599/0.03633, allocations: 185 kB / 394.7 MB, free: 1.168 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009949/0.03733, allocations: 151.7 kB / 394.9 MB, free: 1.031 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.03911, allocations: 1.093 MB / 396 MB, free: 15.86 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/0.03948, allocations: 305.9 kB / 396.3 MB, free: 15.54 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001983/0.03968, allocations: 79.23 kB / 396.4 MB, free: 15.46 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.03981, allocations: 52.48 kB / 396.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of SimCode: time 5.41e-07/0.03981, allocations: 0 / 396.4 MB, free: 15.41 MB / 378.7 MB Notification: Performance of Templates: time 0.01326/0.05307, allocations: 5.766 MB / 402.2 MB, free: 9.723 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test87.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.219511222909205]