Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001756/0.001756, allocations: 109.1 kB / 21.84 MB, free: 88 kB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002332/0.002332, allocations: 220.9 kB / 25.13 MB, free: 3.609 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 230.4 MB / 258.7 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.231/0.231, allocations: 46.94 MB / 362.1 MB, free: 4.234 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35") translateModel(ModelicaTest.Tables.CombiTimeTable.Test35,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|t_new.y.1.|d_t_new.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002454/0.002454, allocations: 83.88 kB / 0.4979 GB, free: 7.328 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3447, allocations: 66.08 MB / 0.5624 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test35): time 0.003468/0.3482, allocations: 1.768 MB / 0.5641 GB, free: 2.461 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001978/0.3502, allocations: 1.053 MB / 0.5651 GB, free: 1.402 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001051/0.3503, allocations: 3.938 kB / 0.5652 GB, free: 1.398 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003851/0.3507, allocations: 91.64 kB / 0.5652 GB, free: 1.309 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004/0.3511, allocations: 119.6 kB / 0.5654 GB, free: 1.191 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002331/0.3513, allocations: 83.66 kB / 0.5654 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002363/0.3516, allocations: 119.7 kB / 0.5655 GB, free: 0.9922 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001287/0.3517, allocations: 23.89 kB / 0.5656 GB, free: 0.9688 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.3518, allocations: 59.78 kB / 0.5656 GB, free: 0.9102 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.352, allocations: 67.8 kB / 0.5657 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.651e-05/0.352, allocations: 4 kB / 0.5657 GB, free: 0.8398 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001656/0.3522, allocations: 67.95 kB / 0.5658 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 8.804e-05/0.3523, allocations: 23.86 kB / 0.5658 GB, free: 0.75 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.589e-05/0.3523, allocations: 43.62 kB / 0.5658 GB, free: 0.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002808/0.3526, allocations: 149.9 kB / 0.566 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.296e-06/0.3526, allocations: 0 / 0.566 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of FrontEnd: time 9.41e-07/0.3526, allocations: 0 / 0.566 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of Transformations before backend: time 4.92e-06/0.3526, allocations: 0 / 0.566 GB, free: 0.5664 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006037/0.3532, allocations: 381.3 kB / 0.5663 GB, free: 168 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.3533, allocations: 8.031 kB / 0.5663 GB, free: 160 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.231e-05/0.3533, allocations: 16.84 kB / 0.5664 GB, free: 144 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003075/0.3536, allocations: 152.6 kB / 0.5665 GB, free: 15.96 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.805e-05/0.3536, allocations: 12.31 kB / 0.5665 GB, free: 15.95 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.268e-05/0.3537, allocations: 4.359 kB / 0.5665 GB, free: 15.94 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001715/0.3538, allocations: 60.67 kB / 0.5666 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3538, allocations: 4 kB / 0.5666 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.668e-06/0.3539, allocations: 0 / 0.5666 GB, free: 15.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/0.3539, allocations: 4 kB / 0.5666 GB, free: 15.87 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.124e-05/0.3539, allocations: 27.91 kB / 0.5666 GB, free: 15.84 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004129/0.3544, allocations: 283.7 kB / 0.5669 GB, free: 15.52 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.3546, allocations: 58.48 kB / 0.5669 GB, free: 15.46 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.492e-05/0.3547, allocations: 24.97 kB / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/0.3547, allocations: 0 / 0.567 GB, free: 15.43 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001601/0.3549, allocations: 71.45 kB / 0.567 GB, free: 15.35 MB / 414.1 MB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.3549, allocations: 0 / 0.567 GB, free: 15.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=11): time 0.0008393/0.3557, allocations: 253.6 kB / 0.5673 GB, free: 15.09 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.107e-05/0.3557, allocations: 51.41 kB / 0.5673 GB, free: 15.03 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002714/0.356, allocations: 246.9 kB / 0.5676 GB, free: 14.78 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.356, allocations: 25.7 kB / 0.5676 GB, free: 14.75 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.229e-05/0.3561, allocations: 112.1 kB / 0.5677 GB, free: 14.63 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.317e-05/0.3562, allocations: 35.69 kB / 0.5677 GB, free: 14.6 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.837e-05/0.3562, allocations: 25.72 kB / 0.5677 GB, free: 14.57 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3564, allocations: 326.8 kB / 0.5681 GB, free: 14.24 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.318e-05/0.3565, allocations: 27.98 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.203e-05/0.3565, allocations: 49.7 kB / 0.5681 GB, free: 14.16 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.3567, allocations: 81.58 kB / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.242e-06/0.3567, allocations: 0 / 0.5682 GB, free: 14.07 MB / 414.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002372/0.357, allocations: 129.6 kB / 0.5683 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.357, allocations: 4 kB / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.121e-06/0.357, allocations: 3.938 kB / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.357, allocations: 4 kB / 0.5683 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.415e-05/0.3571, allocations: 27.95 kB / 0.5684 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.3571, allocations: 240 / 0.5684 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.758e-05/0.3571, allocations: 4 kB / 0.5684 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.932e-05/0.3571, allocations: 11.98 kB / 0.5684 GB, free: 13.88 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 (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 0.0001194/0.3573, allocations: 129.8 kB / 0.5685 GB, free: 13.75 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.3573, allocations: 15.91 kB / 0.5685 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.3576, allocations: 150.9 kB / 0.5687 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.3576, allocations: 0 / 0.5687 GB, free: 13.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.3576, allocations: 8 kB / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.3576, allocations: 0 / 0.5687 GB, free: 13.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005661/0.3582, allocations: 431 kB / 0.5691 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.3582, allocations: 0 / 0.5691 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.612e-05/0.3582, allocations: 12 kB / 0.5691 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.3582, allocations: 0 / 0.5691 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.146e-05/0.3583, allocations: 4.094 kB / 0.5691 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.673e-06/0.3583, allocations: 3.938 kB / 0.5691 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.065e-06/0.3583, allocations: 8.047 kB / 0.5691 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002932/0.3586, allocations: 241.3 kB / 0.5693 GB, free: 12.8 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.291e-05/0.3586, allocations: 11.91 kB / 0.5694 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.761e-05/0.3586, allocations: 4 kB / 0.5694 GB, free: 12.79 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.669e-05/0.3587, allocations: 7.984 kB / 0.5694 GB, free: 12.78 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.386e-05/0.3587, allocations: 11.98 kB / 0.5694 GB, free: 12.77 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.828e-05/0.3587, allocations: 4 kB / 0.5694 GB, free: 12.76 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001791/0.3589, allocations: 179.2 kB / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3589, allocations: 0 / 0.5696 GB, free: 12.59 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002768/0.3592, allocations: 27.94 kB / 0.5696 GB, free: 12.56 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 (11): * Single equations (assignments): 9 * 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.001911/0.3611, allocations: 0.5036 MB / 0.5701 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002595/0.3614, allocations: 79.84 kB / 0.5701 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3614, allocations: 0 / 0.5701 GB, free: 12.16 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 9.038e-05/0.3615, allocations: 39.86 kB / 0.5702 GB, free: 12.12 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003628/0.3618, allocations: 35.72 kB / 0.5702 GB, free: 12.08 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000586/0.3624, allocations: 284.4 kB / 0.5705 GB, free: 11.77 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003591/0.3628, allocations: 0.716 MB / 0.5712 GB, free: 11.03 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 6.323e-05/0.3628, allocations: 20.62 kB / 0.5712 GB, free: 11.01 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.575e-05/0.3629, allocations: 19.44 kB / 0.5712 GB, free: 10.99 MB / 414.1 MB Notification: Performance of SimCode: time 5.11e-07/0.3629, allocations: 4 kB / 0.5712 GB, free: 10.98 MB / 414.1 MB Notification: Performance of Templates: time 0.005559/0.3684, allocations: 2.057 MB / 0.5732 GB, free: 8.941 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test35/Test35.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test35.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.066027113934979]