Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.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.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test4,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|t_new.y.2.|d_t_new.y|clock.y|d_t_new2.y|d2_t_new.y|d2_t_new2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001618/0.001618, 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.361/1.361, allocations: 222.9 MB / 241.6 MB, free: 11 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.001241/0.001241, allocations: 105.6 kB / 291.9 MB, free: 10.96 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.3751/0.3751, allocations: 44.13 MB / 386.1 MB, free: 38 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001049/0.001049, allocations: 59.92 kB / 457.7 MB, free: 2.309 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.44, allocations: 60.79 MB / 0.5064 GB, free: 38.35 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test4): time 0.004199/0.4442, allocations: 1.675 MB / 0.508 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009867/0.4453, allocations: 420.7 kB / 0.5084 GB, free: 36.93 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.503e-05/0.4454, allocations: 4 kB / 0.5084 GB, free: 36.92 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003458/0.4457, allocations: 96.5 kB / 0.5085 GB, free: 36.9 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002089/0.446, allocations: 54.81 kB / 0.5086 GB, free: 36.89 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003262/0.4463, allocations: 82.59 kB / 0.5087 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001783/0.4465, allocations: 89.31 kB / 0.5087 GB, free: 36.81 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001167/0.4467, allocations: 21.52 kB / 0.5088 GB, free: 36.8 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.708e-05/0.4467, allocations: 38.17 kB / 0.5088 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.4469, allocations: 53 kB / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.4469, allocations: 3.844 kB / 0.5088 GB, free: 36.78 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000122/0.4471, allocations: 42.06 kB / 0.5089 GB, free: 36.77 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 6.515e-05/0.4471, allocations: 37.25 kB / 0.5089 GB, free: 36.75 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.715e-05/0.4472, allocations: 37.16 kB / 0.509 GB, free: 36.71 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001993/0.4474, allocations: 121.1 kB / 0.5091 GB, free: 36.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.818e-06/0.4474, allocations: 0 / 0.5091 GB, free: 36.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.4474, allocations: 0 / 0.5091 GB, free: 36.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.168e-06/0.4474, allocations: 0 / 0.5091 GB, free: 36.66 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0004804/0.4479, allocations: 424.1 kB / 0.5095 GB, free: 36.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.811e-05/0.448, allocations: 8.688 kB / 0.5095 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.967e-05/0.448, allocations: 13.62 kB / 0.5095 GB, free: 36.25 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002104/0.4483, allocations: 215.9 kB / 0.5097 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4483, allocations: 7.312 kB / 0.5097 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.372e-05/0.4483, allocations: 6.969 kB / 0.5097 GB, free: 36.01 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001967/0.4485, allocations: 70.72 kB / 0.5098 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.4486, allocations: 4 kB / 0.5098 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.146e-05/0.4486, allocations: 1.438 kB / 0.5098 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.4486, allocations: 1.156 kB / 0.5098 GB, free: 35.96 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001653/0.4488, allocations: 37.39 kB / 0.5098 GB, free: 35.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004566/0.4492, allocations: 330.2 kB / 0.5101 GB, free: 35.65 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001493/0.4494, allocations: 58.91 kB / 0.5102 GB, free: 35.61 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.909e-05/0.4495, allocations: 22.89 kB / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.846e-05/0.4495, allocations: 6.5 kB / 0.5102 GB, free: 35.6 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.4496, allocations: 38.56 kB / 0.5103 GB, free: 35.55 MB / 378.7 MB Notification: Performance of pre-optimization done (n=7): time 1.583e-06/0.4496, allocations: 0 / 0.5103 GB, free: 35.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=13): time 0.001285/0.4509, allocations: 310.1 kB / 0.5106 GB, free: 35.43 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.047e-05/0.4509, allocations: 54.42 kB / 0.5106 GB, free: 35.36 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002237/0.4511, allocations: 237.4 kB / 0.5108 GB, free: 35.22 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.241e-05/0.4512, allocations: 32.64 kB / 0.5109 GB, free: 35.18 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.17e-05/0.4512, allocations: 113.1 kB / 0.511 GB, free: 35.08 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.949e-05/0.4513, allocations: 44.62 kB / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.761e-05/0.4513, allocations: 29.78 kB / 0.511 GB, free: 35.02 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.953e-05/0.4514, allocations: 321 kB / 0.5114 GB, free: 34.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001348/0.4516, allocations: 38.61 kB / 0.5114 GB, free: 34.69 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001292/0.4517, allocations: 39.25 kB / 0.5114 GB, free: 34.68 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002696/0.452, allocations: 85.53 kB / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.452, allocations: 0 / 0.5115 GB, free: 34.64 MB / 378.7 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000394/0.4524, allocations: 143.7 kB / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.4524, allocations: 5.688 kB / 0.5117 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/0.4525, allocations: 0 / 0.5117 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.4525, allocations: 6.781 kB / 0.5117 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001826/0.4527, allocations: 27.38 kB / 0.5117 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.4527, allocations: 3.328 kB / 0.5117 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.462e-05/0.4528, allocations: 2.844 kB / 0.5117 GB, free: 34.56 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.249e-05/0.4528, allocations: 6.062 kB / 0.5117 GB, free: 34.56 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 (13): * Single equations (assignments): 13 * 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.0001102/0.4529, allocations: 137.4 kB / 0.5118 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.036e-05/0.453, allocations: 13.16 kB / 0.5118 GB, free: 34.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004808/0.4535, allocations: 159.1 kB / 0.512 GB, free: 34.36 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.4535, allocations: 6.719 kB / 0.512 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.4535, allocations: 0 / 0.512 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.4536, allocations: 3.469 kB / 0.512 GB, free: 34.35 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008211/0.4544, allocations: 479.4 kB / 0.5125 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4544, allocations: 0 / 0.5125 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001508/0.4546, allocations: 28.41 kB / 0.5125 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.4546, allocations: 2.531 kB / 0.5125 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.4546, allocations: 3.281 kB / 0.5125 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.67e-06/0.4546, allocations: 2.688 kB / 0.5125 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.4547, allocations: 0 / 0.5125 GB, free: 33.96 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008135/0.4555, allocations: 0.8483 MB / 0.5133 GB, free: 33.18 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.148e-05/0.4555, allocations: 87.52 kB / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.792e-05/0.4556, allocations: 3.25 kB / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001346/0.4557, allocations: 9.594 kB / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.187e-05/0.4558, allocations: 11.58 kB / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.4558, allocations: 5.844 kB / 0.5134 GB, free: 33.07 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001921/0.456, allocations: 177.5 kB / 0.5136 GB, free: 32.96 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.456, allocations: 3.938 kB / 0.5136 GB, free: 32.96 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006883/0.4567, allocations: 28.28 kB / 0.5136 GB, free: 32.95 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 (13): * Single equations (assignments): 13 * 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.001453/0.4582, allocations: 456.5 kB / 0.5141 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0003559/0.4586, allocations: 98.69 kB / 0.5142 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4586, allocations: 0 / 0.5142 GB, free: 32.71 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001627/0.4588, allocations: 49.67 kB / 0.5142 GB, free: 32.7 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005592/0.4594, allocations: 35.97 kB / 0.5142 GB, free: 32.68 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008344/0.4602, allocations: 482.1 kB / 0.5147 GB, free: 32.3 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000217/0.4604, allocations: 0.7188 MB / 0.5154 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0001016/0.4606, allocations: 15.8 kB / 0.5154 GB, free: 31.61 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.353e-05/0.4606, allocations: 15.31 kB / 0.5154 GB, free: 31.6 MB / 378.7 MB Notification: Performance of SimCode: time 4.41e-07/0.4606, allocations: 0 / 0.5154 GB, free: 31.6 MB / 378.7 MB Notification: Performance of Templates: time 0.006314/0.467, allocations: 1.49 MB / 0.5169 GB, free: 31.42 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test4/Test4.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test4.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches