Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001197/0.001197, 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.001354/0.001354, 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 0.9076/0.9076, allocations: 177.1 MB / 206.1 MB, free: 4.484 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.1425/0.1425, 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.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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test8") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.102e-06/1.102e-06, allocations: 0 / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.194e-05/1.304e-05, allocations: 2.312 kB / 379.4 MB, free: 23.3 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.002076/0.002089, allocations: 1.766 MB / 381.2 MB, free: 21.52 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.004159/0.006248, allocations: 1.001 MB / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.006316, allocations: 0 / 382.2 MB, free: 20.51 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002683/0.006585, allocations: 103.6 kB / 382.3 MB, free: 20.41 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002505/0.006835, allocations: 123.5 kB / 382.4 MB, free: 20.29 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.006986, allocations: 91.53 kB / 382.5 MB, free: 20.2 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.007135, allocations: 135.6 kB / 382.6 MB, free: 20.07 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.533e-05/0.00721, allocations: 8 kB / 382.6 MB, free: 20.06 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.507e-05/0.007295, allocations: 79.73 kB / 382.7 MB, free: 19.98 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.455e-05/0.00738, allocations: 63.86 kB / 382.7 MB, free: 19.92 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.442e-05/0.007394, allocations: 4 kB / 382.8 MB, free: 19.91 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.218e-05/0.007487, allocations: 63.84 kB / 382.8 MB, free: 19.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.556e-05/0.007532, allocations: 39.84 kB / 382.9 MB, free: 19.81 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 3.196e-05/0.007564, allocations: 27.92 kB / 382.9 MB, free: 19.79 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001595/0.007724, allocations: 131.5 kB / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.714e-06/0.007725, allocations: 0 / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 5.01e-07/0.007726, allocations: 0 / 383 MB, free: 19.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.446e-06/0.007729, allocations: 4 kB / 383 MB, free: 19.65 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.003344/0.01107, allocations: 487.5 kB / 383.5 MB, free: 19.14 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.873e-05/0.0111, allocations: 8.031 kB / 383.5 MB, free: 19.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.005e-05/0.01114, allocations: 24.84 kB / 383.5 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.01127, allocations: 165.2 kB / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.01128, allocations: 384 / 383.7 MB, free: 18.92 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.0113, allocations: 12.31 kB / 383.7 MB, free: 18.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.26e-05/0.01139, allocations: 66.92 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.0114, allocations: 3.938 kB / 383.8 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.01141, allocations: 4 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.01141, allocations: 7.984 kB / 383.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.71e-05/0.01145, allocations: 15.97 kB / 383.8 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002173/0.01167, allocations: 284.3 kB / 384.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001354/0.0118, allocations: 59.03 kB / 384.1 MB, free: 18.43 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.429e-05/0.01183, allocations: 19.69 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.257e-06/0.01184, allocations: 3.938 kB / 384.1 MB, free: 18.4 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.908e-05/0.01192, allocations: 81.16 kB / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of pre-optimization done (n=8): time 1.062e-06/0.01192, allocations: 0 / 384.2 MB, free: 18.3 MB / 314.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004483/0.01237, allocations: 225.2 kB / 384.4 MB, free: 18.08 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.079e-05/0.01239, allocations: 55.41 kB / 384.5 MB, free: 18.01 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001177/0.0125, allocations: 258.7 kB / 384.8 MB, free: 17.74 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.01251, allocations: 29.7 kB / 384.8 MB, free: 17.71 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.01256, allocations: 170.8 kB / 385 MB, free: 17.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.02e-05/0.01259, allocations: 39.67 kB / 385 MB, free: 17.5 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.768e-05/0.01263, allocations: 35.36 kB / 385 MB, free: 17.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.601e-05/0.01268, allocations: 0.5078 MB / 385.5 MB, free: 16.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.358e-05/0.0127, allocations: 15.98 kB / 385.5 MB, free: 16.92 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.287e-05/0.01273, allocations: 35.36 kB / 385.6 MB, free: 16.88 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.945e-05/0.01279, allocations: 63.3 kB / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-06/0.01279, allocations: 0 / 385.6 MB, free: 16.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0001211/0.01291, allocations: 117.5 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.518e-06/0.01292, allocations: 4 kB / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.01293, allocations: 0 / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.075e-06/0.01293, allocations: 0 / 385.8 MB, free: 16.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.665e-05/0.013, allocations: 27.98 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.995e-06/0.013, allocations: 4 kB / 385.8 MB, free: 16.65 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.431e-05/0.01304, allocations: 7.953 kB / 385.8 MB, free: 16.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.715e-06/0.01305, allocations: 12.02 kB / 385.8 MB, free: 16.63 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.128e-05/0.0131, allocations: 168.5 kB / 386 MB, free: 16.45 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.01312, allocations: 19.91 kB / 386 MB, free: 16.43 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001611/0.01328, allocations: 139 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01328, allocations: 0 / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.433e-06/0.01328, allocations: 4 kB / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.01329, allocations: 0 / 386.1 MB, free: 16.29 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002807/0.01357, allocations: 437.2 kB / 386.6 MB, free: 15.82 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.01357, allocations: 8.062 kB / 386.6 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.386e-05/0.01361, allocations: 23.98 kB / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.01362, allocations: 0 / 386.6 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.905e-06/0.01362, allocations: 4 kB / 386.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.01363, allocations: 0 / 386.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.01363, allocations: 0 / 386.6 MB, free: 15.78 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.01376, allocations: 294.4 kB / 386.9 MB, free: 15.47 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.446e-05/0.01378, allocations: 15.89 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.0138, allocations: 8 kB / 386.9 MB, free: 15.45 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.284e-05/0.01386, allocations: 4 kB / 386.9 MB, free: 15.44 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.66e-05/0.01389, allocations: 23.91 kB / 386.9 MB, free: 15.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00301/0.0169, allocations: 4 kB / 386.9 MB, free: 15.41 MB / 314.7 MB Notification: Performance of sorting global known variables: time 7.521e-05/0.01697, allocations: 181.4 kB / 387.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of sort global known variables: time 8e-08/0.01697, allocations: 0 / 387.1 MB, free: 15.24 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002663/0.01724, allocations: 31.94 kB / 387.2 MB, free: 15.21 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.00109/0.01833, allocations: 0.4888 MB / 387.6 MB, free: 14.9 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001104/0.01844, allocations: 63.59 kB / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.01844, allocations: 0 / 387.7 MB, free: 14.84 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 4.569e-05/0.01849, allocations: 47.75 kB / 387.7 MB, free: 14.79 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002859/0.01877, allocations: 38.72 kB / 387.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.01909, allocations: 303.9 kB / 388.1 MB, free: 14.42 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.711e-05/0.01913, allocations: 75.88 kB / 388.2 MB, free: 14.32 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.878e-05/0.01918, allocations: 25.12 kB / 388.2 MB, free: 14.3 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.677e-05/0.01924, allocations: 94.19 kB / 388.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of SimCode: time 7.61e-07/0.01924, allocations: 0 / 388.3 MB, free: 14.21 MB / 314.7 MB Notification: Performance of Templates: time 0.01056/0.0298, allocations: 2.521 MB / 390.8 MB, free: 11.72 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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: 2.961186245083809]