Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test5,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 98.64 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.4003/0.4003, allocations: 44.13 MB / 386.1 MB, free: 37.96 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 55.92 kB / 457.7 MB, free: 2.289 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3614, allocations: 60.8 MB / 0.5064 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test5): time 0.002774/0.3642, allocations: 1.639 MB / 0.508 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006492/0.3649, allocations: 417.8 kB / 0.5084 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.629e-05/0.365, allocations: 5.094 kB / 0.5084 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002578/0.3652, allocations: 94.02 kB / 0.5085 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001248/0.3654, allocations: 65.53 kB / 0.5085 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002405/0.3656, allocations: 96.22 kB / 0.5086 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.3658, allocations: 73.28 kB / 0.5087 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.3659, allocations: 20.19 kB / 0.5087 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.3659, allocations: 32.5 kB / 0.5088 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.651e-05/0.366, allocations: 52.14 kB / 0.5088 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.49e-05/0.366, allocations: 2.781 kB / 0.5088 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.838e-05/0.3661, allocations: 45.8 kB / 0.5088 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 4.391e-05/0.3661, allocations: 15.61 kB / 0.5089 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 3.405e-05/0.3662, allocations: 33.02 kB / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001579/0.3663, allocations: 107.9 kB / 0.509 GB, free: 36.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3664, allocations: 0 / 0.509 GB, free: 36.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.273e-06/0.3664, allocations: 0 / 0.509 GB, free: 36.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.556e-06/0.3664, allocations: 3.938 kB / 0.509 GB, free: 36.74 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003877/0.3668, allocations: 414 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.3668, allocations: 10.56 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.567e-05/0.3669, allocations: 12 kB / 0.5094 GB, free: 36.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.367, allocations: 203.3 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.045e-06/0.367, allocations: 3.25 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.193e-05/0.367, allocations: 4.375 kB / 0.5096 GB, free: 36.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001281/0.3672, allocations: 58.25 kB / 0.5097 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3672, allocations: 0 / 0.5097 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.3672, allocations: 0 / 0.5097 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.688e-06/0.3672, allocations: 2.875 kB / 0.5097 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.805e-05/0.3673, allocations: 28.62 kB / 0.5097 GB, free: 36.05 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003274/0.3677, allocations: 307.7 kB / 0.51 GB, free: 35.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.572e-05/0.3678, allocations: 43.48 kB / 0.51 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.315e-05/0.3678, allocations: 21 kB / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.21e-05/0.3678, allocations: 0 / 0.5101 GB, free: 35.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.3679, allocations: 33.62 kB / 0.5101 GB, free: 35.67 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.3679, allocations: 3.938 kB / 0.5101 GB, free: 35.67 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007715/0.3686, allocations: 239.9 kB / 0.5103 GB, free: 35.57 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.413e-05/0.3687, allocations: 51.41 kB / 0.5104 GB, free: 35.51 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001542/0.3688, allocations: 227.8 kB / 0.5106 GB, free: 35.38 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.816e-06/0.3689, allocations: 25.7 kB / 0.5106 GB, free: 35.34 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.266e-05/0.3689, allocations: 115.8 kB / 0.5107 GB, free: 35.24 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.218e-05/0.3689, allocations: 26.44 kB / 0.5107 GB, free: 35.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.203e-05/0.369, allocations: 22.95 kB / 0.5108 GB, free: 35.2 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.964e-05/0.369, allocations: 320.9 kB / 0.5111 GB, free: 34.88 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.313e-05/0.3691, allocations: 31.84 kB / 0.5111 GB, free: 34.87 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.32e-05/0.3692, allocations: 33.03 kB / 0.5111 GB, free: 34.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.3693, allocations: 77.2 kB / 0.5112 GB, free: 34.83 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.3693, allocations: 0 / 0.5112 GB, free: 34.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000178/0.3695, allocations: 111.6 kB / 0.5113 GB, free: 34.77 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.3695, allocations: 5.969 kB / 0.5113 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.3695, allocations: 3.641 kB / 0.5113 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.097e-05/0.3695, allocations: 0 / 0.5113 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.155e-05/0.3696, allocations: 21.77 kB / 0.5113 GB, free: 34.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.3696, allocations: 3.938 kB / 0.5114 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.826e-05/0.3697, allocations: 7 kB / 0.5114 GB, free: 34.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.887e-06/0.3697, allocations: 10.86 kB / 0.5114 GB, free: 34.75 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 6.099e-05/0.3698, allocations: 129.1 kB / 0.5115 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.082e-05/0.3698, allocations: 9.469 kB / 0.5115 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002346/0.37, allocations: 130.3 kB / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.37, allocations: 0 / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3701, allocations: 6.75 kB / 0.5116 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.357e-06/0.3701, allocations: 4.422 kB / 0.5116 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004099/0.3705, allocations: 418.1 kB / 0.512 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.532e-06/0.3705, allocations: 0 / 0.512 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.241e-05/0.3706, allocations: 25.59 kB / 0.5121 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.296e-06/0.3706, allocations: 0 / 0.5121 GB, free: 34.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3706, allocations: 10.94 kB / 0.5121 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.174e-06/0.3706, allocations: 32 / 0.5121 GB, free: 34.19 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.094e-06/0.3706, allocations: 7.984 kB / 0.5121 GB, free: 34.18 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004048/0.371, allocations: 0.8049 MB / 0.5129 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.557e-05/0.371, allocations: 87.25 kB / 0.5129 GB, free: 33.32 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.663e-05/0.3711, allocations: 10.78 kB / 0.513 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.656e-05/0.3711, allocations: 2.75 kB / 0.513 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.028e-05/0.3712, allocations: 6.188 kB / 0.513 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.3712, allocations: 2.969 kB / 0.513 GB, free: 33.31 MB / 378.7 MB Notification: Performance of sorting global known variables: time 9.538e-05/0.3713, allocations: 176.8 kB / 0.5131 GB, free: 33.21 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3713, allocations: 0 / 0.5131 GB, free: 33.21 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003301/0.3716, allocations: 28.66 kB / 0.5132 GB, free: 33.2 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * 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 Backend phase and start with SimCode phase: time 0.0008426/0.3725, allocations: 455.7 kB / 0.5136 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001926/0.3727, allocations: 77.53 kB / 0.5137 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.3727, allocations: 0 / 0.5137 GB, free: 32.97 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.991e-05/0.3728, allocations: 48.22 kB / 0.5137 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.3731, allocations: 18.91 kB / 0.5137 GB, free: 32.95 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004444/0.3736, allocations: 433.4 kB / 0.5142 GB, free: 32.6 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001268/0.3737, allocations: 0.7106 MB / 0.5148 GB, free: 31.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.45e-05/0.3738, allocations: 19.16 kB / 0.5149 GB, free: 31.9 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.3738, allocations: 16.64 kB / 0.5149 GB, free: 31.9 MB / 378.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3738, allocations: 4 kB / 0.5149 GB, free: 31.89 MB / 378.7 MB Notification: Performance of Templates: time 0.003317/0.3771, allocations: 1.331 MB / 0.5162 GB, free: 31.73 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test5/Test5.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test5.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches