Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.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.CombiTable1Dv.Test16") translateModel(ModelicaTest.Tables.CombiTable1Dv.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.CombiTable1Dv.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, 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.436/1.436, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001101/0.001101, allocations: 97.67 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.3698/0.3698, allocations: 44.14 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001047/0.001047, allocations: 51.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4404/0.4414, allocations: 60.8 MB / 0.5064 GB, free: 38.38 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test16): time 0.005752/0.4472, allocations: 1.644 MB / 0.508 GB, free: 37.26 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.001232/0.4485, allocations: 415.1 kB / 0.5084 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001201/0.4487, allocations: 0 / 0.5084 GB, free: 36.99 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004569/0.4492, allocations: 70.22 kB / 0.5085 GB, free: 36.98 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002779/0.4495, allocations: 56.98 kB / 0.5085 GB, free: 36.96 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005182/0.4501, allocations: 103.2 kB / 0.5086 GB, free: 36.91 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.4503, allocations: 76.16 kB / 0.5087 GB, free: 36.88 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001371/0.4505, allocations: 13.41 kB / 0.5087 GB, free: 36.87 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.613e-05/0.4506, allocations: 28.67 kB / 0.5087 GB, free: 36.86 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000169/0.4508, allocations: 56.06 kB / 0.5088 GB, free: 36.85 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 2.682e-05/0.4508, allocations: 10.19 kB / 0.5088 GB, free: 36.84 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001796/0.451, allocations: 45.44 kB / 0.5088 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 8.388e-05/0.4511, allocations: 19.62 kB / 0.5088 GB, free: 36.82 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 5.664e-05/0.4511, allocations: 28.59 kB / 0.5089 GB, free: 36.79 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002709/0.4514, allocations: 100.6 kB / 0.509 GB, free: 36.75 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.4514, allocations: 0 / 0.509 GB, free: 36.75 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.736e-06/0.4515, allocations: 3.422 kB / 0.509 GB, free: 36.75 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.748e-06/0.4515, allocations: 0 / 0.509 GB, free: 36.75 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.0005676/0.452, allocations: 402 kB / 0.5094 GB, free: 36.35 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.267e-05/0.4521, allocations: 16.12 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.4522, allocations: 10.53 kB / 0.5094 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000218/0.4524, allocations: 193 kB / 0.5096 GB, free: 36.13 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.84e-05/0.4524, allocations: 11.22 kB / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.4525, allocations: 7.156 kB / 0.5096 GB, free: 36.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001778/0.4527, allocations: 55.84 kB / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.4527, allocations: 0 / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.091e-05/0.4527, allocations: 2.938 kB / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.859e-06/0.4527, allocations: 0 / 0.5096 GB, free: 36.07 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001389/0.4529, allocations: 32.89 kB / 0.5097 GB, free: 36.06 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005/0.4534, allocations: 297.8 kB / 0.51 GB, free: 35.77 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001243/0.4535, allocations: 46.98 kB / 0.51 GB, free: 35.74 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.653e-05/0.4536, allocations: 20.95 kB / 0.51 GB, free: 35.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.598e-05/0.4536, allocations: 4 kB / 0.51 GB, free: 35.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.4537, allocations: 34.03 kB / 0.5101 GB, free: 35.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=4): time 1.472e-06/0.4537, allocations: 0 / 0.5101 GB, free: 35.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=8): time 0.00112/0.4548, allocations: 234.2 kB / 0.5103 GB, free: 35.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.228e-05/0.4549, allocations: 55.41 kB / 0.5103 GB, free: 35.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002328/0.4551, allocations: 210.1 kB / 0.5105 GB, free: 35.4 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.4551, allocations: 29.7 kB / 0.5106 GB, free: 35.36 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.587e-05/0.4552, allocations: 105.4 kB / 0.5107 GB, free: 35.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.543e-05/0.4552, allocations: 33.86 kB / 0.5107 GB, free: 35.24 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.883e-05/0.4553, allocations: 19.72 kB / 0.5107 GB, free: 35.22 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.479e-05/0.4554, allocations: 321.1 kB / 0.511 GB, free: 34.9 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001031/0.4555, allocations: 36.78 kB / 0.5111 GB, free: 34.89 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.4556, allocations: 27.94 kB / 0.5111 GB, free: 34.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001958/0.4558, allocations: 76.81 kB / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.4558, allocations: 0 / 0.5112 GB, free: 34.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002624/0.4561, allocations: 101.8 kB / 0.5112 GB, free: 34.8 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.4561, allocations: 7.188 kB / 0.5113 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4561, allocations: 0 / 0.5113 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.4561, allocations: 4 kB / 0.5113 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.4563, allocations: 22.38 kB / 0.5113 GB, free: 34.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.4563, allocations: 11.88 kB / 0.5113 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.521e-05/0.4564, allocations: 5.859 kB / 0.5113 GB, free: 34.79 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.07e-05/0.4564, allocations: 10.44 kB / 0.5113 GB, free: 34.78 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 9.884e-05/0.4565, allocations: 125.4 kB / 0.5114 GB, free: 34.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.326e-05/0.4565, allocations: 10.78 kB / 0.5114 GB, free: 34.65 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003565/0.4569, allocations: 145.7 kB / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4569, allocations: 2.688 kB / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.4569, allocations: 3.938 kB / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.4569, allocations: 0 / 0.5116 GB, free: 34.57 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005976/0.4575, allocations: 406.5 kB / 0.512 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.695e-06/0.4576, allocations: 4.031 kB / 0.512 GB, free: 34.22 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.564e-05/0.4577, allocations: 21.66 kB / 0.512 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/0.4577, allocations: 0 / 0.512 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.093e-05/0.4577, allocations: 2.844 kB / 0.512 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.336e-06/0.4577, allocations: 3.234 kB / 0.512 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.4577, allocations: 0 / 0.512 GB, free: 34.21 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005884/0.4583, allocations: 0.8152 MB / 0.5128 GB, free: 33.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.4584, allocations: 83.52 kB / 0.5129 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.194e-05/0.4584, allocations: 0 / 0.5129 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001066/0.4585, allocations: 6.203 kB / 0.5129 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.091e-05/0.4586, allocations: 13.03 kB / 0.5129 GB, free: 33.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.674e-06/0.4586, allocations: 2.625 kB / 0.5129 GB, free: 33.34 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001287/0.4587, allocations: 161.9 kB / 0.5131 GB, free: 33.24 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.4587, allocations: 0 / 0.5131 GB, free: 33.24 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0005862/0.4593, allocations: 25.78 kB / 0.5131 GB, free: 33.23 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.001387/0.4607, allocations: 454.1 kB / 0.5135 GB, free: 33.02 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002743/0.461, allocations: 71.89 kB / 0.5136 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.461, allocations: 0 / 0.5136 GB, free: 33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000118/0.4611, allocations: 43.19 kB / 0.5136 GB, free: 32.99 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004849/0.4616, allocations: 17.16 kB / 0.5136 GB, free: 32.98 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006889/0.4623, allocations: 410.3 kB / 0.514 GB, free: 32.65 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002316/0.4626, allocations: 0.7088 MB / 0.5147 GB, free: 31.96 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.516e-05/0.4627, allocations: 30.72 kB / 0.5147 GB, free: 31.94 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.124e-05/0.4627, allocations: 17.84 kB / 0.5148 GB, free: 31.93 MB / 378.7 MB Notification: Performance of SimCode: time 2.91e-07/0.4628, allocations: 3.938 kB / 0.5148 GB, free: 31.93 MB / 378.7 MB Notification: Performance of Templates: time 0.005281/0.468, allocations: 1.326 MB / 0.5161 GB, free: 31.76 MB / 378.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Dv/Test16/Test16.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches