Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.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.001092/0.001092, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001838/0.001838, allocations: 161 kB / 24.56 MB, free: 16 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.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.59 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.278/0.278, allocations: 32.81 MB / 294.3 MB, free: 1.281 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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") translateModel(ModelicaTest.Tables.CombiTimeTable.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 376.1 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.196e-05/3.348e-05, allocations: 2.312 kB / 376.1 MB, free: 4.578 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.002798/0.002831, allocations: 1.766 MB / 377.9 MB, free: 2.797 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001321/0.004152, allocations: 1.005 MB / 378.9 MB, free: 1.785 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.068e-05/0.004233, allocations: 7.938 kB / 378.9 MB, free: 1.777 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003428/0.004576, allocations: 79.69 kB / 379 MB, free: 1.699 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003222/0.004898, allocations: 123.4 kB / 379.1 MB, free: 1.578 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001888/0.005087, allocations: 75.61 kB / 379.2 MB, free: 1.504 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001643/0.005251, allocations: 123.6 kB / 379.3 MB, free: 1.383 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.385e-05/0.005345, allocations: 7.984 kB / 379.3 MB, free: 1.375 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.024e-05/0.005435, allocations: 63.81 kB / 379.3 MB, free: 1.312 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001004/0.005536, allocations: 63.86 kB / 379.4 MB, free: 1.25 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/0.005552, allocations: 4 kB / 379.4 MB, free: 1.246 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.665e-05/0.005649, allocations: 47.86 kB / 379.5 MB, free: 1.199 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 6.117e-05/0.00571, allocations: 31.84 kB / 379.5 MB, free: 1.168 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.017e-05/0.00575, allocations: 15.94 kB / 379.5 MB, free: 1.152 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000184/0.005934, allocations: 99.66 kB / 379.6 MB, free: 1.055 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.005937, allocations: 3.984 kB / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.005938, allocations: 0 / 379.6 MB, free: 1.051 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.228e-06/0.005942, allocations: 0 / 379.6 MB, free: 1.051 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004771/0.006419, allocations: 459.8 kB / 380.1 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.006459, allocations: 12.03 kB / 380.1 MB, free: 0.5547 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.271e-05/0.006512, allocations: 16.84 kB / 380.1 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001828/0.006695, allocations: 156.4 kB / 380.2 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.073e-05/0.006715, allocations: 4.359 kB / 380.2 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.731e-05/0.006743, allocations: 8.328 kB / 380.2 MB, free: 356 kB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001287/0.006871, allocations: 62.94 kB / 380.3 MB, free: 284 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.179e-05/0.006883, allocations: 3.938 kB / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.929e-06/0.006893, allocations: 0 / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.594e-06/0.006901, allocations: 0 / 380.3 MB, free: 280 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.842e-05/0.006939, allocations: 15.98 kB / 380.3 MB, free: 264 kB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003284/0.007267, allocations: 287.8 kB / 380.6 MB, free: 15.94 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.007377, allocations: 55.11 kB / 380.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.333e-05/0.00741, allocations: 23.61 kB / 380.7 MB, free: 15.85 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.664e-05/0.007427, allocations: 4 kB / 380.7 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001043/0.007531, allocations: 65.05 kB / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 8.32e-07/0.007532, allocations: 0 / 380.8 MB, free: 15.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0004033/0.007936, allocations: 157.3 kB / 380.9 MB, free: 15.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.007967, allocations: 51.41 kB / 381 MB, free: 15.54 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001509/0.008118, allocations: 250.7 kB / 381.2 MB, free: 15.28 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.239e-05/0.00813, allocations: 29.7 kB / 381.2 MB, free: 15.24 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.542e-05/0.008195, allocations: 158.9 kB / 381.4 MB, free: 15.08 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.903e-05/0.008224, allocations: 31.72 kB / 381.4 MB, free: 15.05 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.095e-05/0.008255, allocations: 27.38 kB / 381.4 MB, free: 15.02 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001314/0.008387, allocations: 0.4962 MB / 381.9 MB, free: 14.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.712e-05/0.008414, allocations: 19.98 kB / 382 MB, free: 14.49 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.605e-05/0.00845, allocations: 27.36 kB / 382 MB, free: 14.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.485e-05/0.008535, allocations: 59.25 kB / 382 MB, free: 14.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.02e-07/0.008536, allocations: 3.938 kB / 382 MB, free: 14.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001052/0.008641, allocations: 89.62 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/0.008655, allocations: 4 kB / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.391e-06/0.00866, allocations: 384 / 382.1 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.008677, allocations: 4 kB / 382.1 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.09e-05/0.008747, allocations: 15.94 kB / 382.2 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.008755, allocations: 4 kB / 382.2 MB, free: 14.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.827e-05/0.008783, allocations: 7.984 kB / 382.2 MB, free: 14.25 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.442e-06/0.00879, allocations: 4 kB / 382.2 MB, free: 14.25 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 (10): * Single equations (assignments): 10 * 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 7.991e-05/0.00887, allocations: 160.5 kB / 382.3 MB, free: 14.08 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.874e-05/0.008888, allocations: 23.94 kB / 382.4 MB, free: 14.06 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001616/0.00905, allocations: 111.2 kB / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.009052, allocations: 0 / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.009056, allocations: 0 / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.009059, allocations: 0 / 382.5 MB, free: 13.95 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.00943, allocations: 400.9 kB / 382.9 MB, free: 13.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.009438, allocations: 3.984 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.009471, allocations: 8 kB / 382.9 MB, free: 13.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.009475, allocations: 4 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.009483, allocations: 0 / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.009484, allocations: 4.031 kB / 382.9 MB, free: 13.49 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.009487, allocations: 4 kB / 382.9 MB, free: 13.48 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001808/0.009668, allocations: 259.4 kB / 383.1 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.348e-05/0.009681, allocations: 7.953 kB / 383.1 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.22e-05/0.009703, allocations: 7.984 kB / 383.1 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.009764, allocations: 4 kB / 383.2 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.904e-05/0.009803, allocations: 11.92 kB / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.557e-05/0.009819, allocations: 0 / 383.2 MB, free: 13.18 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001079/0.009926, allocations: 185 kB / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of sort global known variables: time 9e-08/0.009927, allocations: 0 / 383.3 MB, free: 13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002624/0.01019, allocations: 31.92 kB / 383.4 MB, free: 12.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (9): * Single equations (assignments): 7 * 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.001085/0.01127, allocations: 451.2 kB / 383.8 MB, free: 12.68 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001397/0.01141, allocations: 55.58 kB / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.01142, allocations: 0 / 383.9 MB, free: 12.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 5.348e-05/0.01147, allocations: 39.61 kB / 383.9 MB, free: 12.58 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003059/0.01177, allocations: 19.98 kB / 383.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004002/0.01217, allocations: 244.7 kB / 384.2 MB, free: 12.29 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.54e-05/0.01223, allocations: 71.28 kB / 384.2 MB, free: 12.2 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 4.148e-05/0.01227, allocations: 17.27 kB / 384.3 MB, free: 12.18 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.685e-05/0.01231, allocations: 20.5 kB / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of SimCode: time 7.92e-07/0.01231, allocations: 0 / 384.3 MB, free: 12.16 MB / 362.7 MB Notification: Performance of Templates: time 0.004302/0.01661, allocations: 1.877 MB / 386.2 MB, free: 10.31 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test41/Test41.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.438929927069694]