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.002465/0.002465, 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.003059/0.003059, allocations: 165.3 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.558/1.558, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.4501/0.4501, allocations: 32.8 MB / 293.9 MB, free: 1.18 MB / 266.7 MB " [Timeout remaining time 179] 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.1.|t_new.y.2.|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.1.|t_new.y.2.|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 2.124e-06/2.124e-06, allocations: 0 / 375.4 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.836e-05/4.049e-05, allocations: 10.25 kB / 375.4 MB, free: 4.871 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.004273/0.004314, allocations: 1.755 MB / 377.1 MB, free: 3.102 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.002005/0.006319, allocations: 0.9977 MB / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.647e-05/0.006396, allocations: 0 / 378.1 MB, free: 2.098 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003998/0.006795, allocations: 103.6 kB / 378.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004895/0.007285, allocations: 131.4 kB / 378.3 MB, free: 1.867 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.00754, allocations: 87.59 kB / 378.4 MB, free: 1.781 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002315/0.007771, allocations: 139.6 kB / 378.6 MB, free: 1.645 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.923e-05/0.00786, allocations: 7.938 kB / 378.6 MB, free: 1.637 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001427/0.008003, allocations: 75.8 kB / 378.6 MB, free: 1.562 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.008127, allocations: 63.86 kB / 378.7 MB, free: 1.5 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 2.357e-05/0.008151, allocations: 4 kB / 378.7 MB, free: 1.496 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001435/0.008294, allocations: 63.91 kB / 378.8 MB, free: 1.434 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.527e-05/0.00837, allocations: 35.84 kB / 378.8 MB, free: 1.398 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 6.719e-05/0.008437, allocations: 23.88 kB / 378.8 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002841/0.008721, allocations: 159.4 kB / 379 MB, free: 1.219 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.008725, allocations: 4 kB / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008726, allocations: 0 / 379 MB, free: 1.215 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.751e-06/0.008732, allocations: 0 / 379 MB, free: 1.215 MB / 346.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.0007056/0.009438, allocations: 487.3 kB / 379.5 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.833e-05/0.009476, allocations: 12.03 kB / 379.5 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.999e-05/0.009546, allocations: 20.84 kB / 379.5 MB, free: 0.6719 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.009822, allocations: 169.2 kB / 379.7 MB, free: 488 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.572e-05/0.009838, allocations: 4.375 kB / 379.7 MB, free: 484 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/0.009858, allocations: 4.375 kB / 379.7 MB, free: 480 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/0.01003, allocations: 66.22 kB / 379.7 MB, free: 408 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.499e-05/0.01004, allocations: 7.938 kB / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.658e-06/0.01005, allocations: 0 / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.01006, allocations: 0 / 379.7 MB, free: 400 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.01017, allocations: 35.91 kB / 379.8 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005217/0.01069, allocations: 327.7 kB / 380.1 MB, free: 0 / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003151/0.01101, allocations: 78.97 kB / 380.2 MB, free: 15.91 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.562e-05/0.01108, allocations: 31.7 kB / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.153e-05/0.01109, allocations: 0 / 380.2 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001666/0.01126, allocations: 77.05 kB / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of pre-optimization done (n=8): time 1.203e-06/0.01126, allocations: 0 / 380.3 MB, free: 15.79 MB / 362.7 MB Notification: Performance of matching and sorting (n=12): time 0.0008842/0.01215, allocations: 285.7 kB / 380.6 MB, free: 15.5 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.978e-05/0.0122, allocations: 59.39 kB / 380.6 MB, free: 15.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003053/0.0125, allocations: 290.8 kB / 380.9 MB, free: 15.13 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.696e-05/0.01253, allocations: 25.7 kB / 380.9 MB, free: 15.1 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001257/0.01265, allocations: 174.8 kB / 381.1 MB, free: 14.92 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.457e-05/0.01271, allocations: 43.69 kB / 381.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.306e-05/0.01277, allocations: 35.38 kB / 381.2 MB, free: 14.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002946/0.01307, allocations: 0.5117 MB / 381.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.426e-05/0.01315, allocations: 39.92 kB / 381.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001079/0.01326, allocations: 63.11 kB / 381.8 MB, free: 14.21 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001768/0.01343, allocations: 91.36 kB / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.01344, allocations: 0 / 381.9 MB, free: 14.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002765/0.01371, allocations: 145.5 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.01373, allocations: 4 kB / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.01373, allocations: 240 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/0.01375, allocations: 0 / 382 MB, free: 13.96 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.584e-05/0.01384, allocations: 23.98 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.077e-06/0.01385, allocations: 3.984 kB / 382.1 MB, free: 13.93 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.854e-05/0.0139, allocations: 8 kB / 382.1 MB, free: 13.92 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.085e-05/0.01391, allocations: 8.031 kB / 382.1 MB, free: 13.91 MB / 362.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 0.0001372/0.01405, allocations: 176.4 kB / 382.2 MB, free: 13.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.931e-05/0.01409, allocations: 19.91 kB / 382.3 MB, free: 13.71 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003634/0.01445, allocations: 171 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.789e-06/0.01445, allocations: 4 kB / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.695e-06/0.01446, allocations: 0 / 382.4 MB, free: 13.54 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.01446, allocations: 4 kB / 382.4 MB, free: 13.53 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006989/0.01516, allocations: 0.4927 MB / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.754e-06/0.01516, allocations: 64 / 382.9 MB, free: 12.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.01523, allocations: 23.98 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.458e-06/0.01523, allocations: 4 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.456e-05/0.01525, allocations: 4 kB / 383 MB, free: 12.96 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.067e-06/0.01525, allocations: 4 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.327e-06/0.01525, allocations: 3.938 kB / 383 MB, free: 12.95 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000376/0.01563, allocations: 323.1 kB / 383.3 MB, free: 12.61 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.046e-05/0.01566, allocations: 11.91 kB / 383.3 MB, free: 12.59 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.01569, allocations: 11.98 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.01577, allocations: 4 kB / 383.3 MB, free: 12.58 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.389e-05/0.01581, allocations: 11.92 kB / 383.3 MB, free: 12.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.99e-05/0.01583, allocations: 12 kB / 383.3 MB, free: 12.55 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001853/0.01601, allocations: 205.4 kB / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01601, allocations: 0 / 383.5 MB, free: 12.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002796/0.01629, allocations: 35.92 kB / 383.6 MB, free: 12.32 MB / 362.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.003695/0.01999, allocations: 0.5488 MB / 384.1 MB, free: 12.01 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000288/0.02028, allocations: 95.58 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.02028, allocations: 3.938 kB / 384.2 MB, free: 11.91 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001247/0.0204, allocations: 65.92 kB / 384.3 MB, free: 11.84 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003998/0.0208, allocations: 35.95 kB / 384.3 MB, free: 11.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006442/0.02145, allocations: 310 kB / 384.6 MB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.02157, allocations: 106.8 kB / 384.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.218e-05/0.02164, allocations: 21.27 kB / 384.7 MB, free: 11.32 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.875e-05/0.0217, allocations: 28.48 kB / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of SimCode: time 5.91e-07/0.0217, allocations: 0 / 384.8 MB, free: 11.29 MB / 362.7 MB Notification: Performance of Templates: time 0.006367/0.02807, allocations: 2.259 MB / 387 MB, free: 9.066 MB / 362.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test8.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.503651141072623]