Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.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.001038/0.001038, allocations: 80.31 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.001139/0.001139, allocations: 173.1 kB / 25.61 MB, free: 8.457 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.9582/0.9582, allocations: 177.1 MB / 206.1 MB, free: 4.516 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.144/0.144, 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.Test4,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.Test4") translateModel(ModelicaTest.Tables.CombiTimeTable.Test4,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.Test4") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 8.62e-07/8.62e-07, allocations: 0 / 377.4 MB, free: 25.5 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.445e-05/1.531e-05, allocations: 2.312 kB / 377.4 MB, free: 25.49 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test4): time 0.002147/0.002162, allocations: 1.761 MB / 379.1 MB, free: 23.72 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.001168/0.00333, allocations: 1.001 MB / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.608e-05/0.003396, allocations: 0 / 380.1 MB, free: 22.71 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002396/0.003636, allocations: 83.62 kB / 380.2 MB, free: 22.63 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002534/0.003889, allocations: 127.4 kB / 380.3 MB, free: 22.5 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001586/0.004048, allocations: 83.66 kB / 380.4 MB, free: 22.42 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001327/0.00418, allocations: 123.5 kB / 380.5 MB, free: 22.3 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.634e-05/0.004247, allocations: 15.98 kB / 380.5 MB, free: 22.29 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.57e-05/0.004322, allocations: 63.81 kB / 380.6 MB, free: 22.22 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.614e-05/0.004399, allocations: 55.88 kB / 380.7 MB, free: 22.17 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 1.268e-05/0.004411, allocations: 4 kB / 380.7 MB, free: 22.16 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.854e-05/0.0045, allocations: 71.78 kB / 380.7 MB, free: 22.09 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 4.036e-05/0.00454, allocations: 19.92 kB / 380.8 MB, free: 22.07 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 2.763e-05/0.004568, allocations: 27.86 kB / 380.8 MB, free: 22.05 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001481/0.004716, allocations: 123.6 kB / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.513e-06/0.004717, allocations: 0 / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 7.11e-07/0.004718, allocations: 0 / 380.9 MB, free: 21.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.687e-06/0.004722, allocations: 0 / 380.9 MB, free: 21.93 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0003231/0.005045, allocations: 467.6 kB / 381.4 MB, free: 21.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.814e-05/0.005073, allocations: 15.98 kB / 381.4 MB, free: 21.42 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.005107, allocations: 16.84 kB / 381.4 MB, free: 21.4 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.005218, allocations: 156.3 kB / 381.5 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.354e-05/0.005232, allocations: 4.375 kB / 381.6 MB, free: 21.22 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.005246, allocations: 12.31 kB / 381.6 MB, free: 21.21 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.136e-05/0.005327, allocations: 66.94 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.005336, allocations: 3.938 kB / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.352e-06/0.005343, allocations: 0 / 381.6 MB, free: 21.13 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.2e-06/0.005348, allocations: 4 kB / 381.6 MB, free: 21.12 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.644e-05/0.005374, allocations: 11.98 kB / 381.6 MB, free: 21.11 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001935/0.005568, allocations: 268.4 kB / 381.9 MB, free: 20.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001277/0.005696, allocations: 55.03 kB / 382 MB, free: 20.76 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.115e-05/0.005717, allocations: 19.67 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.044e-05/0.005727, allocations: 7.922 kB / 382 MB, free: 20.73 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.531e-05/0.005802, allocations: 69.11 kB / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005804, allocations: 0 / 382.1 MB, free: 20.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=11): time 0.0004147/0.006218, allocations: 200.6 kB / 382.3 MB, free: 20.45 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.937e-05/0.006238, allocations: 59.34 kB / 382.3 MB, free: 20.38 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000102/0.00634, allocations: 239.5 kB / 382.5 MB, free: 20.12 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.082e-05/0.006351, allocations: 29.69 kB / 382.6 MB, free: 20.09 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.91e-05/0.00639, allocations: 154.9 kB / 382.7 MB, free: 19.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.006417, allocations: 39.67 kB / 382.8 MB, free: 19.89 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.799e-05/0.006455, allocations: 39.34 kB / 382.8 MB, free: 19.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 4.772e-05/0.006503, allocations: 0.5078 MB / 383.3 MB, free: 19.32 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.006523, allocations: 11.98 kB / 383.3 MB, free: 19.31 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.204e-05/0.006555, allocations: 35.36 kB / 383.4 MB, free: 19.27 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.707e-05/0.006612, allocations: 55.3 kB / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.006613, allocations: 0 / 383.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001186/0.006732, allocations: 109.5 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.818e-06/0.006742, allocations: 4 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.006746, allocations: 0 / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.136e-06/0.006754, allocations: 4 kB / 383.5 MB, free: 19.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.718e-05/0.006811, allocations: 24.02 kB / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.845e-06/0.006814, allocations: 0 / 383.5 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.417e-05/0.006848, allocations: 12 kB / 383.6 MB, free: 19.05 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.823e-06/0.006855, allocations: 4 kB / 383.6 MB, free: 19.05 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 (13): * Single equations (assignments): 13 * 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.101e-05/0.006906, allocations: 164.5 kB / 383.7 MB, free: 18.88 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.028e-05/0.006926, allocations: 23.89 kB / 383.7 MB, free: 18.85 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001392/0.007065, allocations: 111.1 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.007068, allocations: 0 / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.473e-06/0.007069, allocations: 4 kB / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.007072, allocations: 0 / 383.9 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002558/0.007328, allocations: 413.1 kB / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.00733, allocations: 0 / 384.3 MB, free: 18.29 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.55e-05/0.007365, allocations: 19.98 kB / 384.3 MB, free: 18.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.007367, allocations: 3.938 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-06/0.007374, allocations: 4 kB / 384.3 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.007376, allocations: 4 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.763e-06/0.007377, allocations: 3.938 kB / 384.3 MB, free: 18.25 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.007499, allocations: 279.4 kB / 384.6 MB, free: 17.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.007514, allocations: 23.83 kB / 384.6 MB, free: 17.93 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.007532, allocations: 4.062 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.219e-05/0.007594, allocations: 4 kB / 384.6 MB, free: 17.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.534e-05/0.007619, allocations: 15.92 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.075e-05/0.00763, allocations: 4 kB / 384.6 MB, free: 17.9 MB / 314.7 MB Notification: Performance of sorting global known variables: time 5.136e-05/0.007681, allocations: 177.6 kB / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of sort global known variables: time 7e-08/0.007681, allocations: 0 / 384.8 MB, free: 17.73 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0002397/0.007921, allocations: 31.88 kB / 384.8 MB, free: 17.7 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 (12): * Single equations (assignments): 10 * 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.001022/0.008943, allocations: 497.1 kB / 385.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0001052/0.009048, allocations: 55.59 kB / 385.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 1.132e-06/0.00905, allocations: 0 / 385.4 MB, free: 17.34 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 3.998e-05/0.00909, allocations: 39.61 kB / 385.4 MB, free: 17.29 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002727/0.009362, allocations: 41.31 kB / 385.4 MB, free: 17.26 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003051/0.009667, allocations: 266.5 kB / 385.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.671e-05/0.009704, allocations: 71.2 kB / 385.8 MB, free: 16.88 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 4.381e-05/0.009748, allocations: 20.62 kB / 385.8 MB, free: 16.86 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.186e-05/0.00981, allocations: 94.19 kB / 385.9 MB, free: 16.76 MB / 314.7 MB Notification: Performance of SimCode: time 6.31e-07/0.00981, allocations: 0 / 385.9 MB, free: 16.76 MB / 314.7 MB Notification: Performance of Templates: time 0.003716/0.01353, allocations: 2.326 MB / 388.2 MB, free: 14.47 MB / 314.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test4/Test4.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.2679718411527574]