Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.001307/0.001307, allocations: 109.1 kB / 21.85 MB, free: 60 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.001858/0.001858, allocations: 216.7 kB / 25.13 MB, free: 3.582 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.466/1.466, allocations: 230.4 MB / 258.7 MB, free: 8.027 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.2388/0.2388, allocations: 46.94 MB / 362.1 MB, free: 4.27 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.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65") translateModel(ModelicaTest.Tables.CombiTimeTable.Test65,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5007,variableFilter="time|t_new.y.1.",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65") [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.002314/0.002314, allocations: 83.86 kB / 0.4979 GB, free: 7.297 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3325/0.3348, allocations: 66.08 MB / 0.5624 GB, free: 4.195 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.003089/0.3379, allocations: 1.697 MB / 0.564 GB, free: 2.488 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001692/0.3396, allocations: 1.025 MB / 0.565 GB, free: 1.457 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.954e-05/0.3397, allocations: 3.938 kB / 0.565 GB, free: 1.453 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003102/0.34, allocations: 87.75 kB / 0.5651 GB, free: 1.367 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003318/0.3403, allocations: 111.5 kB / 0.5652 GB, free: 1.258 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001707/0.3405, allocations: 79.72 kB / 0.5653 GB, free: 1.18 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001918/0.3407, allocations: 111.6 kB / 0.5654 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.306e-05/0.3407, allocations: 240 / 0.5654 GB, free: 1.07 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3408, allocations: 59.75 kB / 0.5655 GB, free: 1.012 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001154/0.341, allocations: 63.75 kB / 0.5655 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.341, allocations: 4 kB / 0.5655 GB, free: 0.9453 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.215e-05/0.3411, allocations: 31.98 kB / 0.5656 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 5.783e-05/0.3411, allocations: 27.86 kB / 0.5656 GB, free: 0.8867 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 6.017e-05/0.3412, allocations: 43.67 kB / 0.5656 GB, free: 0.8438 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001948/0.3414, allocations: 102 kB / 0.5657 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.3414, allocations: 0 / 0.5657 GB, free: 0.75 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.573e-06/0.3414, allocations: 4 kB / 0.5657 GB, free: 0.7461 MB / 398.1 MB Notification: Performance of Transformations before backend: time 5.33e-06/0.3414, allocations: 0 / 0.5657 GB, free: 0.7461 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.0005487/0.3419, allocations: 353.4 kB / 0.5661 GB, free: 380 kB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.342, allocations: 12.03 kB / 0.5661 GB, free: 368 kB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.321e-05/0.342, allocations: 12.84 kB / 0.5661 GB, free: 356 kB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002637/0.3423, allocations: 162.2 kB / 0.5663 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.3423, allocations: 384 / 0.5663 GB, free: 168 kB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/0.3423, allocations: 4.375 kB / 0.5663 GB, free: 164 kB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001465/0.3424, allocations: 49.98 kB / 0.5663 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3425, allocations: 0 / 0.5663 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-06/0.3425, allocations: 0 / 0.5663 GB, free: 108 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.3425, allocations: 4 kB / 0.5663 GB, free: 104 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.484e-05/0.3425, allocations: 15.98 kB / 0.5663 GB, free: 88 kB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002144/0.3428, allocations: 160.8 kB / 0.5665 GB, free: 15.89 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001712/0.3429, allocations: 50.55 kB / 0.5665 GB, free: 15.83 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.435e-05/0.343, allocations: 16.86 kB / 0.5665 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.98e-05/0.343, allocations: 0 / 0.5665 GB, free: 15.81 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001572/0.3432, allocations: 71.33 kB / 0.5666 GB, free: 15.73 MB / 414.1 MB Notification: Performance of pre-optimization done (n=5): time 1.283e-06/0.3432, allocations: 4 kB / 0.5666 GB, free: 15.72 MB / 414.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003043/0.3435, allocations: 101.5 kB / 0.5667 GB, free: 15.62 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.666e-05/0.3435, allocations: 55.41 kB / 0.5668 GB, free: 15.55 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002522/0.3438, allocations: 215.6 kB / 0.567 GB, free: 15.32 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.3438, allocations: 25.7 kB / 0.567 GB, free: 15.29 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.708e-05/0.3439, allocations: 108.1 kB / 0.5671 GB, free: 15.18 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.26e-05/0.3439, allocations: 15.92 kB / 0.5671 GB, free: 15.16 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.848e-05/0.3439, allocations: 21.66 kB / 0.5671 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001452/0.3441, allocations: 330.8 kB / 0.5675 GB, free: 14.8 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.262e-05/0.3441, allocations: 11.98 kB / 0.5675 GB, free: 14.79 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.304e-05/0.3442, allocations: 25.72 kB / 0.5675 GB, free: 14.76 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001036/0.3443, allocations: 45.64 kB / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3443, allocations: 256 / 0.5675 GB, free: 14.71 MB / 414.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001735/0.3445, allocations: 93.53 kB / 0.5676 GB, free: 14.61 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.3445, allocations: 4 kB / 0.5676 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.801e-06/0.3445, allocations: 4 kB / 0.5676 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.3445, allocations: 0 / 0.5676 GB, free: 14.61 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.818e-05/0.3446, allocations: 15.92 kB / 0.5676 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.3446, allocations: 0 / 0.5676 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.988e-05/0.3446, allocations: 11.94 kB / 0.5677 GB, free: 14.58 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.871e-06/0.3446, allocations: 0 / 0.5677 GB, free: 14.58 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.0001184/0.3448, allocations: 133.8 kB / 0.5678 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.758e-05/0.3448, allocations: 23.88 kB / 0.5678 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002225/0.345, allocations: 86.77 kB / 0.5679 GB, free: 14.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.345, allocations: 7.969 kB / 0.5679 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.038e-06/0.345, allocations: 0 / 0.5679 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.345, allocations: 0 / 0.5679 GB, free: 14.31 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001654/0.3452, allocations: 164.7 kB / 0.5681 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3452, allocations: 0 / 0.5681 GB, free: 14.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.872e-05/0.3452, allocations: 11.92 kB / 0.5681 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3452, allocations: 0 / 0.5681 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.3452, allocations: 0 / 0.5681 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.3452, allocations: 4 kB / 0.5681 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3452, allocations: 0 / 0.5681 GB, free: 14.09 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001941/0.3454, allocations: 113 kB / 0.5682 GB, free: 13.96 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.409e-05/0.3454, allocations: 19.84 kB / 0.5682 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.015e-05/0.3455, allocations: 0 / 0.5682 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.589e-05/0.3455, allocations: 192 / 0.5682 GB, free: 13.94 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.519e-05/0.3455, allocations: 7.984 kB / 0.5682 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.537e-05/0.3456, allocations: 8 kB / 0.5682 GB, free: 13.93 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0001537/0.3457, allocations: 169.1 kB / 0.5684 GB, free: 13.76 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3457, allocations: 0 / 0.5684 GB, free: 13.76 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002189/0.3459, allocations: 27.92 kB / 0.5684 GB, free: 13.73 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.001497/0.3474, allocations: 404.9 kB / 0.5688 GB, free: 13.47 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0001685/0.3476, allocations: 39.98 kB / 0.5688 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.3476, allocations: 0 / 0.5688 GB, free: 13.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 6.527e-05/0.3477, allocations: 19.98 kB / 0.5688 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002671/0.3479, allocations: 39.05 kB / 0.5689 GB, free: 13.38 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004495/0.3484, allocations: 218.7 kB / 0.5691 GB, free: 13.14 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003287/0.3487, allocations: 0.7002 MB / 0.5698 GB, free: 12.41 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 4.937e-05/0.3488, allocations: 24.41 kB / 0.5698 GB, free: 12.39 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.3488, allocations: 19.44 kB / 0.5698 GB, free: 12.37 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.3488, allocations: 4 kB / 0.5698 GB, free: 12.37 MB / 414.1 MB Notification: Performance of Templates: time 0.004536/0.3533, allocations: 1.535 MB / 0.5713 GB, free: 10.84 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65 -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test65/Test65.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.112818821100518]