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.002134/0.002134, allocations: 112.4 kB / 21.17 MB, free: 0.6172 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.002526/0.002526, allocations: 204.1 kB / 24.46 MB, free: 4.023 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.639/1.639, allocations: 230.2 MB / 257.8 MB, free: 8.52 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.2666/0.2666, allocations: 46.89 MB / 361.1 MB, free: 4.645 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.002333/0.002333, allocations: 87.84 kB / 0.4968 GB, free: 7.766 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4405/0.4428, allocations: 65.99 MB / 0.5613 GB, free: 5.004 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test68): time 0.003909/0.4467, allocations: 1.844 MB / 0.5631 GB, free: 3.148 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002842/0.4496, allocations: 1.107 MB / 0.5641 GB, free: 2.035 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001442/0.4497, allocations: 4 kB / 0.5641 GB, free: 2.031 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0009574/0.4507, allocations: 307.2 kB / 0.5644 GB, free: 1.73 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006347/0.4513, allocations: 247.2 kB / 0.5647 GB, free: 1.488 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004272/0.4517, allocations: 111.6 kB / 0.5648 GB, free: 1.379 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004594/0.4522, allocations: 263.2 kB / 0.565 GB, free: 1.121 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.85e-05/0.4523, allocations: 9.688 kB / 0.565 GB, free: 1.109 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002416/0.4525, allocations: 127.6 kB / 0.5652 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003426/0.4528, allocations: 215.8 kB / 0.5654 GB, free: 0.7734 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.339e-05/0.4529, allocations: 8 kB / 0.5654 GB, free: 0.7656 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001686/0.4531, allocations: 51.97 kB / 0.5654 GB, free: 0.7148 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002129/0.4533, allocations: 128.5 kB / 0.5655 GB, free: 0.5898 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002003/0.4535, allocations: 158.7 kB / 0.5657 GB, free: 444 kB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007836/0.4542, allocations: 369.1 kB / 0.5661 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.4543, allocations: 0 / 0.5661 GB, free: 76 kB / 398.1 MB Notification: Performance of FrontEnd: time 2.956e-06/0.4543, allocations: 0 / 0.5661 GB, free: 76 kB / 398.1 MB Notification: Performance of Transformations before backend: time 8.907e-06/0.4543, allocations: 0 / 0.5661 GB, free: 76 kB / 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.00161/0.4559, allocations: 0.7424 MB / 0.5668 GB, free: 15.28 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.024e-05/0.4559, allocations: 12.03 kB / 0.5668 GB, free: 15.27 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000129/0.4561, allocations: 52.55 kB / 0.5668 GB, free: 15.21 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001036/0.4571, allocations: 460.3 kB / 0.5673 GB, free: 14.72 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.822e-05/0.4571, allocations: 8.375 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.49e-05/0.4572, allocations: 4.375 kB / 0.5673 GB, free: 14.71 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003219/0.4575, allocations: 91.67 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.517e-05/0.4575, allocations: 4 kB / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.563e-05/0.4575, allocations: 0 / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.4575, allocations: 0 / 0.5674 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.4577, allocations: 35.91 kB / 0.5674 GB, free: 14.57 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007154/0.4584, allocations: 378.4 kB / 0.5678 GB, free: 14.15 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004597/0.4589, allocations: 93.23 kB / 0.5679 GB, free: 14.04 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001212/0.459, allocations: 49.62 kB / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.163e-05/0.459, allocations: 0 / 0.5679 GB, free: 13.98 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003313/0.4593, allocations: 109 kB / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.523e-06/0.4593, allocations: 0 / 0.568 GB, free: 13.86 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0006744/0.46, allocations: 201.2 kB / 0.5682 GB, free: 13.66 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001042/0.4601, allocations: 89.05 kB / 0.5683 GB, free: 13.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001536/0.4617, allocations: 1.026 MB / 0.5693 GB, free: 12.51 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 0.000228/0.4619, allocations: 29.7 kB / 0.5693 GB, free: 12.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003955/0.4623, allocations: 232.1 kB / 0.5695 GB, free: 12.25 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.525e-05/0.4624, allocations: 27.78 kB / 0.5696 GB, free: 12.22 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.617e-05/0.4624, allocations: 29.7 kB / 0.5696 GB, free: 12.18 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0003347/0.4628, allocations: 370.8 kB / 0.57 GB, free: 11.81 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001103/0.4629, allocations: 31.98 kB / 0.57 GB, free: 11.78 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.463, allocations: 63.41 kB / 0.57 GB, free: 11.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.4632, allocations: 79.36 kB / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.576e-06/0.4632, allocations: 0 / 0.5701 GB, free: 11.62 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0004049/0.4636, allocations: 185.8 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.4637, allocations: 4 kB / 0.5703 GB, free: 11.43 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.888e-06/0.4637, allocations: 4 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.279e-05/0.4637, allocations: 4 kB / 0.5703 GB, free: 11.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001438/0.4638, allocations: 23.92 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.092e-05/0.4639, allocations: 7.938 kB / 0.5703 GB, free: 11.39 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001102/0.464, allocations: 7.953 kB / 0.5703 GB, free: 11.38 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.664e-05/0.464, allocations: 8 kB / 0.5704 GB, free: 11.37 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.0003257/0.4643, allocations: 218.7 kB / 0.5706 GB, free: 11.15 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.4645, allocations: 55.61 kB / 0.5706 GB, free: 11.09 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004803/0.465, allocations: 205.6 kB / 0.5708 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.465, allocations: 0 / 0.5708 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/0.465, allocations: 4 kB / 0.5708 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.491e-06/0.465, allocations: 0 / 0.5708 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004579/0.4655, allocations: 341.4 kB / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.4655, allocations: 0 / 0.5711 GB, free: 10.5 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.494e-05/0.4655, allocations: 23.86 kB / 0.5712 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.4655, allocations: 4 kB / 0.5712 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.428e-05/0.4656, allocations: 0 / 0.5712 GB, free: 10.47 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.628e-06/0.4656, allocations: 4 kB / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.4656, allocations: 0 / 0.5712 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005328/0.4661, allocations: 205.6 kB / 0.5714 GB, free: 10.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002218/0.4663, allocations: 144.6 kB / 0.5715 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.385e-05/0.4664, allocations: 15.98 kB / 0.5715 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.183e-05/0.4665, allocations: 4 kB / 0.5715 GB, free: 10.06 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.819e-05/0.4665, allocations: 11.98 kB / 0.5715 GB, free: 10.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.737e-05/0.4666, allocations: 8.062 kB / 0.5715 GB, free: 10.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.4676, allocations: 0.7643 MB / 0.5723 GB, free: 9.281 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4676, allocations: 0 / 0.5723 GB, free: 9.281 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003182/0.4679, allocations: 43.94 kB / 0.5723 GB, free: 9.238 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.001661/0.4696, allocations: 419.4 kB / 0.5727 GB, free: 8.973 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003387/0.4699, allocations: 75.89 kB / 0.5728 GB, free: 8.898 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.665e-06/0.4699, allocations: 4 kB / 0.5728 GB, free: 8.895 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001484/0.4701, allocations: 39.92 kB / 0.5728 GB, free: 8.855 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000616/0.4707, allocations: 70.08 kB / 0.5729 GB, free: 8.785 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001573/0.4723, allocations: 0.8855 MB / 0.5738 GB, free: 7.871 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006567/0.4729, allocations: 0.8466 MB / 0.5746 GB, free: 6.996 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002328/0.4732, allocations: 58.94 kB / 0.5747 GB, free: 6.938 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.685e-05/0.4732, allocations: 27.44 kB / 0.5747 GB, free: 6.914 MB / 414.1 MB Notification: Performance of SimCode: time 7.12e-07/0.4732, allocations: 0 / 0.5747 GB, free: 6.914 MB / 414.1 MB Notification: Performance of Templates: time 0.009827/0.4831, allocations: 3.832 MB / 0.5784 GB, free: 3.098 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test68/Test68.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.727764451410621]