Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.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.Test19,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.Test19") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test19,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.Test19") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001139/0.001139, 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.462/1.462, 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.001114/0.001114, allocations: 106 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.3991/0.3991, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001056/0.001056, allocations: 55.91 kB / 457.7 MB, free: 2.297 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4279/0.429, allocations: 60.79 MB / 0.5064 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test19): time 0.003453/0.4325, allocations: 1.625 MB / 0.508 GB, free: 37.2 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001888/0.4344, allocations: 0.9931 MB / 0.5089 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.925e-05/0.4345, allocations: 0 / 0.5089 GB, free: 36.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003301/0.4348, allocations: 32 kB / 0.509 GB, free: 36.48 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001735/0.4351, allocations: 35.58 kB / 0.509 GB, free: 36.46 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002558/0.4353, allocations: 72.38 kB / 0.5091 GB, free: 36.43 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001328/0.4355, allocations: 52.59 kB / 0.5091 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001166/0.4356, allocations: 13.36 kB / 0.5091 GB, free: 36.4 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.432e-05/0.4357, allocations: 20.28 kB / 0.5092 GB, free: 36.39 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001976/0.4359, allocations: 31.5 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.099e-05/0.4359, allocations: 6.781 kB / 0.5092 GB, free: 36.37 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001143/0.436, allocations: 50.16 kB / 0.5092 GB, free: 36.35 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 5.503e-05/0.4361, allocations: 9.891 kB / 0.5092 GB, free: 36.34 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 4.243e-05/0.4361, allocations: 14.62 kB / 0.5093 GB, free: 36.33 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.4363, allocations: 89.58 kB / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.4363, allocations: 0 / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.253e-06/0.4363, allocations: 0 / 0.5093 GB, free: 36.29 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.4363, allocations: 2.719 kB / 0.5094 GB, free: 36.29 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.0005335/0.4369, allocations: 380.9 kB / 0.5097 GB, free: 35.91 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.981e-05/0.4369, allocations: 12.47 kB / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.237e-05/0.437, allocations: 10.25 kB / 0.5097 GB, free: 35.9 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002068/0.4372, allocations: 184.3 kB / 0.5099 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.543e-05/0.4372, allocations: 3.25 kB / 0.5099 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.826e-05/0.4373, allocations: 384 / 0.5099 GB, free: 35.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001944/0.4375, allocations: 67.03 kB / 0.51 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.469e-05/0.4375, allocations: 0 / 0.51 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.343e-05/0.4375, allocations: 0 / 0.51 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.055e-05/0.4375, allocations: 2.375 kB / 0.51 GB, free: 35.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.834e-05/0.4376, allocations: 22.94 kB / 0.51 GB, free: 35.62 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004128/0.4381, allocations: 276.7 kB / 0.5103 GB, free: 35.34 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002437/0.4383, allocations: 37.47 kB / 0.5103 GB, free: 35.31 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.4384, allocations: 20.55 kB / 0.5103 GB, free: 35.3 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.799e-05/0.4384, allocations: 15.11 kB / 0.5103 GB, free: 35.29 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.017e-05/0.4384, allocations: 33.16 kB / 0.5104 GB, free: 35.25 MB / 378.7 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.4384, allocations: 0 / 0.5104 GB, free: 35.25 MB / 378.7 MB Notification: Performance of matching and sorting (n=5): time 0.0005394/0.439, allocations: 132.5 kB / 0.5105 GB, free: 35.18 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.831e-05/0.439, allocations: 84.05 kB / 0.5106 GB, free: 35.09 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001115/0.4392, allocations: 135.2 kB / 0.5107 GB, free: 34.98 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.4392, allocations: 29.7 kB / 0.5107 GB, free: 34.94 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.169e-05/0.4392, allocations: 94.19 kB / 0.5108 GB, free: 34.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.4393, allocations: 22.59 kB / 0.5108 GB, free: 34.83 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.284e-05/0.4393, allocations: 15.78 kB / 0.5109 GB, free: 34.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.4394, allocations: 321.6 kB / 0.5112 GB, free: 34.5 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.396e-05/0.4394, allocations: 19.05 kB / 0.5112 GB, free: 34.49 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.503e-05/0.4395, allocations: 35.78 kB / 0.5112 GB, free: 34.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.4396, allocations: 46.88 kB / 0.5113 GB, free: 34.45 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.4396, allocations: 0 / 0.5113 GB, free: 34.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000159/0.4398, allocations: 76.45 kB / 0.5113 GB, free: 34.41 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.889e-05/0.4398, allocations: 5.281 kB / 0.5113 GB, free: 34.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/0.4398, allocations: 3.984 kB / 0.5113 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.743e-05/0.4399, allocations: 6.281 kB / 0.5114 GB, free: 34.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.2e-05/0.4399, allocations: 18.77 kB / 0.5114 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.44, allocations: 2.281 kB / 0.5114 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.773e-05/0.44, allocations: 2.656 kB / 0.5114 GB, free: 34.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.193e-06/0.44, allocations: 2.688 kB / 0.5114 GB, free: 34.39 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 8.736e-05/0.4401, allocations: 120.4 kB / 0.5115 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.016e-05/0.4401, allocations: 7.188 kB / 0.5115 GB, free: 34.27 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002347/0.4404, allocations: 93.27 kB / 0.5116 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.4404, allocations: 2.812 kB / 0.5116 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/0.4404, allocations: 3.281 kB / 0.5116 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.4405, allocations: 320 / 0.5116 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003717/0.4408, allocations: 346.2 kB / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-06/0.4408, allocations: 0 / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.127e-05/0.4409, allocations: 13.66 kB / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.874e-06/0.4409, allocations: 0 / 0.5119 GB, free: 33.88 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4409, allocations: 8 kB / 0.5119 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.4409, allocations: 7.031 kB / 0.512 GB, free: 33.87 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.4409, allocations: 3.938 kB / 0.512 GB, free: 33.86 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004234/0.4414, allocations: 0.7427 MB / 0.5127 GB, free: 33.13 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.963e-05/0.4414, allocations: 88.2 kB / 0.5128 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.597e-05/0.4414, allocations: 0 / 0.5128 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.592e-05/0.4415, allocations: 5.625 kB / 0.5128 GB, free: 33.03 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.721e-05/0.4416, allocations: 7.312 kB / 0.5128 GB, free: 33.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.4416, allocations: 3.031 kB / 0.5128 GB, free: 33.02 MB / 378.7 MB Notification: Performance of sorting global known variables: time 6.477e-05/0.4416, allocations: 101 kB / 0.5129 GB, free: 32.94 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4416, allocations: 0 / 0.5129 GB, free: 32.94 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003534/0.442, allocations: 25.83 kB / 0.5129 GB, free: 32.93 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.001048/0.4431, allocations: 440.4 kB / 0.5133 GB, free: 32.73 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001998/0.4433, allocations: 45.53 kB / 0.5134 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.279e-06/0.4433, allocations: 0 / 0.5134 GB, free: 32.72 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 6.674e-05/0.4434, allocations: 35.12 kB / 0.5134 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.0003402/0.4437, allocations: 23.36 kB / 0.5134 GB, free: 32.69 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004197/0.4441, allocations: 283.9 kB / 0.5137 GB, free: 32.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001461/0.4443, allocations: 0.6929 MB / 0.5144 GB, free: 31.73 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 6.118e-05/0.4444, allocations: 9.234 kB / 0.5144 GB, free: 31.72 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.442e-05/0.4444, allocations: 16.59 kB / 0.5144 GB, free: 31.72 MB / 378.7 MB Notification: Performance of SimCode: time 2.1e-07/0.4444, allocations: 0 / 0.5144 GB, free: 31.72 MB / 378.7 MB Notification: Performance of Templates: time 0.003802/0.4482, allocations: 1.321 MB / 0.5157 GB, free: 31.55 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test19/Test19.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test19.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches