Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.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.001607/0.001607, allocations: 110.5 kB / 21.23 MB, free: 0.5117 MB / 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.002069/0.002069, allocations: 207.9 kB / 24.53 MB, free: 3.891 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.54/1.54, allocations: 230.3 MB / 258 MB, free: 8.219 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.249/0.249, allocations: 46.95 MB / 361.4 MB, free: 4.395 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.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62") translateModel(ModelicaTest.Tables.CombiTimeTable.Test62,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5013,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62") [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.00253/0.00253, allocations: 75.88 kB / 0.4972 GB, free: 7.465 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4409/0.4434, allocations: 66.04 MB / 0.5617 GB, free: 4.484 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.004179/0.4476, allocations: 1.702 MB / 0.5634 GB, free: 2.77 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002015/0.4496, allocations: 1.033 MB / 0.5644 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.4497, allocations: 0 / 0.5644 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000369/0.45, allocations: 51.77 kB / 0.5644 GB, free: 1.68 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003875/0.4504, allocations: 99.58 kB / 0.5645 GB, free: 1.582 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000243/0.4507, allocations: 75.67 kB / 0.5646 GB, free: 1.508 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002075/0.4509, allocations: 99.69 kB / 0.5647 GB, free: 1.41 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.952e-05/0.4509, allocations: 4.234 kB / 0.5647 GB, free: 1.406 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001128/0.451, allocations: 47.73 kB / 0.5647 GB, free: 1.359 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001009/0.4511, allocations: 39.77 kB / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.84e-05/0.4512, allocations: 0 / 0.5648 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001046/0.4513, allocations: 36 kB / 0.5648 GB, free: 1.285 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 7.648e-05/0.4513, allocations: 27.91 kB / 0.5648 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 7.208e-05/0.4514, allocations: 39.67 kB / 0.5649 GB, free: 1.219 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002498/0.4517, allocations: 125.9 kB / 0.565 GB, free: 1.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4517, allocations: 4 kB / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.4517, allocations: 0 / 0.565 GB, free: 1.098 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.101e-05/0.4517, allocations: 0 / 0.565 GB, free: 1.098 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0007038/0.4524, allocations: 365.4 kB / 0.5654 GB, free: 0.7109 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.059e-05/0.4524, allocations: 12.02 kB / 0.5654 GB, free: 0.6992 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.64e-05/0.4525, allocations: 12.89 kB / 0.5654 GB, free: 0.6875 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003502/0.4528, allocations: 167.2 kB / 0.5655 GB, free: 0.4961 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.693e-05/0.4529, allocations: 4.375 kB / 0.5655 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.601e-05/0.4529, allocations: 384 / 0.5655 GB, free: 0.4922 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001564/0.453, allocations: 61.91 kB / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.453, allocations: 0 / 0.5656 GB, free: 436 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.253e-05/0.4531, allocations: 4 kB / 0.5656 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.4531, allocations: 0 / 0.5656 GB, free: 432 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.712e-05/0.4531, allocations: 11.98 kB / 0.5656 GB, free: 420 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002339/0.4534, allocations: 160.8 kB / 0.5658 GB, free: 216 kB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001752/0.4535, allocations: 54.61 kB / 0.5658 GB, free: 152 kB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.801e-05/0.4536, allocations: 16.84 kB / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.487e-05/0.4536, allocations: 0 / 0.5658 GB, free: 132 kB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001612/0.4538, allocations: 75.27 kB / 0.5659 GB, free: 44 kB / 398.1 MB Notification: Performance of pre-optimization done (n=5): time 1.122e-06/0.4538, allocations: 4 kB / 0.5659 GB, free: 40 kB / 398.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003261/0.4541, allocations: 93.77 kB / 0.566 GB, free: 15.94 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.346e-05/0.4542, allocations: 55.41 kB / 0.5661 GB, free: 15.87 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002912/0.4545, allocations: 270.8 kB / 0.5663 GB, free: 15.59 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.944e-05/0.4545, allocations: 25.7 kB / 0.5663 GB, free: 15.56 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.483e-05/0.4546, allocations: 116.1 kB / 0.5664 GB, free: 15.45 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.4546, allocations: 11.89 kB / 0.5665 GB, free: 15.43 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.133e-05/0.4546, allocations: 25.66 kB / 0.5665 GB, free: 15.4 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4548, allocations: 330.8 kB / 0.5668 GB, free: 15.07 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.471e-05/0.4549, allocations: 19.92 kB / 0.5668 GB, free: 15.05 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.061e-05/0.4549, allocations: 25.7 kB / 0.5668 GB, free: 15.02 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001028/0.455, allocations: 41.72 kB / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.455, allocations: 0 / 0.5669 GB, free: 14.97 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001809/0.4552, allocations: 101.6 kB / 0.567 GB, free: 14.87 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.472e-05/0.4552, allocations: 7.938 kB / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.4552, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.4552, allocations: 0 / 0.567 GB, free: 14.86 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.562e-05/0.4553, allocations: 12 kB / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.4553, allocations: 0 / 0.567 GB, free: 14.85 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.243e-05/0.4554, allocations: 11.94 kB / 0.567 GB, free: 14.84 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.4554, allocations: 0 / 0.567 GB, free: 14.84 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 (7): * Single equations (assignments): 7 * 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.0001606/0.4556, allocations: 136.7 kB / 0.5671 GB, free: 14.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.711e-05/0.4556, allocations: 27.81 kB / 0.5672 GB, free: 14.67 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.4558, allocations: 94.77 kB / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.4558, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4558, allocations: 0 / 0.5673 GB, free: 14.57 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.973e-06/0.4558, allocations: 4 kB / 0.5673 GB, free: 14.56 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001874/0.456, allocations: 168.7 kB / 0.5674 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.928e-06/0.456, allocations: 3.938 kB / 0.5674 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.343e-05/0.4561, allocations: 7.984 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.4561, allocations: 0 / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.4561, allocations: 0 / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.519e-06/0.4561, allocations: 8 kB / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.4561, allocations: 0 / 0.5674 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002014/0.4563, allocations: 109 kB / 0.5675 GB, free: 14.21 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.072e-05/0.4563, allocations: 19.84 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.454e-05/0.4563, allocations: 4 kB / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.617e-05/0.4564, allocations: 0 / 0.5676 GB, free: 14.19 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.705e-05/0.4564, allocations: 3.984 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.46e-05/0.4564, allocations: 8 kB / 0.5676 GB, free: 14.18 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0002024/0.4566, allocations: 200.6 kB / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4566, allocations: 0 / 0.5678 GB, free: 13.98 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002156/0.4568, allocations: 23.92 kB / 0.5678 GB, free: 13.96 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (5): * Single equations (assignments): 3 * 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.001593/0.4584, allocations: 409.6 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001935/0.4586, allocations: 39.92 kB / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4586, allocations: 0 / 0.5682 GB, free: 13.64 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 7.087e-05/0.4587, allocations: 24.05 kB / 0.5682 GB, free: 13.62 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000294/0.459, allocations: 31.42 kB / 0.5683 GB, free: 13.59 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005692/0.4596, allocations: 266.5 kB / 0.5685 GB, free: 13.31 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.46, allocations: 0.7119 MB / 0.5692 GB, free: 12.57 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 5.806e-05/0.46, allocations: 24.66 kB / 0.5692 GB, free: 12.55 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.538e-05/0.46, allocations: 19.44 kB / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of SimCode: time 6.52e-07/0.46, allocations: 0 / 0.5693 GB, free: 12.53 MB / 414.1 MB Notification: Performance of Templates: time 0.004916/0.465, allocations: 1.557 MB / 0.5708 GB, free: 10.98 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test62/Test62.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test62.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.462265118025243]