Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.00219/0.00219, allocations: 110.5 kB / 21.23 MB, free: 0.6641 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.002953/0.002953, allocations: 211.9 kB / 24.54 MB, free: 4.02 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.573/1.573, allocations: 230.3 MB / 258 MB, free: 8.188 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.2406/0.2406, allocations: 46.94 MB / 361.4 MB, free: 4.371 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.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68") translateModel(ModelicaTest.Tables.CombiTimeTable.Test68,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5115,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68") [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.002448/0.002448, allocations: 79.86 kB / 0.4972 GB, free: 7.438 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4542/0.4566, allocations: 66.05 MB / 0.5617 GB, free: 4.504 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003473/0.4601, allocations: 1.846 MB / 0.5635 GB, free: 2.645 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002475/0.4626, allocations: 1.115 MB / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.4627, allocations: 0 / 0.5646 GB, free: 1.523 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005719/0.4633, allocations: 303.2 kB / 0.5649 GB, free: 1.227 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000601/0.4639, allocations: 255.2 kB / 0.5651 GB, free: 0.9766 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003297/0.4642, allocations: 103.7 kB / 0.5652 GB, free: 0.875 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004703/0.4647, allocations: 271.2 kB / 0.5655 GB, free: 0.6094 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.732e-05/0.4648, allocations: 9.812 kB / 0.5655 GB, free: 0.5977 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000409/0.4652, allocations: 135.5 kB / 0.5656 GB, free: 476 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003192/0.4655, allocations: 212 kB / 0.5658 GB, free: 264 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.4655, allocations: 8 kB / 0.5658 GB, free: 256 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001402/0.4657, allocations: 47.92 kB / 0.5659 GB, free: 208 kB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001621/0.4658, allocations: 140.5 kB / 0.566 GB, free: 68 kB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001915/0.466, allocations: 146.9 kB / 0.5662 GB, free: 15.92 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004586/0.4665, allocations: 372.7 kB / 0.5665 GB, free: 15.56 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4665, allocations: 4 kB / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd: time 6.42e-07/0.4665, allocations: 0 / 0.5665 GB, free: 15.55 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.932e-06/0.4665, allocations: 0 / 0.5665 GB, free: 15.55 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009729/0.4675, allocations: 0.6747 MB / 0.5672 GB, free: 14.85 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.4675, allocations: 12.03 kB / 0.5672 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.581e-05/0.4676, allocations: 48.61 kB / 0.5672 GB, free: 14.79 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.4682, allocations: 394.5 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.682e-05/0.4682, allocations: 4.359 kB / 0.5676 GB, free: 14.38 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.3e-05/0.4682, allocations: 8.312 kB / 0.5676 GB, free: 14.37 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002378/0.4685, allocations: 87.69 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.285e-06/0.4685, allocations: 4 kB / 0.5677 GB, free: 14.27 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.651e-05/0.4685, allocations: 7.984 kB / 0.5677 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.795e-06/0.4685, allocations: 0 / 0.5677 GB, free: 14.26 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.4686, allocations: 27.98 kB / 0.5678 GB, free: 14.23 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.4691, allocations: 345.4 kB / 0.5681 GB, free: 13.85 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002933/0.4693, allocations: 101.2 kB / 0.5682 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001023/0.4695, allocations: 33.7 kB / 0.5682 GB, free: 13.69 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.4695, allocations: 7.984 kB / 0.5682 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002805/0.4698, allocations: 113 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.162e-06/0.4698, allocations: 0 / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005263/0.4703, allocations: 201.2 kB / 0.5685 GB, free: 13.35 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.228e-05/0.4704, allocations: 81.11 kB / 0.5686 GB, free: 13.25 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001211/0.4716, allocations: 1.022 MB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.454e-05/0.4716, allocations: 29.7 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.4718, allocations: 236.1 kB / 0.5698 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.152e-05/0.4719, allocations: 35.77 kB / 0.5699 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.537e-05/0.4719, allocations: 25.72 kB / 0.5699 GB, free: 11.88 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.4721, allocations: 370.7 kB / 0.5703 GB, free: 11.51 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.997e-05/0.4722, allocations: 23.98 kB / 0.5703 GB, free: 11.49 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001092/0.4723, allocations: 67.72 kB / 0.5703 GB, free: 11.41 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001945/0.4725, allocations: 95.36 kB / 0.5704 GB, free: 11.31 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.4725, allocations: 3.938 kB / 0.5704 GB, free: 11.3 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003265/0.4729, allocations: 177.2 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.4729, allocations: 4 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.4729, allocations: 3.984 kB / 0.5706 GB, free: 11.12 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.896e-05/0.4729, allocations: 4 kB / 0.5706 GB, free: 11.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001252/0.473, allocations: 24.05 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.473, allocations: 3.938 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.4731, allocations: 19.89 kB / 0.5707 GB, free: 11.07 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.202e-05/0.4731, allocations: 4 kB / 0.5707 GB, free: 11.06 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.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002388/0.4734, allocations: 214.3 kB / 0.5709 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.338e-05/0.4735, allocations: 59.61 kB / 0.5709 GB, free: 10.79 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004314/0.4739, allocations: 193.8 kB / 0.5711 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.41e-06/0.4739, allocations: 7.984 kB / 0.5711 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.4739, allocations: 0 / 0.5711 GB, free: 10.58 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.422e-06/0.4739, allocations: 4.25 kB / 0.5711 GB, free: 10.57 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000372/0.4743, allocations: 308.5 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-06/0.4743, allocations: 4 kB / 0.5714 GB, free: 10.23 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.634e-05/0.4743, allocations: 15.92 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.4743, allocations: 4 kB / 0.5714 GB, free: 10.21 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.109e-05/0.4744, allocations: 4 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.078e-06/0.4744, allocations: 3.938 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.339e-06/0.4744, allocations: 4 kB / 0.5715 GB, free: 10.2 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003878/0.4748, allocations: 217.5 kB / 0.5717 GB, free: 9.961 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001649/0.4749, allocations: 67.53 kB / 0.5717 GB, free: 9.895 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.728e-05/0.475, allocations: 4 kB / 0.5717 GB, free: 9.891 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.173e-05/0.475, allocations: 8 kB / 0.5717 GB, free: 9.883 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.948e-05/0.4751, allocations: 7.984 kB / 0.5717 GB, free: 9.875 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.04e-05/0.4751, allocations: 7.984 kB / 0.5718 GB, free: 9.867 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008766/0.476, allocations: 0.7643 MB / 0.5725 GB, free: 9.105 MB / 414.1 MB Notification: Performance of sort global known variables: time 8e-08/0.476, allocations: 0 / 0.5725 GB, free: 9.105 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.4763, allocations: 40 kB / 0.5725 GB, free: 9.066 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled,startTime.nextTimeEvent,startTime.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * 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.001631/0.4779, allocations: 404.9 kB / 0.5729 GB, free: 8.797 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003248/0.4782, allocations: 91.77 kB / 0.573 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4782, allocations: 0 / 0.573 GB, free: 8.707 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.4783, allocations: 44.05 kB / 0.5731 GB, free: 8.664 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004568/0.4788, allocations: 73.52 kB / 0.5731 GB, free: 8.598 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001387/0.4802, allocations: 0.8699 MB / 0.574 GB, free: 7.699 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000581/0.4808, allocations: 0.8425 MB / 0.5748 GB, free: 6.828 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001143/0.4809, allocations: 54.95 kB / 0.5749 GB, free: 6.773 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.093e-05/0.481, allocations: 35.42 kB / 0.5749 GB, free: 6.742 MB / 414.1 MB Notification: Performance of SimCode: time 4.11e-07/0.481, allocations: 0 / 0.5749 GB, free: 6.742 MB / 414.1 MB Notification: Performance of Templates: time 0.009025/0.49, allocations: 3.863 MB / 0.5787 GB, free: 2.891 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test68.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.653254372999072]