Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.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.Test11,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.CombiTable1Dv.Test11") translateModel(ModelicaTest.Tables.CombiTable1Dv.Test11,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.CombiTable1Dv.Test11") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001112/0.001112, 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.369/1.369, 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.00104/0.00104, allocations: 106.2 kB / 291.9 MB, free: 10.94 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.3281/0.3281, allocations: 44.13 MB / 386.1 MB, free: 37.92 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001042/0.001042, allocations: 55.92 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3799/0.3809, allocations: 60.81 MB / 0.5064 GB, free: 38.59 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test11): time 0.003278/0.3843, allocations: 1.614 MB / 0.508 GB, free: 37.49 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007233/0.385, allocations: 410.4 kB / 0.5084 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.772e-05/0.3851, allocations: 0 / 0.5084 GB, free: 37.22 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002458/0.3853, allocations: 33.64 kB / 0.5084 GB, free: 37.21 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001384/0.3855, allocations: 25.94 kB / 0.5084 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002768/0.3858, allocations: 98.41 kB / 0.5085 GB, free: 37.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001503/0.386, allocations: 60.66 kB / 0.5086 GB, free: 37.12 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3861, allocations: 9.656 kB / 0.5086 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.761e-05/0.3861, allocations: 19.53 kB / 0.5086 GB, free: 37.11 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.64e-05/0.3862, allocations: 23 kB / 0.5086 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 1.896e-05/0.3862, allocations: 0 / 0.5086 GB, free: 37.09 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.745e-05/0.3863, allocations: 31.67 kB / 0.5086 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.795e-05/0.3864, allocations: 12.81 kB / 0.5087 GB, free: 37.08 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.346e-05/0.3864, allocations: 26.12 kB / 0.5087 GB, free: 37.06 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001633/0.3866, allocations: 84.69 kB / 0.5088 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.3866, allocations: 0 / 0.5088 GB, free: 37.02 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.3866, allocations: 0 / 0.5088 GB, free: 37.02 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.3866, allocations: 0 / 0.5088 GB, free: 37.02 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.0005126/0.3871, allocations: 387.4 kB / 0.5091 GB, free: 36.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.3872, allocations: 11.5 kB / 0.5091 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.069e-05/0.3872, allocations: 7.5 kB / 0.5092 GB, free: 36.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.3874, allocations: 187.8 kB / 0.5093 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.426e-06/0.3875, allocations: 4.375 kB / 0.5093 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.3875, allocations: 3.188 kB / 0.5093 GB, free: 36.41 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001484/0.3877, allocations: 52.27 kB / 0.5094 GB, free: 36.37 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.421e-05/0.3877, allocations: 7.938 kB / 0.5094 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.032e-05/0.3877, allocations: 0 / 0.5094 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3877, allocations: 0 / 0.5094 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001045/0.3878, allocations: 23.19 kB / 0.5094 GB, free: 36.36 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.3882, allocations: 284.7 kB / 0.5097 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002345/0.3885, allocations: 49.27 kB / 0.5097 GB, free: 36.04 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.927e-05/0.3886, allocations: 17.97 kB / 0.5098 GB, free: 36.03 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.177e-05/0.3886, allocations: 11.02 kB / 0.5098 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.608e-05/0.3886, allocations: 30.56 kB / 0.5098 GB, free: 35.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.202e-06/0.3886, allocations: 0 / 0.5098 GB, free: 35.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005472/0.3892, allocations: 154.3 kB / 0.5099 GB, free: 35.91 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.459e-05/0.3892, allocations: 52.44 kB / 0.51 GB, free: 35.84 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001321/0.3894, allocations: 169.5 kB / 0.5102 GB, free: 35.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 8.727e-06/0.3894, allocations: 25.7 kB / 0.5102 GB, free: 35.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.562e-05/0.3894, allocations: 101.1 kB / 0.5103 GB, free: 35.6 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.104e-05/0.3894, allocations: 7.812 kB / 0.5103 GB, free: 35.59 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.968e-05/0.3895, allocations: 23.81 kB / 0.5103 GB, free: 35.57 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.974e-05/0.3895, allocations: 324.9 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.539e-05/0.3896, allocations: 23.06 kB / 0.5106 GB, free: 35.25 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-05/0.3897, allocations: 18.78 kB / 0.5107 GB, free: 35.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.3898, allocations: 51.73 kB / 0.5107 GB, free: 35.22 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.3898, allocations: 0 / 0.5107 GB, free: 35.22 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000163/0.39, allocations: 94.91 kB / 0.5108 GB, free: 35.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.39, allocations: 5.406 kB / 0.5108 GB, free: 35.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.39, allocations: 4 kB / 0.5108 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.405e-05/0.39, allocations: 0 / 0.5108 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/0.3901, allocations: 14.47 kB / 0.5108 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.3901, allocations: 0 / 0.5108 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.63e-05/0.3902, allocations: 3.031 kB / 0.5108 GB, free: 35.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.3902, allocations: 0 / 0.5108 GB, free: 35.16 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 7.051e-05/0.3902, allocations: 130.2 kB / 0.5109 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.766e-05/0.3903, allocations: 6.844 kB / 0.511 GB, free: 35.04 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002261/0.3905, allocations: 103.6 kB / 0.5111 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.3905, allocations: 0 / 0.5111 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.3905, allocations: 0 / 0.5111 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.3905, allocations: 3.328 kB / 0.5111 GB, free: 34.98 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003458/0.3909, allocations: 361.7 kB / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3909, allocations: 3.031 kB / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.831e-05/0.391, allocations: 15.92 kB / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.391, allocations: 0 / 0.5114 GB, free: 34.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.828e-06/0.391, allocations: 4 kB / 0.5114 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.691e-06/0.391, allocations: 6.781 kB / 0.5114 GB, free: 34.63 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.391, allocations: 3.938 kB / 0.5114 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004676/0.3915, allocations: 0.7571 MB / 0.5122 GB, free: 33.89 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.3915, allocations: 83.86 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.567e-05/0.3915, allocations: 4 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.3916, allocations: 6.359 kB / 0.5123 GB, free: 33.79 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.599e-05/0.3916, allocations: 6.938 kB / 0.5123 GB, free: 33.78 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.328e-06/0.3917, allocations: 2.875 kB / 0.5123 GB, free: 33.78 MB / 378.7 MB Notification: Performance of sorting global known variables: time 7.439e-05/0.3917, allocations: 132.7 kB / 0.5124 GB, free: 33.69 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.9e-07/0.3917, allocations: 0 / 0.5124 GB, free: 33.69 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003232/0.3921, allocations: 15.25 kB / 0.5124 GB, free: 33.69 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.0008788/0.393, allocations: 398.6 kB / 0.5128 GB, free: 33.5 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.000193/0.3932, allocations: 54.3 kB / 0.5128 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.3932, allocations: 0 / 0.5128 GB, free: 33.48 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.509e-05/0.3933, allocations: 36.64 kB / 0.5129 GB, free: 33.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003567/0.3936, allocations: 15.94 kB / 0.5129 GB, free: 33.46 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004593/0.3941, allocations: 328.3 kB / 0.5132 GB, free: 33.18 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.3943, allocations: 0.7025 MB / 0.5139 GB, free: 32.48 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.508e-05/0.3943, allocations: 18.94 kB / 0.5139 GB, free: 32.47 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.399e-05/0.3943, allocations: 10.41 kB / 0.5139 GB, free: 32.47 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.3944, allocations: 2.688 kB / 0.5139 GB, free: 32.47 MB / 378.7 MB Notification: Performance of Templates: time 0.003212/0.3976, allocations: 1.076 MB / 0.515 GB, free: 32.32 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test11/Test11.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test11.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches