Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001761/0.001761, allocations: 111.1 kB / 20.44 MB, free: 1.062 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.001458/0.001458, allocations: 215.9 kB / 23.73 MB, free: 4.16 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.559/1.559, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3058/0.3058, allocations: 46.96 MB / 360.9 MB, free: 4.031 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+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.1.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.1.0_ModelicaTest.Tables.CombiTimeTable.Test69") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 67.89 kB / 0.4967 GB, free: 7.145 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.348/0.3501, allocations: 66.03 MB / 0.5611 GB, free: 4.156 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.003581/0.3537, allocations: 1.791 MB / 0.5629 GB, free: 2.348 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001988/0.3557, allocations: 1.044 MB / 0.5639 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.455e-05/0.3558, allocations: 0 / 0.5639 GB, free: 1.301 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005382/0.3563, allocations: 307.3 kB / 0.5642 GB, free: 1 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005168/0.3568, allocations: 251.2 kB / 0.5644 GB, free: 0.7539 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002542/0.3571, allocations: 111.6 kB / 0.5645 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003491/0.3574, allocations: 267.2 kB / 0.5648 GB, free: 392 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.221e-05/0.3575, allocations: 9.812 kB / 0.5648 GB, free: 380 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001669/0.3577, allocations: 127.6 kB / 0.5649 GB, free: 252 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002764/0.3579, allocations: 211.9 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 3.069e-05/0.358, allocations: 8 kB / 0.5651 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001352/0.3581, allocations: 51.97 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001746/0.3583, allocations: 132.5 kB / 0.5653 GB, free: 15.85 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001356/0.3584, allocations: 115 kB / 0.5654 GB, free: 15.74 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000483/0.3589, allocations: 376.6 kB / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.3589, allocations: 0 / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.434e-06/0.3589, allocations: 0 / 0.5658 GB, free: 15.38 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.848e-06/0.3589, allocations: 4 kB / 0.5658 GB, free: 15.37 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.001199/0.3601, allocations: 0.6708 MB / 0.5664 GB, free: 14.67 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.3602, allocations: 12.03 kB / 0.5665 GB, free: 14.66 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001095/0.3603, allocations: 48.61 kB / 0.5665 GB, free: 14.61 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00074/0.361, allocations: 394.5 kB / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.262e-05/0.361, allocations: 384 / 0.5669 GB, free: 14.2 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.742e-05/0.3611, allocations: 12.12 kB / 0.5669 GB, free: 14.19 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002552/0.3613, allocations: 83.36 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.899e-06/0.3613, allocations: 0 / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.702e-05/0.3613, allocations: 4 kB / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3613, allocations: 0 / 0.567 GB, free: 14.09 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000127/0.3615, allocations: 35.91 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000444/0.3619, allocations: 302.1 kB / 0.5673 GB, free: 13.73 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000311/0.3622, allocations: 109.2 kB / 0.5674 GB, free: 13.6 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001045/0.3623, allocations: 45.62 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.76e-05/0.3623, allocations: 3.938 kB / 0.5674 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002495/0.3626, allocations: 113 kB / 0.5675 GB, free: 13.42 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.513e-06/0.3626, allocations: 0 / 0.5675 GB, free: 13.42 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005904/0.3632, allocations: 213.2 kB / 0.5678 GB, free: 13.2 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.621e-05/0.3632, allocations: 81.11 kB / 0.5678 GB, free: 13.11 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001395/0.3646, allocations: 1.038 MB / 0.5688 GB, free: 12.05 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.3647, allocations: 25.7 kB / 0.5689 GB, free: 12.02 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002531/0.3649, allocations: 236.1 kB / 0.5691 GB, free: 11.79 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/0.365, allocations: 31.78 kB / 0.5691 GB, free: 11.76 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.423e-05/0.3651, allocations: 29.7 kB / 0.5692 GB, free: 11.72 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.3653, allocations: 366.8 kB / 0.5695 GB, free: 11.36 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.992e-05/0.3654, allocations: 27.98 kB / 0.5695 GB, free: 11.33 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001078/0.3655, allocations: 63.41 kB / 0.5696 GB, free: 11.25 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002041/0.3657, allocations: 99.84 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3657, allocations: 4 kB / 0.5697 GB, free: 11.14 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0003159/0.366, allocations: 177.2 kB / 0.5699 GB, free: 10.96 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.798e-05/0.366, allocations: 7.938 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.366, allocations: 0 / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.879e-05/0.366, allocations: 7.984 kB / 0.5699 GB, free: 10.95 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001261/0.3662, allocations: 19.94 kB / 0.5699 GB, free: 10.93 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.3662, allocations: 4 kB / 0.5699 GB, free: 10.92 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.3663, allocations: 23.94 kB / 0.5699 GB, free: 10.9 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.078e-05/0.3663, allocations: 4 kB / 0.5699 GB, free: 10.89 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.0002351/0.3665, allocations: 213.8 kB / 0.5701 GB, free: 10.68 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.822e-05/0.3666, allocations: 55.61 kB / 0.5702 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004218/0.367, allocations: 201.8 kB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.033e-06/0.367, allocations: 4 kB / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.367, allocations: 0 / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.367, allocations: 0 / 0.5704 GB, free: 10.41 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.3674, allocations: 269.2 kB / 0.5706 GB, free: 10.12 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.3674, allocations: 4 kB / 0.5706 GB, free: 10.11 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.3674, allocations: 11.94 kB / 0.5706 GB, free: 10.1 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.085e-06/0.3674, allocations: 7.938 kB / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.253e-05/0.3675, allocations: 256 / 0.5707 GB, free: 10.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.3675, allocations: 11.98 kB / 0.5707 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3675, allocations: 0 / 0.5707 GB, free: 10.08 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000415/0.3679, allocations: 221.5 kB / 0.5709 GB, free: 9.844 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001699/0.3681, allocations: 71.53 kB / 0.5709 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.72e-05/0.3681, allocations: 0 / 0.5709 GB, free: 9.773 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.714e-05/0.3682, allocations: 11.98 kB / 0.571 GB, free: 9.762 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.117e-05/0.3683, allocations: 11.98 kB / 0.571 GB, free: 9.75 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.519e-05/0.3683, allocations: 7.938 kB / 0.571 GB, free: 9.742 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0009734/0.3693, allocations: 0.7721 MB / 0.5717 GB, free: 8.973 MB / 414.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3693, allocations: 0 / 0.5717 GB, free: 8.973 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002974/0.3696, allocations: 44 kB / 0.5718 GB, free: 8.93 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.001703/0.3713, allocations: 425.5 kB / 0.5722 GB, free: 8.688 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0003257/0.3716, allocations: 87.83 kB / 0.5723 GB, free: 8.602 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.3716, allocations: 8.125 kB / 0.5723 GB, free: 8.594 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.3717, allocations: 47.84 kB / 0.5723 GB, free: 8.547 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000493/0.3722, allocations: 84.61 kB / 0.5724 GB, free: 8.473 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001509/0.3737, allocations: 0.8777 MB / 0.5733 GB, free: 7.566 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002923/0.374, allocations: 233.8 kB / 0.5735 GB, free: 7.316 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001359/0.3741, allocations: 58.95 kB / 0.5735 GB, free: 7.262 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.096e-05/0.3742, allocations: 27.44 kB / 0.5736 GB, free: 7.238 MB / 414.1 MB Notification: Performance of SimCode: time 3.71e-07/0.3742, allocations: 0 / 0.5736 GB, free: 7.238 MB / 414.1 MB Notification: Performance of Templates: time 0.01007/0.3843, allocations: 4.315 MB / 0.5778 GB, free: 2.969 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test69/Test69.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 5.359058041125536]