Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.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.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") translateModel(ModelicaTest.Tables.CombiTable2Dv.Test30,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y.1.|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001165/0.001166, allocations: 107.1 kB / 17.77 MB, free: 5.27 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.001057/0.001057, allocations: 184.8 kB / 18.71 MB, free: 4.348 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.468/1.468, allocations: 222.9 MB / 242.4 MB, free: 15.07 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.2407/0.2407, allocations: 44.17 MB / 336.7 MB, free: 2.684 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5553/0.5566, allocations: 60.83 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test30): time 0.004271/0.5609, allocations: 1.64 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001141/0.5621, allocations: 448.1 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.939e-05/0.5622, allocations: 5.062 kB / 0.521 GB, free: 2.184 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003768/0.5626, allocations: 75.48 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002851/0.5629, allocations: 62.42 kB / 0.5211 GB, free: 2.141 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006207/0.5635, allocations: 171.8 kB / 0.5213 GB, free: 2.059 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002235/0.5638, allocations: 93.34 kB / 0.5213 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001335/0.5639, allocations: 28.75 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.232e-05/0.564, allocations: 36.06 kB / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001406/0.5642, allocations: 56.3 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.202e-05/0.5642, allocations: 3.375 kB / 0.5215 GB, free: 1.973 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001538/0.5644, allocations: 48.73 kB / 0.5215 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.513e-05/0.5645, allocations: 26.59 kB / 0.5215 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.219e-05/0.5645, allocations: 35.72 kB / 0.5216 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002715/0.5648, allocations: 114.4 kB / 0.5217 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.733e-06/0.5648, allocations: 1.75 kB / 0.5217 GB, free: 1.871 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.5648, allocations: 0 / 0.5217 GB, free: 1.871 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.135e-05/0.5649, allocations: 0 / 0.5217 GB, free: 1.871 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005898/0.5655, allocations: 416.1 kB / 0.5221 GB, free: 1.469 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.5655, allocations: 10.08 kB / 0.5221 GB, free: 1.469 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.223e-05/0.5656, allocations: 13.75 kB / 0.5221 GB, free: 1.461 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002092/0.5658, allocations: 200 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.451e-05/0.5658, allocations: 1.5 kB / 0.5223 GB, free: 1.246 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.465e-05/0.5659, allocations: 15.28 kB / 0.5223 GB, free: 1.234 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002458/0.5661, allocations: 66.31 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.44e-05/0.5662, allocations: 1.938 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.298e-05/0.5662, allocations: 0 / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.023e-05/0.5662, allocations: 1.406 kB / 0.5224 GB, free: 1.191 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.5664, allocations: 46.67 kB / 0.5224 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005458/0.567, allocations: 327.8 kB / 0.5227 GB, free: 0.875 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003247/0.5673, allocations: 60.44 kB / 0.5228 GB, free: 0.8398 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.5675, allocations: 26.84 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.624e-05/0.5675, allocations: 1.828 kB / 0.5228 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.192e-05/0.5675, allocations: 34.56 kB / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.423e-06/0.5675, allocations: 1.219 kB / 0.5229 GB, free: 0.7852 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.002305/0.5699, allocations: 409.8 kB / 0.5232 GB, free: 0.668 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.5699, allocations: 61.22 kB / 0.5233 GB, free: 0.5977 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003115/0.5702, allocations: 215 kB / 0.5235 GB, free: 460 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.5703, allocations: 30.73 kB / 0.5235 GB, free: 424 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.401e-05/0.5704, allocations: 109.4 kB / 0.5236 GB, free: 320 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.243e-05/0.5704, allocations: 34.47 kB / 0.5237 GB, free: 292 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.627e-05/0.5705, allocations: 28.53 kB / 0.5237 GB, free: 268 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001432/0.5706, allocations: 322.5 kB / 0.524 GB, free: 15.95 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002267/0.5709, allocations: 52.56 kB / 0.5241 GB, free: 15.93 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002147/0.5711, allocations: 60.53 kB / 0.5241 GB, free: 15.91 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004634/0.5716, allocations: 117.7 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.5716, allocations: 1.812 kB / 0.5242 GB, free: 15.88 MB / 398.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005665/0.5722, allocations: 165.3 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.589e-05/0.5722, allocations: 5.953 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.5722, allocations: 4 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.283e-05/0.5723, allocations: 1.906 kB / 0.5244 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001854/0.5725, allocations: 33.14 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.5725, allocations: 0 / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.5726, allocations: 12.64 kB / 0.5244 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.71e-05/0.5726, allocations: 4.094 kB / 0.5244 GB, free: 15.79 MB / 398.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 (11): * Single equations (assignments): 11 * 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.0001864/0.5728, allocations: 134 kB / 0.5246 GB, free: 15.66 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.998e-05/0.5729, allocations: 13.19 kB / 0.5246 GB, free: 15.65 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006429/0.5735, allocations: 198 kB / 0.5248 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.192e-06/0.5736, allocations: 3.938 kB / 0.5248 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.5736, allocations: 6.031 kB / 0.5248 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/0.5736, allocations: 0.7031 kB / 0.5248 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001057/0.5747, allocations: 0.4965 MB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.5747, allocations: 0.5625 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001577/0.5748, allocations: 29.55 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.5749, allocations: 1.375 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.741e-05/0.5749, allocations: 3.266 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.759e-06/0.5749, allocations: 2.125 kB / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.5749, allocations: 0 / 0.5253 GB, free: 15.15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005904/0.5755, allocations: 276.2 kB / 0.5256 GB, free: 14.95 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.5756, allocations: 92.14 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.077e-05/0.5756, allocations: 2.625 kB / 0.5257 GB, free: 14.85 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001691/0.5758, allocations: 17.62 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.149e-05/0.5759, allocations: 7.984 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.875e-05/0.5759, allocations: 7.859 kB / 0.5257 GB, free: 14.84 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0002554/0.5762, allocations: 155.9 kB / 0.5258 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.5762, allocations: 1.219 kB / 0.5258 GB, free: 14.74 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0004726/0.5767, allocations: 27.28 kB / 0.5259 GB, free: 14.73 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (11): * Single equations (assignments): 11 * 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.001684/0.5784, allocations: 464.7 kB / 0.5263 GB, free: 14.52 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0005159/0.5789, allocations: 130.5 kB / 0.5264 GB, free: 14.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.5789, allocations: 7.938 kB / 0.5264 GB, free: 14.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002344/0.5792, allocations: 70.33 kB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005474/0.5797, allocations: 20.14 kB / 0.5265 GB, free: 14.45 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007952/0.5805, allocations: 312.5 kB / 0.5268 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003801/0.5809, allocations: 0.7265 MB / 0.5275 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000145/0.5811, allocations: 28.48 kB / 0.5276 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.5812, allocations: 19.84 kB / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.5812, allocations: 0 / 0.5276 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.007824/0.589, allocations: 1.635 MB / 0.5292 GB, free: 12.77 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Dv/Test30/Test30.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test30.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches