Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.0009608/0.0009608, 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.002002/0.002002, allocations: 167.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 1.051/1.051, allocations: 177.1 MB / 206 MB, free: 4.484 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.1416/0.1416, allocations: 32.8 MB / 295.4 MB, free: 15.37 MB / 282.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.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") translateModel(ModelicaTest.Tables.CombiTimeTable.Test8,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.914e-06/1.914e-06, allocations: 0 / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.57e-05/2.761e-05, allocations: 2.312 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002506/0.002534, allocations: 1.765 MB / 379.1 MB, free: 23.71 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.003833, allocations: 0.9974 MB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.547e-05/0.003928, allocations: 0 / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003653/0.004293, allocations: 107.6 kB / 380.2 MB, free: 22.6 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002787/0.004572, allocations: 135.4 kB / 380.4 MB, free: 22.47 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001517/0.004724, allocations: 79.59 kB / 380.4 MB, free: 22.39 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.004889, allocations: 135.6 kB / 380.6 MB, free: 22.26 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001205/0.005009, allocations: 8 kB / 380.6 MB, free: 22.25 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.005111, allocations: 79.73 kB / 380.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001069/0.005218, allocations: 63.86 kB / 380.7 MB, free: 22.11 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.005237, allocations: 8 kB / 380.7 MB, free: 22.1 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.934e-05/0.005337, allocations: 63.84 kB / 380.8 MB, free: 22.04 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 5.872e-05/0.005395, allocations: 39.84 kB / 380.8 MB, free: 22 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.923e-05/0.005434, allocations: 23.88 kB / 380.9 MB, free: 21.98 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001982/0.005633, allocations: 135.5 kB / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.044e-06/0.005635, allocations: 0 / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.475e-06/0.005637, allocations: 0 / 381 MB, free: 21.84 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.524e-06/0.005645, allocations: 0 / 381 MB, free: 21.84 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004955/0.00614, allocations: 483.5 kB / 381.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.006184, allocations: 15.98 kB / 381.5 MB, free: 21.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.854e-05/0.006222, allocations: 16.84 kB / 381.5 MB, free: 21.3 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.006369, allocations: 169.2 kB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.006384, allocations: 4.375 kB / 381.7 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.914e-05/0.006404, allocations: 4.375 kB / 381.7 MB, free: 21.1 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.741e-05/0.006501, allocations: 74.86 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.00651, allocations: 3.938 kB / 381.7 MB, free: 21.02 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.00652, allocations: 7.984 kB / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.588e-06/0.006524, allocations: 0 / 381.7 MB, free: 21.01 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.386e-05/0.006558, allocations: 19.97 kB / 381.8 MB, free: 20.99 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002312/0.006789, allocations: 284.3 kB / 382 MB, free: 20.68 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.006942, allocations: 59.03 kB / 382.1 MB, free: 20.61 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.2e-05/0.006964, allocations: 19.69 kB / 382.1 MB, free: 20.59 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.286e-05/0.006977, allocations: 7.938 kB / 382.1 MB, free: 20.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.542e-05/0.007062, allocations: 77.12 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 8.72e-07/0.007063, allocations: 3.938 kB / 382.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004278/0.007491, allocations: 221.3 kB / 382.4 MB, free: 20.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.007515, allocations: 59.41 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001071/0.007622, allocations: 266.7 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.007633, allocations: 29.7 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.568e-05/0.007679, allocations: 162.8 kB / 382.9 MB, free: 19.72 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.986e-05/0.007709, allocations: 47.67 kB / 383 MB, free: 19.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.58e-05/0.007745, allocations: 35.36 kB / 383 MB, free: 19.63 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.94e-05/0.007834, allocations: 0.5078 MB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.724e-05/0.007861, allocations: 12 kB / 383.5 MB, free: 19.1 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.164e-05/0.007893, allocations: 42.97 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.986e-05/0.007943, allocations: 59.3 kB / 383.6 MB, free: 18.99 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.007943, allocations: 3.938 kB / 383.6 MB, free: 18.98 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001049/0.008048, allocations: 109.6 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.076e-05/0.008059, allocations: 4 kB / 383.7 MB, free: 18.87 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.008063, allocations: 4.031 kB / 383.7 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.997e-06/0.008072, allocations: 7.938 kB / 383.8 MB, free: 18.86 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.625e-05/0.008129, allocations: 19.98 kB / 383.8 MB, free: 18.84 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.008131, allocations: 4 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.743e-05/0.008159, allocations: 7.953 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.174e-06/0.008166, allocations: 4 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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 5.341e-05/0.008219, allocations: 168.5 kB / 384 MB, free: 18.64 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.688e-05/0.008236, allocations: 15.91 kB / 384 MB, free: 18.63 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001461/0.008382, allocations: 139 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.875e-06/0.008385, allocations: 4 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.502e-06/0.008387, allocations: 4 kB / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.00839, allocations: 0 / 384.1 MB, free: 18.48 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002633/0.008653, allocations: 441.1 kB / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.008656, allocations: 0 / 384.5 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.524e-05/0.008691, allocations: 23.92 kB / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.008694, allocations: 0 / 384.6 MB, free: 17.98 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.785e-06/0.008701, allocations: 8 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.008703, allocations: 4 kB / 384.6 MB, free: 17.97 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.008705, allocations: 4 kB / 384.6 MB, free: 17.96 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000129/0.008834, allocations: 295.1 kB / 384.9 MB, free: 17.65 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.261e-05/0.008847, allocations: 15.91 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.008864, allocations: 4 kB / 384.9 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.159e-05/0.008906, allocations: 4 kB / 384.9 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.783e-05/0.008934, allocations: 11.92 kB / 384.9 MB, free: 17.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.315e-05/0.008947, allocations: 11.98 kB / 384.9 MB, free: 17.6 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.488e-05/0.009002, allocations: 181.4 kB / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of sort global known variables: time 6e-08/0.009002, allocations: 0 / 385.1 MB, free: 17.43 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0001672/0.009169, allocations: 35.88 kB / 385.1 MB, free: 17.39 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001059/0.01023, allocations: 498.3 kB / 385.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001233/0.01035, allocations: 67.59 kB / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.01035, allocations: 0 / 385.7 MB, free: 17.02 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.615e-05/0.0104, allocations: 43.78 kB / 385.7 MB, free: 16.97 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002404/0.01064, allocations: 45.16 kB / 385.8 MB, free: 16.93 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003551/0.01099, allocations: 299.8 kB / 386.1 MB, free: 16.61 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.444e-05/0.01103, allocations: 83.69 kB / 386.1 MB, free: 16.5 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 3.956e-05/0.01107, allocations: 21.12 kB / 386.2 MB, free: 16.48 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.746e-05/0.01115, allocations: 94.19 kB / 386.3 MB, free: 16.39 MB / 314.7 MB Notification: Performance of SimCode: time 7.42e-07/0.01115, allocations: 7.938 kB / 386.3 MB, free: 16.38 MB / 314.7 MB Notification: Performance of Templates: time 0.003796/0.01494, allocations: 2.503 MB / 388.8 MB, free: 13.91 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test8/Test8.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.3049408588558435]