Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.001686/0.001686, allocations: 113.1 kB / 21.85 MB, free: 64 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.002151/0.002151, allocations: 204 kB / 25.13 MB, free: 3.578 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.52/1.52, allocations: 230.4 MB / 258.7 MB, free: 8.223 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.2475/0.2475, allocations: 46.93 MB / 362 MB, free: 4.25 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.Test78,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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78") translateModel(ModelicaTest.Tables.CombiTimeTable.Test78,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-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78") [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.002409/0.002409, allocations: 83.84 kB / 0.4979 GB, free: 7.32 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3536/0.356, allocations: 66.08 MB / 0.5624 GB, free: 4.238 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test78): time 0.003508/0.3595, allocations: 1.928 MB / 0.5643 GB, free: 2.297 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002094/0.3616, allocations: 1.154 MB / 0.5654 GB, free: 1.137 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.268e-05/0.3617, allocations: 3.938 kB / 0.5654 GB, free: 1.133 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000521/0.3622, allocations: 251.3 kB / 0.5657 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004959/0.3627, allocations: 239.2 kB / 0.5659 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002793/0.363, allocations: 123.6 kB / 0.566 GB, free: 0.5312 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003573/0.3633, allocations: 267.2 kB / 0.5663 GB, free: 276 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3635, allocations: 25.94 kB / 0.5663 GB, free: 248 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000187/0.3636, allocations: 135.5 kB / 0.5664 GB, free: 112 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002714/0.3639, allocations: 219.4 kB / 0.5666 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.3639, allocations: 8 kB / 0.5666 GB, free: 15.89 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001364/0.3641, allocations: 59.98 kB / 0.5667 GB, free: 15.83 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.3642, allocations: 71.64 kB / 0.5668 GB, free: 15.76 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001024/0.3643, allocations: 99.22 kB / 0.5669 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004063/0.3647, allocations: 253.2 kB / 0.5671 GB, free: 15.42 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.3647, allocations: 4 kB / 0.5671 GB, free: 15.41 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.3647, allocations: 0 / 0.5671 GB, free: 15.41 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.3647, allocations: 0 / 0.5671 GB, free: 15.41 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.0008622/0.3656, allocations: 0.5312 MB / 0.5676 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.94e-05/0.3656, allocations: 12.03 kB / 0.5676 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.803e-05/0.3657, allocations: 28.75 kB / 0.5677 GB, free: 14.81 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004276/0.3661, allocations: 240.8 kB / 0.5679 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.081e-05/0.3661, allocations: 4.375 kB / 0.5679 GB, free: 14.55 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.273e-05/0.3662, allocations: 8.375 kB / 0.5679 GB, free: 14.54 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002675/0.3664, allocations: 118.1 kB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.3664, allocations: 4 kB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.29e-05/0.3665, allocations: 4 kB / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.498e-06/0.3665, allocations: 0 / 0.568 GB, free: 14.41 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001398/0.3666, allocations: 47.95 kB / 0.5681 GB, free: 14.36 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006323/0.3672, allocations: 455.8 kB / 0.5685 GB, free: 13.87 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004121/0.3676, allocations: 121.2 kB / 0.5686 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000107/0.3678, allocations: 37.83 kB / 0.5686 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.676e-05/0.3678, allocations: 4 kB / 0.5687 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002518/0.368, allocations: 125 kB / 0.5688 GB, free: 13.54 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.368, allocations: 4 kB / 0.5688 GB, free: 13.54 MB / 414.1 MB Notification: Performance of matching and sorting (n=22): time 0.001506/0.3695, allocations: 0.5202 MB / 0.5693 GB, free: 13.01 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.464e-05/0.3696, allocations: 81.11 kB / 0.5694 GB, free: 12.91 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005937/0.3702, allocations: 0.4898 MB / 0.5698 GB, free: 12.41 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.528e-05/0.3702, allocations: 33.7 kB / 0.5699 GB, free: 12.37 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001507/0.3704, allocations: 176.5 kB / 0.57 GB, free: 12.19 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.06e-05/0.3705, allocations: 63.44 kB / 0.5701 GB, free: 12.13 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.383e-05/0.3705, allocations: 45.7 kB / 0.5701 GB, free: 12.08 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001798/0.3707, allocations: 346.8 kB / 0.5705 GB, free: 11.73 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001439/0.3709, allocations: 55.97 kB / 0.5705 GB, free: 11.68 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.371, allocations: 91.41 kB / 0.5706 GB, free: 11.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.3713, allocations: 167.4 kB / 0.5708 GB, free: 11.4 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.3713, allocations: 0 / 0.5708 GB, free: 11.4 MB / 414.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0004816/0.3718, allocations: 237.2 kB / 0.571 GB, free: 11.16 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.181e-05/0.3718, allocations: 4.062 kB / 0.571 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.3718, allocations: 4 kB / 0.571 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.419e-05/0.3719, allocations: 7.938 kB / 0.571 GB, free: 11.14 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001623/0.372, allocations: 47.91 kB / 0.5711 GB, free: 11.1 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.028e-05/0.372, allocations: 4 kB / 0.5711 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.827e-05/0.3721, allocations: 8 kB / 0.5711 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.852e-05/0.3721, allocations: 8 kB / 0.5711 GB, free: 11.08 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.0002207/0.3724, allocations: 177.7 kB / 0.5713 GB, free: 10.89 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-05/0.3724, allocations: 39.75 kB / 0.5713 GB, free: 10.86 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005611/0.373, allocations: 273.6 kB / 0.5716 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.742e-06/0.373, allocations: 7.938 kB / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.373, allocations: 0 / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.589e-06/0.373, allocations: 3.938 kB / 0.5716 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00112/0.3741, allocations: 0.7185 MB / 0.5723 GB, free: 9.789 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.3741, allocations: 4 kB / 0.5723 GB, free: 9.785 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.204e-05/0.3742, allocations: 31.92 kB / 0.5723 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.948e-06/0.3742, allocations: 0 / 0.5723 GB, free: 9.754 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.788e-05/0.3742, allocations: 8 kB / 0.5723 GB, free: 9.746 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.3743, allocations: 4 kB / 0.5723 GB, free: 9.742 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.203e-06/0.3743, allocations: 11.97 kB / 0.5723 GB, free: 9.73 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005557/0.3748, allocations: 425.9 kB / 0.5727 GB, free: 9.285 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.158e-05/0.3749, allocations: 31.81 kB / 0.5728 GB, free: 9.254 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.725e-05/0.3749, allocations: 11.98 kB / 0.5728 GB, free: 9.242 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001453/0.3751, allocations: 12 kB / 0.5728 GB, free: 9.23 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.99e-05/0.3751, allocations: 27.91 kB / 0.5728 GB, free: 9.203 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.652e-05/0.3752, allocations: 8 kB / 0.5728 GB, free: 9.195 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004231/0.3756, allocations: 375.1 kB / 0.5732 GB, free: 8.832 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3756, allocations: 3.938 kB / 0.5732 GB, free: 8.828 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003786/0.376, allocations: 51.94 kB / 0.5732 GB, free: 8.777 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 (22): * Single equations (assignments): 18 * 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.002055/0.378, allocations: 0.4985 MB / 0.5737 GB, free: 8.457 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0004261/0.3784, allocations: 151.8 kB / 0.5739 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3784, allocations: 0 / 0.5739 GB, free: 8.309 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001654/0.3786, allocations: 67.86 kB / 0.5739 GB, free: 8.242 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005905/0.3792, allocations: 64.2 kB / 0.574 GB, free: 8.184 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001082/0.3803, allocations: 0.6059 MB / 0.5746 GB, free: 7.535 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004816/0.3808, allocations: 0.787 MB / 0.5753 GB, free: 6.723 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001087/0.3809, allocations: 41.92 kB / 0.5754 GB, free: 6.684 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.27e-05/0.3809, allocations: 31.44 kB / 0.5754 GB, free: 6.652 MB / 414.1 MB Notification: Performance of SimCode: time 6.21e-07/0.3809, allocations: 0 / 0.5754 GB, free: 6.652 MB / 414.1 MB Notification: Performance of Templates: time 0.007958/0.3889, allocations: 3.31 MB / 0.5786 GB, free: 3.367 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test78/Test78.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test78.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.271528160898015]