Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.001471/0.001471, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001665/0.001665, allocations: 201.9 kB / 23.73 MB, free: 4.379 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.572/1.572, allocations: 230.6 MB / 257.5 MB, free: 7.785 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.2441/0.2441, allocations: 46.96 MB / 360.9 MB, free: 4.133 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.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") translateModel(ModelicaTest.Tables.CombiTimeTable.Test73,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|t_new_2.y.1.|d_t_new_2.y|d2_t_new.y|d2_t_new_2.y",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 71.89 kB / 0.4967 GB, free: 7.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3948/0.3969, allocations: 66.03 MB / 0.5612 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test73): time 0.004007/0.4009, allocations: 1.866 MB / 0.563 GB, free: 2.273 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.00219/0.4031, allocations: 1.081 MB / 0.564 GB, free: 1.188 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001156/0.4032, allocations: 3.938 kB / 0.564 GB, free: 1.184 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004525/0.4037, allocations: 159.5 kB / 0.5642 GB, free: 1.027 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004977/0.4042, allocations: 187.2 kB / 0.5644 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003821/0.4045, allocations: 115.7 kB / 0.5645 GB, free: 0.7305 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003671/0.4049, allocations: 243.3 kB / 0.5647 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.405, allocations: 25.94 kB / 0.5647 GB, free: 476 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001779/0.4052, allocations: 119.5 kB / 0.5649 GB, free: 356 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002327/0.4055, allocations: 143.5 kB / 0.565 GB, free: 212 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.4055, allocations: 8 kB / 0.565 GB, free: 204 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001658/0.4057, allocations: 67.92 kB / 0.5651 GB, free: 136 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000107/0.4058, allocations: 51.77 kB / 0.5651 GB, free: 84 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 9.27e-05/0.4059, allocations: 67.53 kB / 0.5652 GB, free: 16 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003989/0.4063, allocations: 233.4 kB / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.4063, allocations: 0 / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.4063, allocations: 0 / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Performance of Transformations before backend: time 7.474e-06/0.4063, allocations: 0 / 0.5654 GB, free: 15.79 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001043/0.4073, allocations: 480.6 kB / 0.5659 GB, free: 15.29 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.021e-05/0.4074, allocations: 12.03 kB / 0.5659 GB, free: 15.28 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.074e-05/0.4075, allocations: 28.75 kB / 0.5659 GB, free: 15.25 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005263/0.408, allocations: 210.5 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.408, allocations: 4.375 kB / 0.5661 GB, free: 15.02 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.975e-05/0.4081, allocations: 16.12 kB / 0.5661 GB, free: 15 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003412/0.4084, allocations: 111.3 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.816e-05/0.4084, allocations: 0 / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.066e-05/0.4084, allocations: 4 kB / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.295e-05/0.4085, allocations: 0 / 0.5662 GB, free: 14.88 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001715/0.4086, allocations: 59.89 kB / 0.5663 GB, free: 14.82 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007903/0.4094, allocations: 404.4 kB / 0.5667 GB, free: 14.39 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005145/0.4099, allocations: 117.2 kB / 0.5668 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000133/0.4101, allocations: 49.81 kB / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.305e-05/0.4101, allocations: 0 / 0.5668 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003516/0.4104, allocations: 133 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.403e-06/0.4104, allocations: 0 / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001595/0.412, allocations: 0.5006 MB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.518e-05/0.4121, allocations: 89.05 kB / 0.5675 GB, free: 13.45 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004593/0.4126, allocations: 384.4 kB / 0.5679 GB, free: 13.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.39e-05/0.4126, allocations: 33.69 kB / 0.5679 GB, free: 13.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.4127, allocations: 152.5 kB / 0.5681 GB, free: 12.86 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.351e-05/0.4128, allocations: 71.38 kB / 0.5681 GB, free: 12.79 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.301e-05/0.4129, allocations: 41.7 kB / 0.5682 GB, free: 12.74 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001946/0.4131, allocations: 346.8 kB / 0.5685 GB, free: 12.39 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.4132, allocations: 59.97 kB / 0.5686 GB, free: 12.34 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.4134, allocations: 99.33 kB / 0.5687 GB, free: 12.23 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003069/0.4137, allocations: 163.5 kB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.4137, allocations: 0 / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004368/0.4142, allocations: 233.3 kB / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.78e-05/0.4142, allocations: 4.062 kB / 0.569 GB, free: 11.82 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.005e-06/0.4142, allocations: 7.938 kB / 0.5691 GB, free: 11.81 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.4142, allocations: 4 kB / 0.5691 GB, free: 11.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001632/0.4144, allocations: 43.92 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4144, allocations: 4 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.86e-05/0.4145, allocations: 11.98 kB / 0.5691 GB, free: 11.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.227e-05/0.4145, allocations: 13.16 kB / 0.5691 GB, free: 11.73 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.t_new_2.nextTimeEvent,$whenCondition1,t_new_2.nextTimeEventScaled,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001686/0.4147, allocations: 154.3 kB / 0.5693 GB, free: 11.57 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.067e-05/0.4147, allocations: 27.81 kB / 0.5693 GB, free: 11.55 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006041/0.4153, allocations: 283.5 kB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.494e-06/0.4153, allocations: 4 kB / 0.5696 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.4153, allocations: 3.938 kB / 0.5696 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.619e-06/0.4153, allocations: 0 / 0.5696 GB, free: 11.26 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001017/0.4164, allocations: 0.6722 MB / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4164, allocations: 0 / 0.5702 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.996e-05/0.4165, allocations: 35.98 kB / 0.5703 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.4165, allocations: 0 / 0.5703 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.923e-05/0.4165, allocations: 8.125 kB / 0.5703 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.466e-06/0.4165, allocations: 12.11 kB / 0.5703 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.4165, allocations: 0 / 0.5703 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005833/0.4171, allocations: 447.3 kB / 0.5707 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.387e-05/0.4171, allocations: 19.86 kB / 0.5707 GB, free: 9.996 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.328e-05/0.4172, allocations: 8 kB / 0.5707 GB, free: 9.988 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001477/0.4173, allocations: 11.98 kB / 0.5708 GB, free: 9.977 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.707e-05/0.4174, allocations: 35.84 kB / 0.5708 GB, free: 9.941 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.837e-05/0.4174, allocations: 8 kB / 0.5708 GB, free: 9.934 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003478/0.4178, allocations: 291 kB / 0.5711 GB, free: 9.648 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4178, allocations: 0 / 0.5711 GB, free: 9.648 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004267/0.4182, allocations: 55.89 kB / 0.5711 GB, free: 9.594 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.00243/0.4206, allocations: 0.5562 MB / 0.5717 GB, free: 9.281 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004599/0.4211, allocations: 147.8 kB / 0.5718 GB, free: 9.137 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.4211, allocations: 4 kB / 0.5718 GB, free: 9.133 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002021/0.4213, allocations: 88.02 kB / 0.5719 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006581/0.4219, allocations: 67.03 kB / 0.572 GB, free: 8.988 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00102/0.423, allocations: 0.5119 MB / 0.5725 GB, free: 8.43 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000204/0.4232, allocations: 153.6 kB / 0.5726 GB, free: 8.262 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.4233, allocations: 33.94 kB / 0.5726 GB, free: 8.227 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.623e-05/0.4234, allocations: 35.42 kB / 0.5727 GB, free: 8.191 MB / 414.1 MB Notification: Performance of SimCode: time 4.71e-07/0.4234, allocations: 0 / 0.5727 GB, free: 8.191 MB / 414.1 MB Notification: Performance of Templates: time 0.00882/0.4322, allocations: 3.544 MB / 0.5761 GB, free: 4.695 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test73/Test73.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test73.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.418507668655366]