Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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.001574/0.001574, allocations: 112.2 kB / 21.19 MB, free: 0.7578 MB / 14.72 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.001691/0.001691, allocations: 209.8 kB / 24.5 MB, free: 4.133 MB / 14.72 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.438/1.438, allocations: 230.6 MB / 258.3 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] 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.2398/0.2398, allocations: 46.93 MB / 361.6 MB, free: 4.262 MB / 286.1 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.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") translateModel(ModelicaTest.Tables.CombiTimeTable.Test2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002021/0.002021, allocations: 67.84 kB / 0.4975 GB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4003/0.4023, allocations: 66.03 MB / 0.5619 GB, free: 4.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test2): time 0.003948/0.4063, allocations: 1.747 MB / 0.5636 GB, free: 2.648 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002016/0.4083, allocations: 1.049 MB / 0.5647 GB, free: 1.594 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.199e-05/0.4084, allocations: 7.875 kB / 0.5647 GB, free: 1.586 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000336/0.4087, allocations: 35.78 kB / 0.5647 GB, free: 1.551 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004115/0.4091, allocations: 91.59 kB / 0.5648 GB, free: 1.461 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002136/0.4094, allocations: 83.66 kB / 0.5649 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000252/0.4096, allocations: 95.77 kB / 0.565 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.4097, allocations: 11.92 kB / 0.565 GB, free: 1.273 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001171/0.4098, allocations: 59.66 kB / 0.565 GB, free: 1.215 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.951e-05/0.4099, allocations: 31.84 kB / 0.5651 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.793e-05/0.4099, allocations: 4 kB / 0.5651 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001084/0.4101, allocations: 43.97 kB / 0.5651 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.995e-05/0.4101, allocations: 19.92 kB / 0.5651 GB, free: 1.117 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.505e-05/0.4102, allocations: 31.75 kB / 0.5652 GB, free: 1.086 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003235/0.4105, allocations: 125.8 kB / 0.5653 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.4105, allocations: 0 / 0.5653 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.4105, allocations: 0 / 0.5653 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.723e-06/0.4105, allocations: 0 / 0.5653 GB, free: 0.9688 MB / 398.1 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.0007438/0.4113, allocations: 337.7 kB / 0.5656 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/0.4113, allocations: 8.031 kB / 0.5656 GB, free: 0.6016 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.41e-05/0.4114, allocations: 12.89 kB / 0.5656 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003694/0.4117, allocations: 142.3 kB / 0.5658 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.204e-05/0.4118, allocations: 8.375 kB / 0.5658 GB, free: 428 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.955e-05/0.4118, allocations: 4.125 kB / 0.5658 GB, free: 424 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000174/0.412, allocations: 57.61 kB / 0.5658 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.408e-05/0.412, allocations: 0 / 0.5658 GB, free: 360 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.383e-05/0.412, allocations: 4 kB / 0.5658 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.412, allocations: 4 kB / 0.5658 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.893e-05/0.4121, allocations: 15.98 kB / 0.5659 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004391/0.4125, allocations: 263.9 kB / 0.5661 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002032/0.4127, allocations: 54.61 kB / 0.5662 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.725e-05/0.4128, allocations: 16.86 kB / 0.5662 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.621e-05/0.4128, allocations: 7.938 kB / 0.5662 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00019/0.413, allocations: 71.38 kB / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.323e-06/0.413, allocations: 0 / 0.5662 GB, free: 15.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006132/0.4136, allocations: 173.6 kB / 0.5664 GB, free: 15.68 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.04e-05/0.4137, allocations: 51.41 kB / 0.5665 GB, free: 15.62 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002089/0.4139, allocations: 174.2 kB / 0.5666 GB, free: 15.43 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.621e-05/0.4139, allocations: 29.7 kB / 0.5667 GB, free: 15.4 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.691e-05/0.414, allocations: 100.1 kB / 0.5668 GB, free: 15.3 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.485e-05/0.414, allocations: 31.77 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.528e-05/0.4141, allocations: 21.72 kB / 0.5668 GB, free: 15.24 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002505/0.4143, allocations: 326.8 kB / 0.5671 GB, free: 14.91 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.531e-05/0.4144, allocations: 19.98 kB / 0.5671 GB, free: 14.89 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.324e-05/0.4145, allocations: 45.58 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001309/0.4146, allocations: 61.7 kB / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/0.4146, allocations: 0 / 0.5672 GB, free: 14.77 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001971/0.4148, allocations: 97.53 kB / 0.5673 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.4148, allocations: 8 kB / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.79e-06/0.4148, allocations: 0 / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.82e-05/0.4149, allocations: 0 / 0.5673 GB, free: 14.66 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.415, allocations: 15.98 kB / 0.5674 GB, free: 14.65 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.415, allocations: 4 kB / 0.5674 GB, free: 14.64 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.721e-05/0.415, allocations: 11.97 kB / 0.5674 GB, free: 14.63 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.03e-05/0.415, allocations: 4 kB / 0.5674 GB, free: 14.63 MB / 414.1 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 0.0002032/0.4152, allocations: 125.8 kB / 0.5675 GB, free: 14.5 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.132e-05/0.4153, allocations: 7.953 kB / 0.5675 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002667/0.4155, allocations: 122.5 kB / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.4155, allocations: 0 / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.117e-06/0.4155, allocations: 0 / 0.5676 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.038e-05/0.4155, allocations: 11.92 kB / 0.5676 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.416, allocations: 358.4 kB / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.416, allocations: 0 / 0.568 GB, free: 13.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.045e-05/0.416, allocations: 8 kB / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.416, allocations: 0 / 0.568 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/0.4161, allocations: 7.938 kB / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.4161, allocations: 0 / 0.568 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4161, allocations: 7.922 kB / 0.568 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002454/0.4163, allocations: 208.3 kB / 0.5682 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.909e-05/0.4163, allocations: 11.91 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.529e-05/0.4164, allocations: 3.938 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.873e-05/0.4164, allocations: 8 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.408e-05/0.4165, allocations: 7.984 kB / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.298e-05/0.4165, allocations: 0 / 0.5682 GB, free: 13.67 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001247/0.4166, allocations: 132.1 kB / 0.5683 GB, free: 13.54 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4166, allocations: 4 kB / 0.5684 GB, free: 13.54 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002592/0.4169, allocations: 27.92 kB / 0.5684 GB, free: 13.51 MB / 414.1 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 (8): * Single equations (assignments): 6 * 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.001808/0.4187, allocations: 464.8 kB / 0.5688 GB, free: 13.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001977/0.4189, allocations: 55.97 kB / 0.5689 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.4189, allocations: 0 / 0.5689 GB, free: 13.18 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.679e-05/0.419, allocations: 31.88 kB / 0.5689 GB, free: 13.15 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003663/0.4193, allocations: 33.47 kB / 0.5689 GB, free: 13.12 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005467/0.4199, allocations: 229.3 kB / 0.5692 GB, free: 12.86 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005468/0.4204, allocations: 0.7081 MB / 0.5698 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.284e-05/0.4205, allocations: 15.44 kB / 0.5699 GB, free: 12.11 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.4205, allocations: 0 / 0.5699 GB, free: 12.11 MB / 414.1 MB Notification: Performance of Templates: time 0.004419/0.4249, allocations: 1.913 MB / 0.5717 GB, free: 10.2 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test2/Test2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test2.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: 7.983396244933829]