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.002311/0.002311, allocations: 113.1 kB / 20.43 MB, free: 1.457 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.002275/0.002275, allocations: 216.5 kB / 23.75 MB, free: 4.668 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.675/1.675, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.2659/0.2659, allocations: 46.93 MB / 360.8 MB, free: 4.262 MB / 286.1 MB " [Timeout remaining time 179] 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.1.|t_new.y.2.|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.1.|t_new.y.2.|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 0.002278/0.002278, allocations: 67.89 kB / 0.4967 GB, free: 7.324 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4291/0.4313, allocations: 66.03 MB / 0.5612 GB, free: 4.414 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test8): time 0.003788/0.4351, allocations: 1.78 MB / 0.5629 GB, free: 2.617 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002137/0.4373, allocations: 1.049 MB / 0.564 GB, free: 1.562 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001126/0.4374, allocations: 3.938 kB / 0.564 GB, free: 1.559 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000379/0.4378, allocations: 111.7 kB / 0.5641 GB, free: 1.449 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004267/0.4382, allocations: 127.5 kB / 0.5642 GB, free: 1.324 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.4384, allocations: 79.67 kB / 0.5643 GB, free: 1.246 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002585/0.4387, allocations: 135.6 kB / 0.5644 GB, free: 1.113 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001048/0.4388, allocations: 15.97 kB / 0.5644 GB, free: 1.098 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001365/0.4389, allocations: 63.75 kB / 0.5645 GB, free: 1.035 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.4391, allocations: 71.73 kB / 0.5645 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.163e-05/0.4391, allocations: 8 kB / 0.5646 GB, free: 0.957 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001745/0.4393, allocations: 63.98 kB / 0.5646 GB, free: 0.8945 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.82e-05/0.4394, allocations: 27.89 kB / 0.5646 GB, free: 0.8672 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.095e-05/0.4394, allocations: 51.56 kB / 0.5647 GB, free: 0.8164 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003119/0.4397, allocations: 153.7 kB / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.4397, allocations: 0 / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4397, allocations: 0 / 0.5648 GB, free: 0.6719 MB / 398.1 MB Notification: Performance of Transformations before backend: time 7.313e-06/0.4398, allocations: 0 / 0.5648 GB, free: 0.6719 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006868/0.4404, allocations: 397.2 kB / 0.5652 GB, free: 260 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/0.4405, allocations: 12.03 kB / 0.5652 GB, free: 248 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.985e-05/0.4406, allocations: 16.84 kB / 0.5652 GB, free: 232 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003629/0.4409, allocations: 171.1 kB / 0.5654 GB, free: 32 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.447e-05/0.4409, allocations: 4.375 kB / 0.5654 GB, free: 28 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.837e-05/0.441, allocations: 12.12 kB / 0.5654 GB, free: 16 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002039/0.4412, allocations: 61.66 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.4e-05/0.4412, allocations: 0 / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.685e-05/0.4412, allocations: 4 kB / 0.5655 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.4412, allocations: 4 kB / 0.5655 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001092/0.4413, allocations: 31.91 kB / 0.5655 GB, free: 15.91 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004873/0.4418, allocations: 295.8 kB / 0.5658 GB, free: 15.58 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002992/0.4421, allocations: 70.53 kB / 0.5659 GB, free: 15.5 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.631e-05/0.4422, allocations: 16.86 kB / 0.5659 GB, free: 15.48 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.4422, allocations: 12.02 kB / 0.5659 GB, free: 15.47 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002087/0.4424, allocations: 79.33 kB / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of pre-optimization done (n=8): time 1.853e-06/0.4424, allocations: 0 / 0.566 GB, free: 15.38 MB / 414.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009471/0.4434, allocations: 277.2 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/0.4434, allocations: 59.34 kB / 0.5663 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002935/0.4437, allocations: 255.8 kB / 0.5665 GB, free: 14.77 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.486e-05/0.4437, allocations: 25.7 kB / 0.5666 GB, free: 14.73 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.606e-05/0.4438, allocations: 112.1 kB / 0.5667 GB, free: 14.62 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.148e-05/0.4439, allocations: 47.69 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.594e-05/0.4439, allocations: 29.7 kB / 0.5667 GB, free: 14.54 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001601/0.4441, allocations: 322.8 kB / 0.567 GB, free: 14.21 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.94e-05/0.4442, allocations: 35.98 kB / 0.5671 GB, free: 14.18 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001166/0.4443, allocations: 57.62 kB / 0.5671 GB, free: 14.12 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.4445, allocations: 89.7 kB / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4445, allocations: 0 / 0.5672 GB, free: 14.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002848/0.4448, allocations: 141.5 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.559e-05/0.4448, allocations: 4 kB / 0.5674 GB, free: 13.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.4448, allocations: 4 kB / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.279e-05/0.4448, allocations: 0 / 0.5674 GB, free: 13.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.115e-05/0.4449, allocations: 20 kB / 0.5674 GB, free: 13.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.143e-05/0.4449, allocations: 8.625 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.181e-05/0.4449, allocations: 7.953 kB / 0.5674 GB, free: 13.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.655e-06/0.445, allocations: 4.031 kB / 0.5674 GB, free: 13.83 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 (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 0.0001325/0.4451, allocations: 141.8 kB / 0.5675 GB, free: 13.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.4451, allocations: 15.91 kB / 0.5676 GB, free: 13.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003345/0.4455, allocations: 170.9 kB / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.574e-06/0.4455, allocations: 0 / 0.5677 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.408e-06/0.4455, allocations: 11.94 kB / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.4455, allocations: 0 / 0.5677 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006237/0.4461, allocations: 451 kB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.622e-06/0.4461, allocations: 4 kB / 0.5682 GB, free: 12.98 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.531e-05/0.4462, allocations: 15.98 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.886e-06/0.4462, allocations: 0 / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/0.4462, allocations: 8 kB / 0.5682 GB, free: 12.96 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.4462, allocations: 3.938 kB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.4462, allocations: 4 kB / 0.5682 GB, free: 12.95 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003267/0.4465, allocations: 253.4 kB / 0.5684 GB, free: 12.68 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.538e-05/0.4465, allocations: 15.84 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.824e-05/0.4466, allocations: 4 kB / 0.5685 GB, free: 12.66 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.147e-05/0.4466, allocations: 7.984 kB / 0.5685 GB, free: 12.65 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.712e-05/0.4467, allocations: 7.984 kB / 0.5685 GB, free: 12.64 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.752e-05/0.4467, allocations: 11.94 kB / 0.5685 GB, free: 12.63 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001959/0.4469, allocations: 193.5 kB / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4469, allocations: 0 / 0.5687 GB, free: 12.45 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002905/0.4472, allocations: 35.92 kB / 0.5687 GB, free: 12.41 MB / 414.1 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.002015/0.4492, allocations: 0.4967 MB / 0.5692 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002489/0.4494, allocations: 83.84 kB / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.4494, allocations: 0 / 0.5693 GB, free: 12.04 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.829e-05/0.4495, allocations: 40.05 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003683/0.4499, allocations: 48.88 kB / 0.5693 GB, free: 11.95 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006447/0.4506, allocations: 312.5 kB / 0.5696 GB, free: 11.61 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004311/0.451, allocations: 0.724 MB / 0.5704 GB, free: 10.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 7.72e-05/0.4511, allocations: 29.06 kB / 0.5704 GB, free: 10.84 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.131e-05/0.4511, allocations: 19.42 kB / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4511, allocations: 0 / 0.5704 GB, free: 10.82 MB / 414.1 MB Notification: Performance of Templates: time 0.006151/0.4573, allocations: 2.175 MB / 0.5725 GB, free: 8.66 MB / 414.1 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=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test8.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: 5.645463677821681]