Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.00188/0.00188, 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.002364/0.002364, allocations: 219.8 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.454/1.454, 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.2397/0.2397, allocations: 46.92 MB / 362 MB, free: 4.258 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-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.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47") translateModel(ModelicaTest.Tables.CombiTimeTable.Test47,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.|d_t_new.y",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47") [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.002553/0.002553, allocations: 84.12 kB / 0.4979 GB, free: 7.355 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.34/0.3426, allocations: 66.08 MB / 0.5624 GB, free: 4.254 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test47): time 0.003673/0.3462, allocations: 1.745 MB / 0.5641 GB, free: 2.496 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001917/0.3482, allocations: 1.053 MB / 0.5651 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.081e-05/0.3482, allocations: 0 / 0.5651 GB, free: 1.438 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002951/0.3485, allocations: 59.69 kB / 0.5652 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003158/0.3488, allocations: 99.59 kB / 0.5653 GB, free: 1.281 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.349, allocations: 79.67 kB / 0.5653 GB, free: 1.203 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001784/0.3492, allocations: 103.7 kB / 0.5654 GB, free: 1.102 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.3493, allocations: 8 kB / 0.5655 GB, free: 1.094 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3494, allocations: 55.7 kB / 0.5655 GB, free: 1.039 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.593e-05/0.3495, allocations: 27.86 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.873e-05/0.3495, allocations: 4 kB / 0.5655 GB, free: 1.008 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.604e-05/0.3496, allocations: 43.97 kB / 0.5656 GB, free: 0.9648 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 6.46e-05/0.3497, allocations: 31.84 kB / 0.5656 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.173e-05/0.3497, allocations: 43.62 kB / 0.5656 GB, free: 0.8906 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002424/0.35, allocations: 138 kB / 0.5658 GB, free: 0.7617 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.988e-06/0.35, allocations: 4 kB / 0.5658 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.35, allocations: 4 kB / 0.5658 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.988e-06/0.35, allocations: 0 / 0.5658 GB, free: 0.7539 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.0005862/0.3506, allocations: 381.2 kB / 0.5662 GB, free: 360 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.3506, allocations: 8.031 kB / 0.5662 GB, free: 352 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.922e-05/0.3507, allocations: 16.84 kB / 0.5662 GB, free: 336 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002975/0.351, allocations: 155.3 kB / 0.5663 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.562e-05/0.351, allocations: 4.312 kB / 0.5663 GB, free: 148 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.217e-05/0.351, allocations: 8.375 kB / 0.5663 GB, free: 140 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001491/0.3511, allocations: 61.98 kB / 0.5664 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.31e-05/0.3512, allocations: 0 / 0.5664 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.958e-06/0.3512, allocations: 0 / 0.5664 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.819e-06/0.3512, allocations: 0 / 0.5664 GB, free: 72 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.11e-05/0.3513, allocations: 19.98 kB / 0.5664 GB, free: 52 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004394/0.3517, allocations: 279.8 kB / 0.5667 GB, free: 15.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001944/0.3519, allocations: 54.62 kB / 0.5667 GB, free: 15.67 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.068e-05/0.352, allocations: 20.84 kB / 0.5668 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.33e-05/0.352, allocations: 0 / 0.5668 GB, free: 15.65 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001624/0.3521, allocations: 67.39 kB / 0.5668 GB, free: 15.57 MB / 414.1 MB Notification: Performance of pre-optimization done (n=6): time 1.312e-06/0.3521, allocations: 0 / 0.5668 GB, free: 15.57 MB / 414.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006325/0.3528, allocations: 193.3 kB / 0.567 GB, free: 15.38 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.843e-05/0.3528, allocations: 51.41 kB / 0.5671 GB, free: 15.31 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003039/0.3531, allocations: 270.8 kB / 0.5673 GB, free: 15.04 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.498e-05/0.3532, allocations: 29.7 kB / 0.5673 GB, free: 15 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.969e-05/0.3532, allocations: 112.1 kB / 0.5674 GB, free: 14.89 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.3533, allocations: 27.78 kB / 0.5675 GB, free: 14.86 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.49e-05/0.3533, allocations: 29.66 kB / 0.5675 GB, free: 14.82 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3535, allocations: 330.8 kB / 0.5678 GB, free: 14.49 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.003e-05/0.3535, allocations: 27.94 kB / 0.5678 GB, free: 14.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.051e-05/0.3536, allocations: 37.7 kB / 0.5679 GB, free: 14.42 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.3537, allocations: 65.75 kB / 0.5679 GB, free: 14.35 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.22e-07/0.3537, allocations: 0 / 0.5679 GB, free: 14.35 MB / 414.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001965/0.3539, allocations: 109.5 kB / 0.568 GB, free: 14.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.354, allocations: 4 kB / 0.568 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/0.354, allocations: 7.969 kB / 0.5681 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.643e-05/0.354, allocations: 4 kB / 0.5681 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.524e-05/0.3541, allocations: 12 kB / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.3541, allocations: 0 / 0.5681 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.3541, allocations: 11.98 kB / 0.5681 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.172e-06/0.3541, allocations: 0 / 0.5681 GB, free: 14.2 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.0001378/0.3543, allocations: 148.9 kB / 0.5682 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.774e-05/0.3543, allocations: 15.91 kB / 0.5682 GB, free: 14.03 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002488/0.3545, allocations: 119.1 kB / 0.5684 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3545, allocations: 0 / 0.5684 GB, free: 13.9 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.204e-06/0.3545, allocations: 4 kB / 0.5684 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3545, allocations: 0 / 0.5684 GB, free: 13.89 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004897/0.355, allocations: 378.3 kB / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.355, allocations: 0 / 0.5687 GB, free: 13.47 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.608e-05/0.3551, allocations: 11.94 kB / 0.5687 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.3551, allocations: 4 kB / 0.5687 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.055e-06/0.3551, allocations: 0 / 0.5687 GB, free: 13.46 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.769e-06/0.3551, allocations: 7.969 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.756e-06/0.3551, allocations: 3.984 kB / 0.5687 GB, free: 13.45 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002424/0.3553, allocations: 208.3 kB / 0.5689 GB, free: 13.22 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.334e-05/0.3554, allocations: 11.91 kB / 0.569 GB, free: 13.21 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.65e-05/0.3554, allocations: 8 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.971e-05/0.3555, allocations: 4.312 kB / 0.569 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.495e-05/0.3555, allocations: 11.98 kB / 0.569 GB, free: 13.19 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.3555, allocations: 4 kB / 0.569 GB, free: 13.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001902/0.3557, allocations: 208.6 kB / 0.5692 GB, free: 12.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3557, allocations: 3.938 kB / 0.5692 GB, free: 12.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002493/0.3559, allocations: 19.94 kB / 0.5692 GB, free: 12.96 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.00169/0.3576, allocations: 465.8 kB / 0.5696 GB, free: 12.66 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001947/0.3578, allocations: 55.91 kB / 0.5697 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.3578, allocations: 0 / 0.5697 GB, free: 12.6 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.038e-05/0.3579, allocations: 27.98 kB / 0.5697 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.3582, allocations: 31.3 kB / 0.5698 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000549/0.3588, allocations: 299.7 kB / 0.57 GB, free: 12.23 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003664/0.3592, allocations: 0.7119 MB / 0.5707 GB, free: 11.49 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.904e-05/0.3592, allocations: 16.97 kB / 0.5708 GB, free: 11.47 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.21e-05/0.3592, allocations: 23.42 kB / 0.5708 GB, free: 11.45 MB / 414.1 MB Notification: Performance of SimCode: time 3.4e-07/0.3592, allocations: 4 kB / 0.5708 GB, free: 11.45 MB / 414.1 MB Notification: Performance of Templates: time 0.00498/0.3642, allocations: 1.813 MB / 0.5726 GB, free: 9.648 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test47/Test47.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test47.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.11305916798301]