Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001324/0.001324, allocations: 103.6 kB / 21.18 MB, free: 0.6445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 209 kB / 24.48 MB, free: 3.938 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.428/1.428, allocations: 230.6 MB / 258.2 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2265/0.2265, allocations: 44.93 MB / 359.6 MB, free: 6.059 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") translateModel(ModelicaTest.Tables.CombiTimeTable.Test69,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5078,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: ModelicaTest requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002422/0.002422, allocations: 67.91 kB / 0.4943 GB, free: 9.977 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3519, allocations: 65.46 MB / 0.5582 GB, free: 7.465 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003378/0.3553, allocations: 1.79 MB / 0.56 GB, free: 5.66 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001981/0.3573, allocations: 1.042 MB / 0.561 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.73e-05/0.3573, allocations: 0 / 0.561 GB, free: 4.613 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005371/0.3579, allocations: 307.2 kB / 0.5613 GB, free: 4.312 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005058/0.3584, allocations: 255.2 kB / 0.5615 GB, free: 4.062 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00025/0.3586, allocations: 107.7 kB / 0.5616 GB, free: 3.957 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003437/0.359, allocations: 259.3 kB / 0.5619 GB, free: 3.703 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.818e-05/0.359, allocations: 9.797 kB / 0.5619 GB, free: 3.691 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001733/0.3592, allocations: 139.5 kB / 0.562 GB, free: 3.555 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.3595, allocations: 207.9 kB / 0.5622 GB, free: 3.352 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.3595, allocations: 8 kB / 0.5622 GB, free: 3.344 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001149/0.3596, allocations: 51.97 kB / 0.5623 GB, free: 3.293 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001628/0.3598, allocations: 132.5 kB / 0.5624 GB, free: 3.164 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001207/0.3599, allocations: 111.1 kB / 0.5625 GB, free: 3.055 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004612/0.3604, allocations: 376.8 kB / 0.5629 GB, free: 2.691 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3604, allocations: 4 kB / 0.5629 GB, free: 2.688 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3604, allocations: 0 / 0.5629 GB, free: 2.688 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.693e-06/0.3604, allocations: 0 / 0.5629 GB, free: 2.688 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.001032/0.3614, allocations: 0.6786 MB / 0.5635 GB, free: 1.977 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.596e-05/0.3615, allocations: 8.031 kB / 0.5636 GB, free: 1.969 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.541e-05/0.3615, allocations: 52.61 kB / 0.5636 GB, free: 1.918 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006512/0.3622, allocations: 382.5 kB / 0.564 GB, free: 1.52 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.348e-05/0.3622, allocations: 4.375 kB / 0.564 GB, free: 1.516 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.3622, allocations: 12.12 kB / 0.564 GB, free: 1.504 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002159/0.3624, allocations: 91.3 kB / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3625, allocations: 0 / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/0.3625, allocations: 0 / 0.5641 GB, free: 1.402 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3625, allocations: 4 kB / 0.5641 GB, free: 1.398 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001143/0.3626, allocations: 31.97 kB / 0.5641 GB, free: 1.367 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000405/0.363, allocations: 302.1 kB / 0.5644 GB, free: 1.039 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002843/0.3633, allocations: 109.2 kB / 0.5645 GB, free: 0.9141 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/0.3634, allocations: 45.69 kB / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.3e-05/0.3634, allocations: 0 / 0.5645 GB, free: 0.8633 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000237/0.3636, allocations: 120.9 kB / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of pre-optimization done (n=10): time 1.262e-06/0.3636, allocations: 0 / 0.5647 GB, free: 0.7266 MB / 398.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005163/0.3641, allocations: 213.2 kB / 0.5649 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.3642, allocations: 77.11 kB / 0.5649 GB, free: 428 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001191/0.3654, allocations: 1.03 MB / 0.5659 GB, free: 15.38 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 1.9e-05/0.3654, allocations: 29.7 kB / 0.566 GB, free: 15.34 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001987/0.3656, allocations: 240.1 kB / 0.5662 GB, free: 15.1 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.589e-05/0.3657, allocations: 31.78 kB / 0.5662 GB, free: 15.07 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.78e-05/0.3657, allocations: 29.7 kB / 0.5663 GB, free: 15.04 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3659, allocations: 366.8 kB / 0.5666 GB, free: 14.67 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.32e-05/0.366, allocations: 27.98 kB / 0.5666 GB, free: 14.64 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001072/0.3661, allocations: 63.41 kB / 0.5667 GB, free: 14.57 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001966/0.3663, allocations: 91.84 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.837e-06/0.3663, allocations: 8 kB / 0.5668 GB, free: 14.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003515/0.3667, allocations: 185.1 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.309e-05/0.3667, allocations: 6.812 kB / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.21e-06/0.3667, allocations: 0 / 0.567 GB, free: 14.27 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.97e-05/0.3667, allocations: 7.984 kB / 0.567 GB, free: 14.26 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001243/0.3668, allocations: 16 kB / 0.567 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.3668, allocations: 7.938 kB / 0.567 GB, free: 14.23 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.3669, allocations: 15.88 kB / 0.567 GB, free: 14.22 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.463e-05/0.367, allocations: 8 kB / 0.567 GB, free: 14.21 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.0002341/0.3672, allocations: 221.8 kB / 0.5672 GB, free: 13.98 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.019e-05/0.3673, allocations: 55.61 kB / 0.5673 GB, free: 13.93 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004193/0.3677, allocations: 205.8 kB / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3677, allocations: 0 / 0.5675 GB, free: 13.72 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.426e-06/0.3677, allocations: 4 kB / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-06/0.3677, allocations: 0 / 0.5675 GB, free: 13.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003226/0.368, allocations: 269.2 kB / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.368, allocations: 0 / 0.5677 GB, free: 13.42 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-05/0.3681, allocations: 8 kB / 0.5678 GB, free: 13.41 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.078e-05/0.3681, allocations: 11.94 kB / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.128e-05/0.3681, allocations: 0 / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.3681, allocations: 0 / 0.5678 GB, free: 13.4 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/0.3681, allocations: 8.234 kB / 0.5678 GB, free: 13.39 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003718/0.3685, allocations: 225.5 kB / 0.568 GB, free: 13.15 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.3686, allocations: 75.47 kB / 0.5681 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.491e-05/0.3687, allocations: 0 / 0.5681 GB, free: 13.08 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.579e-05/0.3687, allocations: 7.984 kB / 0.5681 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.039e-05/0.3688, allocations: 11.98 kB / 0.5681 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.786e-05/0.3688, allocations: 7.938 kB / 0.5681 GB, free: 13.05 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.000879/0.3697, allocations: 0.776 MB / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3697, allocations: 0 / 0.5688 GB, free: 12.28 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002958/0.37, allocations: 44 kB / 0.5689 GB, free: 12.23 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.001709/0.3717, allocations: 423.8 kB / 0.5693 GB, free: 12 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003022/0.372, allocations: 91.83 kB / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.372, allocations: 0 / 0.5694 GB, free: 11.91 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001198/0.3721, allocations: 43.97 kB / 0.5694 GB, free: 11.86 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004647/0.3726, allocations: 77.02 kB / 0.5695 GB, free: 11.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001455/0.374, allocations: 0.9261 MB / 0.5704 GB, free: 10.83 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.3743, allocations: 241.7 kB / 0.5706 GB, free: 10.57 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.745e-05/0.3744, allocations: 31.44 kB / 0.5707 GB, free: 10.54 MB / 414.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3744, allocations: 0 / 0.5707 GB, free: 10.54 MB / 414.1 MB Notification: Performance of Templates: time 0.0099/0.3843, allocations: 5.231 MB / 0.5758 GB, free: 5.316 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test69.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: 8.283354674000293]