Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.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.Test16,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.CombiTable1Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test16,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.CombiTable1Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001667/0.001667, 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.327/1.327, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.001028/0.001028, allocations: 100.6 kB / 291.8 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.3717/0.3717, allocations: 44.12 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001086/0.001086, allocations: 51.92 kB / 457.7 MB, free: 2.27 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3541/0.3552, allocations: 60.8 MB / 0.5064 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test16): time 0.002852/0.3581, allocations: 1.644 MB / 0.508 GB, free: 37.29 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007166/0.3589, allocations: 406.1 kB / 0.5084 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.402e-05/0.3589, allocations: 1.25 kB / 0.5084 GB, free: 37.03 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002791/0.3592, allocations: 74.23 kB / 0.5085 GB, free: 37.01 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000148/0.3594, allocations: 56.77 kB / 0.5085 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002311/0.3596, allocations: 70.58 kB / 0.5086 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001652/0.3598, allocations: 78.66 kB / 0.5086 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.3599, allocations: 19.39 kB / 0.5087 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.71e-05/0.36, allocations: 29.92 kB / 0.5087 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/0.3601, allocations: 48.41 kB / 0.5087 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.879e-05/0.3601, allocations: 2.375 kB / 0.5087 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.3602, allocations: 44.36 kB / 0.5088 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.064e-05/0.3603, allocations: 18.59 kB / 0.5088 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.028e-05/0.3603, allocations: 33.31 kB / 0.5088 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001759/0.3605, allocations: 99.48 kB / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.3605, allocations: 4 kB / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of FrontEnd: time 7.81e-07/0.3605, allocations: 0 / 0.5089 GB, free: 36.8 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.3606, allocations: 0.9688 kB / 0.5089 GB, free: 36.8 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.0004165/0.361, allocations: 402.8 kB / 0.5093 GB, free: 36.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.361, allocations: 11.38 kB / 0.5093 GB, free: 36.4 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.703e-05/0.3611, allocations: 7.75 kB / 0.5093 GB, free: 36.39 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000149/0.3612, allocations: 202.5 kB / 0.5095 GB, free: 36.18 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/0.3612, allocations: 11.19 kB / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.238e-05/0.3613, allocations: 384 / 0.5095 GB, free: 36.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001336/0.3614, allocations: 62.64 kB / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.202e-05/0.3614, allocations: 0 / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.3614, allocations: 4 kB / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3614, allocations: 3.938 kB / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.358e-05/0.3615, allocations: 28.61 kB / 0.5096 GB, free: 36.11 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003067/0.3619, allocations: 291.2 kB / 0.5099 GB, free: 35.82 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.719e-05/0.362, allocations: 43.88 kB / 0.51 GB, free: 35.79 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.276e-05/0.362, allocations: 20.88 kB / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.111e-05/0.362, allocations: 0 / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.812e-05/0.3621, allocations: 33.38 kB / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.3621, allocations: 0 / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.0007969/0.3629, allocations: 225.2 kB / 0.5102 GB, free: 35.64 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.023e-05/0.3629, allocations: 54.25 kB / 0.5103 GB, free: 35.58 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001443/0.363, allocations: 213 kB / 0.5105 GB, free: 35.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.496e-06/0.3631, allocations: 25.7 kB / 0.5105 GB, free: 35.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.699e-05/0.3631, allocations: 101.2 kB / 0.5106 GB, free: 35.32 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.3631, allocations: 33.75 kB / 0.5106 GB, free: 35.29 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.09e-05/0.3632, allocations: 19.62 kB / 0.5107 GB, free: 35.27 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.968e-05/0.3632, allocations: 325.3 kB / 0.511 GB, free: 34.95 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.082e-05/0.3633, allocations: 26.77 kB / 0.511 GB, free: 34.95 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.804e-05/0.3634, allocations: 22.45 kB / 0.511 GB, free: 34.94 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3635, allocations: 60.03 kB / 0.5111 GB, free: 34.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3635, allocations: 4 kB / 0.5111 GB, free: 34.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001693/0.3637, allocations: 101.5 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3637, allocations: 5.688 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3637, allocations: 0 / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.736e-05/0.3637, allocations: 0 / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.045e-05/0.3638, allocations: 21.08 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.061e-06/0.3638, allocations: 3.938 kB / 0.5112 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.682e-05/0.3639, allocations: 6.25 kB / 0.5112 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.3639, allocations: 14.56 kB / 0.5112 GB, free: 34.84 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.676e-05/0.364, allocations: 125.5 kB / 0.5113 GB, free: 34.72 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.364, allocations: 11.78 kB / 0.5113 GB, free: 34.71 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002288/0.3642, allocations: 117.6 kB / 0.5115 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.3642, allocations: 0 / 0.5115 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.3643, allocations: 3.938 kB / 0.5115 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.3643, allocations: 3.234 kB / 0.5115 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000373/0.3646, allocations: 400.1 kB / 0.5118 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3647, allocations: 3.938 kB / 0.5118 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.929e-05/0.3647, allocations: 21.27 kB / 0.5119 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3647, allocations: 2.781 kB / 0.5119 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.694e-06/0.3647, allocations: 0 / 0.5119 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.3648, allocations: 2.688 kB / 0.5119 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.3648, allocations: 4.031 kB / 0.5119 GB, free: 34.29 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003887/0.3651, allocations: 0.7907 MB / 0.5127 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.702e-05/0.3652, allocations: 87.95 kB / 0.5127 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.435e-05/0.3652, allocations: 7.281 kB / 0.5127 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.492e-05/0.3653, allocations: 2.938 kB / 0.5127 GB, free: 33.42 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.834e-05/0.3653, allocations: 10.28 kB / 0.5128 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-06/0.3653, allocations: 3.359 kB / 0.5128 GB, free: 33.41 MB / 378.7 MB Notification: Performance of sorting global known variables: time 8.648e-05/0.3654, allocations: 159.6 kB / 0.5129 GB, free: 33.32 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3654, allocations: 0 / 0.5129 GB, free: 33.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000326/0.3658, allocations: 28 kB / 0.5129 GB, free: 33.3 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.0009038/0.3667, allocations: 455.5 kB / 0.5134 GB, free: 33.09 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001944/0.3669, allocations: 63.92 kB / 0.5134 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3669, allocations: 0 / 0.5134 GB, free: 33.08 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.532e-05/0.367, allocations: 39.92 kB / 0.5135 GB, free: 33.07 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003114/0.3673, allocations: 26.55 kB / 0.5135 GB, free: 33.05 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004441/0.3677, allocations: 393.9 kB / 0.5139 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001353/0.3679, allocations: 0.7058 MB / 0.5146 GB, free: 32.03 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 4.926e-05/0.3679, allocations: 13.02 kB / 0.5146 GB, free: 32.02 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.702e-05/0.368, allocations: 14.75 kB / 0.5146 GB, free: 32.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.392e-06/0.368, allocations: 0 / 0.5146 GB, free: 32.02 MB / 378.7 MB Notification: Performance of Templates: time 0.003336/0.3713, allocations: 1.3 MB / 0.5159 GB, free: 31.85 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches