Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") translateModel(ModelicaTest.Tables.CombiTable1Ds.Test15,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.Test15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001385/0.001385, allocations: 113.4 kB / 17.78 MB, free: 5.266 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 184.9 kB / 18.71 MB, free: 4.344 MB / 14.72 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 / 242.4 MB, free: 15.04 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2162/0.2162, allocations: 44.18 MB / 336.7 MB, free: 2.648 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0012/0.0012, allocations: 67.89 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4282/0.4294, allocations: 60.82 MB / 0.5189 GB, free: 3.605 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Ds.Test15): time 0.002771/0.4323, allocations: 1.59 MB / 0.5205 GB, free: 2.504 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006933/0.433, allocations: 410.4 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.702e-05/0.433, allocations: 1.219 kB / 0.5209 GB, free: 2.234 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002823/0.4333, allocations: 68.11 kB / 0.5209 GB, free: 2.223 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002173/0.4336, allocations: 66.62 kB / 0.521 GB, free: 2.195 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002722/0.4339, allocations: 85.92 kB / 0.5211 GB, free: 2.152 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001982/0.4341, allocations: 72.98 kB / 0.5211 GB, free: 2.125 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001221/0.4342, allocations: 18.77 kB / 0.5212 GB, free: 2.117 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.4343, allocations: 38.52 kB / 0.5212 GB, free: 2.102 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001165/0.4344, allocations: 52.95 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.997e-05/0.4344, allocations: 2.781 kB / 0.5213 GB, free: 2.086 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.4345, allocations: 44.17 kB / 0.5213 GB, free: 2.074 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.269e-05/0.4346, allocations: 19.3 kB / 0.5213 GB, free: 2.066 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.79e-05/0.4346, allocations: 29.11 kB / 0.5213 GB, free: 2.043 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.4348, allocations: 104.8 kB / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.4348, allocations: 0 / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.324e-06/0.4348, allocations: 0 / 0.5214 GB, free: 1.996 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.941e-06/0.4349, allocations: 3.938 kB / 0.5214 GB, free: 1.992 MB / 382.1 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.0003949/0.4353, allocations: 406 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.664e-05/0.4353, allocations: 9 kB / 0.5218 GB, free: 1.594 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.705e-05/0.4353, allocations: 11.03 kB / 0.5219 GB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001406/0.4355, allocations: 197.2 kB / 0.522 GB, free: 1.375 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.4355, allocations: 5.562 kB / 0.522 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.484e-05/0.4355, allocations: 2.625 kB / 0.522 GB, free: 1.371 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001399/0.4357, allocations: 61.02 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.4357, allocations: 0 / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/0.4357, allocations: 1.156 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.4357, allocations: 1.281 kB / 0.5221 GB, free: 1.324 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.497e-05/0.4358, allocations: 23.86 kB / 0.5221 GB, free: 1.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003114/0.4361, allocations: 290.5 kB / 0.5224 GB, free: 1.031 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001044/0.4363, allocations: 50.77 kB / 0.5225 GB, free: 0.9922 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.856e-05/0.4363, allocations: 19.25 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.381e-05/0.4363, allocations: 1.734 kB / 0.5225 GB, free: 0.9805 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.733e-05/0.4364, allocations: 31.66 kB / 0.5225 GB, free: 0.9414 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.733e-06/0.4364, allocations: 3.984 kB / 0.5225 GB, free: 0.9375 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0008278/0.4372, allocations: 226.5 kB / 0.5227 GB, free: 0.8438 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.4372, allocations: 53.31 kB / 0.5228 GB, free: 0.7812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.4374, allocations: 210.3 kB / 0.523 GB, free: 0.6445 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.668e-06/0.4375, allocations: 29.64 kB / 0.523 GB, free: 0.6094 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.706e-05/0.4375, allocations: 112.5 kB / 0.5231 GB, free: 0.5039 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.555e-05/0.4375, allocations: 25.59 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.4376, allocations: 21 kB / 0.5232 GB, free: 476 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.243e-05/0.4376, allocations: 322.3 kB / 0.5235 GB, free: 152 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.789e-05/0.4377, allocations: 22.12 kB / 0.5235 GB, free: 148 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.058e-05/0.4378, allocations: 31.08 kB / 0.5235 GB, free: 136 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001467/0.438, allocations: 67.44 kB / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.11e-07/0.438, allocations: 0 / 0.5236 GB, free: 104 kB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001895/0.4382, allocations: 101.2 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.4382, allocations: 8.531 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.4382, allocations: 0.7031 kB / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.378e-05/0.4382, allocations: 0 / 0.5237 GB, free: 48 kB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001024/0.4383, allocations: 22.3 kB / 0.5237 GB, free: 44 kB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/0.4383, allocations: 7.875 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.963e-05/0.4384, allocations: 5.344 kB / 0.5237 GB, free: 36 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.4384, allocations: 6.531 kB / 0.5237 GB, free: 32 kB / 382.1 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 0.0001275/0.4385, allocations: 127 kB / 0.5238 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.337e-05/0.4386, allocations: 7.844 kB / 0.5239 GB, free: 15.91 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002631/0.4388, allocations: 110.7 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.594e-06/0.4388, allocations: 1.562 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.773e-06/0.4389, allocations: 4.594 kB / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.4389, allocations: 0 / 0.524 GB, free: 15.85 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000536/0.4394, allocations: 409.4 kB / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4394, allocations: 0 / 0.5244 GB, free: 15.49 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.213e-05/0.4395, allocations: 24.84 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.765e-06/0.4395, allocations: 1.656 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.135e-05/0.4395, allocations: 5.375 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.4395, allocations: 0.6094 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.202e-06/0.4395, allocations: 1.281 kB / 0.5244 GB, free: 15.48 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002485/0.4398, allocations: 199.6 kB / 0.5246 GB, free: 15.32 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.388e-05/0.4398, allocations: 87.72 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.4399, allocations: 5.938 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.925e-05/0.4399, allocations: 5.75 kB / 0.5247 GB, free: 15.21 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.731e-05/0.44, allocations: 13.97 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.572e-06/0.44, allocations: 9.438 kB / 0.5247 GB, free: 15.2 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001301/0.4402, allocations: 157.5 kB / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.4402, allocations: 0 / 0.5248 GB, free: 15.1 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002479/0.4404, allocations: 18.09 kB / 0.5249 GB, free: 15.1 MB / 398.1 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.001008/0.4414, allocations: 459.2 kB / 0.5253 GB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0002174/0.4417, allocations: 64.16 kB / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 1.573e-06/0.4417, allocations: 0 / 0.5254 GB, free: 14.87 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 8.415e-05/0.4418, allocations: 34.94 kB / 0.5254 GB, free: 14.86 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003092/0.4421, allocations: 23.52 kB / 0.5254 GB, free: 14.85 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000478/0.4426, allocations: 257.9 kB / 0.5257 GB, free: 14.66 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002649/0.4428, allocations: 0.7048 MB / 0.5264 GB, free: 13.96 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 5.136e-05/0.4429, allocations: 9.703 kB / 0.5264 GB, free: 13.95 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.909e-05/0.443, allocations: 17.5 kB / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of SimCode: time 1.894e-06/0.443, allocations: 4 kB / 0.5264 GB, free: 13.94 MB / 398.1 MB Notification: Performance of Templates: time 0.004228/0.4472, allocations: 1.341 MB / 0.5277 GB, free: 13.56 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable1Ds/Test15/Test15.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Ds.Test15.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches