Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.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.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test7,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001261/0.001261, 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.438/1.438, 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.001032/0.001032, allocations: 110.1 kB / 291.9 MB, free: 10.95 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.391/0.391, allocations: 44.12 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001943/0.001943, allocations: 59.92 kB / 457.8 MB, free: 2.332 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3636/0.3656, allocations: 60.79 MB / 0.5064 GB, free: 38.41 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test7): time 0.002874/0.3685, allocations: 1.611 MB / 0.508 GB, free: 37.32 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006985/0.3692, allocations: 404.7 kB / 0.5084 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.387e-05/0.3693, allocations: 1.125 kB / 0.5084 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002183/0.3695, allocations: 19.14 kB / 0.5084 GB, free: 37.05 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001348/0.3696, allocations: 32.38 kB / 0.5084 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002231/0.3699, allocations: 78.11 kB / 0.5085 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.00014/0.37, allocations: 61.17 kB / 0.5085 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.3702, allocations: 9.234 kB / 0.5085 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.872e-05/0.3702, allocations: 19.45 kB / 0.5086 GB, free: 36.95 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.999e-05/0.3703, allocations: 21.95 kB / 0.5086 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.905e-05/0.3703, allocations: 1.188 kB / 0.5086 GB, free: 36.94 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.765e-05/0.3704, allocations: 24.53 kB / 0.5086 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.683e-05/0.3704, allocations: 21.55 kB / 0.5086 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.283e-05/0.3705, allocations: 18.19 kB / 0.5086 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.3707, allocations: 77.55 kB / 0.5087 GB, free: 36.87 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.089e-06/0.3707, allocations: 0 / 0.5087 GB, free: 36.87 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.172e-06/0.3707, allocations: 0 / 0.5087 GB, free: 36.87 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.927e-06/0.3707, allocations: 1.094 kB / 0.5087 GB, free: 36.87 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003816/0.3711, allocations: 379.6 kB / 0.5091 GB, free: 36.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.3711, allocations: 9.219 kB / 0.5091 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/0.3712, allocations: 8.344 kB / 0.5091 GB, free: 36.48 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3713, allocations: 198.9 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.3713, allocations: 1.625 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.934e-05/0.3713, allocations: 1.5 kB / 0.5093 GB, free: 36.26 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001334/0.3715, allocations: 50.7 kB / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.3715, allocations: 0 / 0.5093 GB, free: 36.22 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.3715, allocations: 12.97 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.3715, allocations: 1.156 kB / 0.5094 GB, free: 36.21 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.23e-05/0.3716, allocations: 23.22 kB / 0.5094 GB, free: 36.2 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003438/0.372, allocations: 276 kB / 0.5096 GB, free: 35.92 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.3722, allocations: 39.41 kB / 0.5097 GB, free: 35.89 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.09e-05/0.3723, allocations: 23.64 kB / 0.5097 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.948e-05/0.3723, allocations: 0 / 0.5097 GB, free: 35.88 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.281e-05/0.3723, allocations: 35.69 kB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 9.22e-07/0.3723, allocations: 4 kB / 0.5097 GB, free: 35.83 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005236/0.3729, allocations: 136.3 kB / 0.5099 GB, free: 35.77 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.264e-05/0.3729, allocations: 54.09 kB / 0.5099 GB, free: 35.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.373, allocations: 152.1 kB / 0.5101 GB, free: 35.59 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.373, allocations: 28.64 kB / 0.5101 GB, free: 35.56 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.39e-05/0.3731, allocations: 98.14 kB / 0.5102 GB, free: 35.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.3731, allocations: 18.59 kB / 0.5102 GB, free: 35.45 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.673e-05/0.3731, allocations: 16.75 kB / 0.5102 GB, free: 35.43 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.967e-05/0.3732, allocations: 324.7 kB / 0.5105 GB, free: 35.11 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.847e-05/0.3732, allocations: 15.91 kB / 0.5105 GB, free: 35.11 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.147e-05/0.3733, allocations: 17.94 kB / 0.5106 GB, free: 35.11 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000106/0.3734, allocations: 45.94 kB / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.032e-06/0.3734, allocations: 8.125 kB / 0.5106 GB, free: 35.08 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001456/0.3736, allocations: 87.05 kB / 0.5107 GB, free: 35.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.3736, allocations: 6.656 kB / 0.5107 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.3736, allocations: 0 / 0.5107 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.211e-05/0.3736, allocations: 0 / 0.5107 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.196e-05/0.3737, allocations: 12.33 kB / 0.5107 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.979e-06/0.3737, allocations: 0 / 0.5107 GB, free: 35.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.585e-05/0.3737, allocations: 6.844 kB / 0.5107 GB, free: 35.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.773e-06/0.3737, allocations: 10.75 kB / 0.5107 GB, free: 35.02 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 (5): * Single equations (assignments): 5 * 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 5.731e-05/0.3738, allocations: 119.4 kB / 0.5108 GB, free: 34.9 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.629e-05/0.3738, allocations: 6.656 kB / 0.5108 GB, free: 34.89 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001882/0.374, allocations: 92.55 kB / 0.5109 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.374, allocations: 3.656 kB / 0.5109 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.416e-06/0.374, allocations: 0 / 0.5109 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.786e-06/0.3741, allocations: 0 / 0.5109 GB, free: 34.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002979/0.3744, allocations: 345.8 kB / 0.5113 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3744, allocations: 2.844 kB / 0.5113 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.731e-05/0.3744, allocations: 15.78 kB / 0.5113 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3744, allocations: 0 / 0.5113 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.477e-06/0.3745, allocations: 0 / 0.5113 GB, free: 34.51 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.3745, allocations: 6.906 kB / 0.5113 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.3745, allocations: 0 / 0.5113 GB, free: 34.5 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003443/0.3748, allocations: 0.7548 MB / 0.512 GB, free: 33.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.118e-05/0.3749, allocations: 79.98 kB / 0.5121 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.44e-05/0.3749, allocations: 4 kB / 0.5121 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.223e-05/0.3749, allocations: 6.312 kB / 0.5121 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.313e-05/0.375, allocations: 10.38 kB / 0.5121 GB, free: 33.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.517e-06/0.375, allocations: 4 kB / 0.5121 GB, free: 33.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 5.96e-05/0.375, allocations: 121.6 kB / 0.5122 GB, free: 33.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3751, allocations: 0 / 0.5122 GB, free: 33.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003163/0.3754, allocations: 18.66 kB / 0.5123 GB, free: 33.56 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (5): * Single equations (assignments): 5 * 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.0007874/0.3762, allocations: 394.4 kB / 0.5126 GB, free: 33.37 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001869/0.3764, allocations: 48.3 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.3764, allocations: 4 kB / 0.5127 GB, free: 33.36 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.725e-05/0.3765, allocations: 28.36 kB / 0.5127 GB, free: 33.35 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.3768, allocations: 19.73 kB / 0.5127 GB, free: 33.34 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004536/0.3772, allocations: 314.5 kB / 0.513 GB, free: 33.06 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001688/0.3774, allocations: 0.6958 MB / 0.5137 GB, free: 32.36 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.569e-05/0.3775, allocations: 17.48 kB / 0.5137 GB, free: 32.35 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.692e-05/0.3775, allocations: 10.47 kB / 0.5137 GB, free: 32.35 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3775, allocations: 2.875 kB / 0.5137 GB, free: 32.35 MB / 378.7 MB Notification: Performance of Templates: time 0.003145/0.3807, allocations: 1.054 MB / 0.5148 GB, free: 32.21 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test7/Test7.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test7.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches