Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.001482/0.001482, 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.00187/0.00187, allocations: 215.8 kB / 23.73 MB, free: 4.156 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.513/1.513, allocations: 230.6 MB / 257.5 MB, free: 7.809 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.2313/0.2313, allocations: 46.96 MB / 360.9 MB, free: 4.055 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+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.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5096,variableFilter="time|startTime_0.y.1.|startTime.y.1.",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002255/0.002255, allocations: 67.89 kB / 0.4966 GB, free: 7.18 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3424/0.3447, allocations: 66.04 MB / 0.5611 GB, free: 4.172 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003567/0.3482, allocations: 1.788 MB / 0.5629 GB, free: 2.367 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002114/0.3504, allocations: 1.044 MB / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.146e-05/0.3504, allocations: 0 / 0.5639 GB, free: 1.32 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.351, allocations: 307.3 kB / 0.5642 GB, free: 1.02 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005289/0.3515, allocations: 267.1 kB / 0.5644 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002345/0.3518, allocations: 115.6 kB / 0.5646 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003227/0.3521, allocations: 259.3 kB / 0.5648 GB, free: 400 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.763e-05/0.3522, allocations: 9.797 kB / 0.5648 GB, free: 388 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.3523, allocations: 131.5 kB / 0.5649 GB, free: 256 kB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002666/0.3526, allocations: 215.4 kB / 0.5651 GB, free: 40 kB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.912e-05/0.3526, allocations: 8 kB / 0.5652 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001345/0.3528, allocations: 48.03 kB / 0.5652 GB, free: 15.98 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001661/0.3529, allocations: 143.5 kB / 0.5653 GB, free: 15.84 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001254/0.3531, allocations: 115 kB / 0.5654 GB, free: 15.73 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004558/0.3535, allocations: 388.6 kB / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.3535, allocations: 0 / 0.5658 GB, free: 15.36 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3535, allocations: 4 kB / 0.5658 GB, free: 15.35 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.512e-06/0.3535, allocations: 0 / 0.5658 GB, free: 15.35 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.001092/0.3546, allocations: 0.6825 MB / 0.5665 GB, free: 14.64 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.943e-05/0.3547, allocations: 8.031 kB / 0.5665 GB, free: 14.63 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.69e-05/0.3548, allocations: 52.61 kB / 0.5665 GB, free: 14.58 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006709/0.3554, allocations: 390.5 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.497e-05/0.3554, allocations: 4.375 kB / 0.5669 GB, free: 14.17 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.69e-05/0.3555, allocations: 12.11 kB / 0.5669 GB, free: 14.16 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002192/0.3557, allocations: 83.38 kB / 0.567 GB, free: 14.06 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.3557, allocations: 7.984 kB / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.282e-05/0.3557, allocations: 0 / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.3557, allocations: 0 / 0.567 GB, free: 14.05 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.3558, allocations: 39.91 kB / 0.5671 GB, free: 14.02 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004025/0.3562, allocations: 314 kB / 0.5674 GB, free: 13.68 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002952/0.3565, allocations: 105.2 kB / 0.5675 GB, free: 13.55 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001072/0.3566, allocations: 41.7 kB / 0.5675 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.139e-05/0.3567, allocations: 4 kB / 0.5675 GB, free: 13.5 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002611/0.3569, allocations: 116.9 kB / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of pre-optimization done (n=10): time 1.332e-06/0.3569, allocations: 0 / 0.5676 GB, free: 13.37 MB / 414.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005473/0.3575, allocations: 209.2 kB / 0.5678 GB, free: 13.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.259e-05/0.3575, allocations: 85.05 kB / 0.5679 GB, free: 13.06 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001284/0.3588, allocations: 1.058 MB / 0.5689 GB, free: 11.99 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.3588, allocations: 33.7 kB / 0.569 GB, free: 11.95 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002094/0.3591, allocations: 236.1 kB / 0.5692 GB, free: 11.71 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.18e-05/0.3591, allocations: 43.72 kB / 0.5692 GB, free: 11.67 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.86e-05/0.3592, allocations: 25.72 kB / 0.5692 GB, free: 11.64 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001901/0.3593, allocations: 374.8 kB / 0.5696 GB, free: 11.27 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.083e-05/0.3594, allocations: 31.98 kB / 0.5696 GB, free: 11.23 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.3595, allocations: 55.41 kB / 0.5697 GB, free: 11.17 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00019/0.3597, allocations: 95.36 kB / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3597, allocations: 0 / 0.5698 GB, free: 11.06 MB / 414.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000309/0.36, allocations: 181.2 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.3601, allocations: 4 kB / 0.57 GB, free: 10.88 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.3601, allocations: 4 kB / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.954e-05/0.3601, allocations: 0 / 0.57 GB, free: 10.87 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001205/0.3602, allocations: 27.92 kB / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.3602, allocations: 0 / 0.57 GB, free: 10.84 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.517e-05/0.3603, allocations: 16.55 kB / 0.57 GB, free: 10.83 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.162e-05/0.3603, allocations: 4 kB / 0.57 GB, free: 10.82 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.0002244/0.3605, allocations: 217.8 kB / 0.5702 GB, free: 10.6 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.356e-05/0.3606, allocations: 67.55 kB / 0.5703 GB, free: 10.54 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.361, allocations: 205.8 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.051e-06/0.361, allocations: 4 kB / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.361, allocations: 0 / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.361, allocations: 0 / 0.5705 GB, free: 10.32 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000297/0.3613, allocations: 265.2 kB / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3613, allocations: 0 / 0.5707 GB, free: 10.03 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.37e-05/0.3614, allocations: 15.94 kB / 0.5707 GB, free: 10.02 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.729e-06/0.3614, allocations: 3.938 kB / 0.5708 GB, free: 10.01 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.366e-05/0.3614, allocations: 7.984 kB / 0.5708 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.3614, allocations: 4 kB / 0.5708 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/0.3614, allocations: 0 / 0.5708 GB, free: 10 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000368/0.3618, allocations: 225.4 kB / 0.571 GB, free: 9.758 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001429/0.3619, allocations: 71.55 kB / 0.571 GB, free: 9.688 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.449e-05/0.362, allocations: 3.984 kB / 0.571 GB, free: 9.684 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.893e-05/0.362, allocations: 4 kB / 0.5711 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.978e-05/0.3621, allocations: 15.92 kB / 0.5711 GB, free: 9.664 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.3621, allocations: 7.938 kB / 0.5711 GB, free: 9.656 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0008922/0.363, allocations: 0.7956 MB / 0.5719 GB, free: 8.863 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.363, allocations: 4 kB / 0.5719 GB, free: 8.859 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.3633, allocations: 40 kB / 0.5719 GB, free: 8.82 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.001636/0.3649, allocations: 443.5 kB / 0.5723 GB, free: 8.562 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0002622/0.3652, allocations: 83.89 kB / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.3652, allocations: 0 / 0.5724 GB, free: 8.48 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.3653, allocations: 43.91 kB / 0.5724 GB, free: 8.438 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004275/0.3657, allocations: 82.92 kB / 0.5725 GB, free: 8.359 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001285/0.367, allocations: 0.8972 MB / 0.5734 GB, free: 7.434 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002619/0.3673, allocations: 245.7 kB / 0.5736 GB, free: 7.172 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001132/0.3674, allocations: 47.47 kB / 0.5737 GB, free: 7.129 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.932e-05/0.3674, allocations: 31.42 kB / 0.5737 GB, free: 7.102 MB / 414.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3674, allocations: 4 kB / 0.5737 GB, free: 7.098 MB / 414.1 MB Notification: Performance of Templates: time 0.009028/0.3765, allocations: 4.371 MB / 0.578 GB, free: 2.773 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Tables/CombiTimeTable/Test72/Test72.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Tables.CombiTimeTable.Test72.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.328795470297337]