Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.0009584/0.0009584, 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.001483/0.001483, allocations: 165.4 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 0.9682/0.9682, allocations: 177.1 MB / 205 MB, free: 5.293 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.2679/0.2679, allocations: 34.26 MB / 295.7 MB, free: 0.6328 MB / 266.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.Test41,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5065,variableFilter="time|t_new.y.[0-9,]+.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test41") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 378.1 MB, free: 2.547 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.473e-05/1.615e-05, allocations: 6.312 kB / 378.1 MB, free: 2.539 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test41): time 0.00214/0.002156, allocations: 1.761 MB / 379.9 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.001182/0.003338, allocations: 1.009 MB / 380.9 MB, free: 15.75 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.003404, allocations: 4 kB / 380.9 MB, free: 15.74 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003075/0.003711, allocations: 83.47 kB / 381 MB, free: 15.66 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.00401, allocations: 115.5 kB / 381.1 MB, free: 15.55 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001765/0.004186, allocations: 87.55 kB / 381.2 MB, free: 15.46 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001662/0.004352, allocations: 119.6 kB / 381.3 MB, free: 15.35 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.343e-05/0.004436, allocations: 7.984 kB / 381.3 MB, free: 15.34 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.906e-05/0.004525, allocations: 67.75 kB / 381.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001066/0.004631, allocations: 59.86 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 1.703e-05/0.004648, allocations: 8 kB / 381.4 MB, free: 15.21 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003852/0.005034, allocations: 43.92 kB / 381.5 MB, free: 15.16 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 5.317e-05/0.005087, allocations: 19.92 kB / 381.5 MB, free: 15.14 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 4.229e-05/0.005129, allocations: 27.86 kB / 381.5 MB, free: 15.12 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00017/0.005299, allocations: 103.6 kB / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.005301, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of FrontEnd: time 5.41e-07/0.005301, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.005305, allocations: 0 / 381.6 MB, free: 15.02 MB / 362.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.0004846/0.00579, allocations: 455.8 kB / 382.1 MB, free: 14.54 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.744e-05/0.005827, allocations: 8.031 kB / 382.1 MB, free: 14.53 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.318e-05/0.00588, allocations: 24.83 kB / 382.1 MB, free: 14.5 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001662/0.006047, allocations: 152.4 kB / 382.3 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.046e-05/0.006067, allocations: 8.375 kB / 382.3 MB, free: 14.32 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.218e-05/0.006089, allocations: 8.312 kB / 382.3 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001196/0.006209, allocations: 62.94 kB / 382.3 MB, free: 14.24 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.006219, allocations: 7.875 kB / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.338e-06/0.006229, allocations: 0 / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.194e-06/0.006236, allocations: 0 / 382.3 MB, free: 14.23 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.256e-05/0.006268, allocations: 11.98 kB / 382.4 MB, free: 14.22 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003096/0.006578, allocations: 287.8 kB / 382.6 MB, free: 13.91 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001106/0.006688, allocations: 59.11 kB / 382.7 MB, free: 13.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.00672, allocations: 19.62 kB / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.18e-05/0.006732, allocations: 0 / 382.7 MB, free: 13.81 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.802e-05/0.00683, allocations: 77.03 kB / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of pre-optimization done (n=6): time 9.32e-07/0.006831, allocations: 0 / 382.8 MB, free: 13.72 MB / 362.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003727/0.007203, allocations: 157.3 kB / 382.9 MB, free: 13.56 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.222e-05/0.007235, allocations: 51.41 kB / 383 MB, free: 13.5 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.007377, allocations: 242.7 kB / 383.2 MB, free: 13.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.00739, allocations: 29.7 kB / 383.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.173e-05/0.007461, allocations: 162.9 kB / 383.4 MB, free: 13.04 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.353e-05/0.007495, allocations: 31.73 kB / 383.4 MB, free: 13.01 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.409e-05/0.007529, allocations: 27.38 kB / 383.5 MB, free: 12.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.007659, allocations: 0.4962 MB / 384 MB, free: 12.47 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.007685, allocations: 11.98 kB / 384 MB, free: 12.46 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.72e-05/0.007722, allocations: 43.28 kB / 384 MB, free: 12.41 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.531e-05/0.007777, allocations: 51.38 kB / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.007778, allocations: 0 / 384.1 MB, free: 12.35 MB / 362.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 9.668e-05/0.007875, allocations: 89.58 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.007887, allocations: 8.031 kB / 384.2 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.359e-06/0.007891, allocations: 4 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.007908, allocations: 3.984 kB / 384.2 MB, free: 12.24 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.679e-05/0.007974, allocations: 12 kB / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.007979, allocations: 0 / 384.2 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.968e-05/0.008009, allocations: 4 kB / 384.2 MB, free: 12.22 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.008017, allocations: 4 kB / 384.2 MB, free: 12.22 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 8.666e-05/0.008104, allocations: 168.4 kB / 384.4 MB, free: 12.04 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.589e-05/0.00812, allocations: 19.84 kB / 384.4 MB, free: 12.02 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000137/0.008257, allocations: 111.1 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.008259, allocations: 4 kB / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.008264, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.008267, allocations: 0 / 384.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000342/0.008609, allocations: 396.9 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.735e-06/0.008612, allocations: 4 kB / 384.9 MB, free: 11.47 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.56e-05/0.008648, allocations: 11.98 kB / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.575e-06/0.00865, allocations: 0 / 384.9 MB, free: 11.46 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.008661, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.008664, allocations: 4 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.008666, allocations: 4.406 kB / 384.9 MB, free: 11.45 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001651/0.008831, allocations: 259.4 kB / 385.2 MB, free: 11.17 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.203e-05/0.008843, allocations: 7.953 kB / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.703e-05/0.00886, allocations: 0 / 385.2 MB, free: 11.16 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.538e-05/0.008905, allocations: 15.98 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.082e-05/0.008936, allocations: 4 kB / 385.2 MB, free: 11.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.564e-05/0.008952, allocations: 7.984 kB / 385.2 MB, free: 11.13 MB / 362.7 MB Notification: Performance of sorting global known variables: time 9.148e-05/0.009043, allocations: 185 kB / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.009043, allocations: 0 / 385.4 MB, free: 10.95 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0001742/0.009218, allocations: 27.92 kB / 385.4 MB, free: 10.93 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.0008866/0.0101, allocations: 438.5 kB / 385.8 MB, free: 10.65 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001172/0.01022, allocations: 51.67 kB / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.373e-06/0.01022, allocations: 0 / 385.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.944e-05/0.01026, allocations: 31.61 kB / 385.9 MB, free: 10.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000237/0.0105, allocations: 36.47 kB / 386 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.01084, allocations: 236.6 kB / 386.2 MB, free: 10.27 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.531e-05/0.01088, allocations: 71.39 kB / 386.3 MB, free: 10.18 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.362e-05/0.01091, allocations: 20.97 kB / 386.3 MB, free: 10.15 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.14e-05/0.01095, allocations: 24.38 kB / 386.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of SimCode: time 3.91e-07/0.01095, allocations: 0 / 386.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of Templates: time 0.003705/0.01465, allocations: 2.016 MB / 388.3 MB, free: 8.145 MB / 362.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test41_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.0092365401796997]