Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.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.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test24,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y|d2_t_new.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001167/0.001167, allocations: 110.4 kB / 17.78 MB, free: 5.289 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.001111/0.001111, allocations: 187.9 kB / 18.71 MB, free: 4.371 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.446/1.446, allocations: 222.9 MB / 242.4 MB, free: 15.14 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.233/0.233, allocations: 44.19 MB / 336.7 MB, free: 2.691 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00179/0.00179, allocations: 59.91 kB / 470.6 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5509/0.5527, allocations: 60.82 MB / 0.5189 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test24): time 0.003784/0.5566, allocations: 1.65 MB / 0.5205 GB, free: 2.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007863/0.5574, allocations: 424.5 kB / 0.5209 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.569e-05/0.5575, allocations: 1.219 kB / 0.5209 GB, free: 2.199 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002701/0.5578, allocations: 43.58 kB / 0.521 GB, free: 2.188 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002258/0.558, allocations: 50.53 kB / 0.521 GB, free: 2.164 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003572/0.5584, allocations: 141.8 kB / 0.5212 GB, free: 2.09 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001793/0.5586, allocations: 68.66 kB / 0.5212 GB, free: 2.062 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.5587, allocations: 23.45 kB / 0.5213 GB, free: 2.051 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.06e-05/0.5588, allocations: 29.11 kB / 0.5213 GB, free: 2.039 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000152/0.559, allocations: 44.11 kB / 0.5213 GB, free: 2.02 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.559, allocations: 7.188 kB / 0.5213 GB, free: 2.016 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001319/0.5591, allocations: 48.78 kB / 0.5214 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.026e-05/0.5592, allocations: 22 kB / 0.5214 GB, free: 1.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.5593, allocations: 30.98 kB / 0.5214 GB, free: 1.969 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002405/0.5595, allocations: 99.47 kB / 0.5215 GB, free: 1.926 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.5595, allocations: 1.094 kB / 0.5215 GB, free: 1.926 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.5595, allocations: 0 / 0.5215 GB, free: 1.926 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.574e-06/0.5596, allocations: 0.5156 kB / 0.5215 GB, free: 1.926 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.0006171/0.5602, allocations: 403.3 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.261e-05/0.5602, allocations: 9.281 kB / 0.5219 GB, free: 1.531 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.636e-05/0.5603, allocations: 10.09 kB / 0.5219 GB, free: 1.527 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002073/0.5605, allocations: 196 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.432e-05/0.5605, allocations: 1.375 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.409e-05/0.5606, allocations: 3.656 kB / 0.5221 GB, free: 1.312 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002271/0.5608, allocations: 68.5 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.031e-05/0.5608, allocations: 0.5625 kB / 0.5222 GB, free: 1.266 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.516e-05/0.5608, allocations: 4 kB / 0.5222 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.5609, allocations: 1.438 kB / 0.5222 GB, free: 1.262 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001545/0.561, allocations: 34.98 kB / 0.5222 GB, free: 1.258 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004441/0.5615, allocations: 308.7 kB / 0.5225 GB, free: 0.9531 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002717/0.5617, allocations: 54.42 kB / 0.5226 GB, free: 0.9219 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.697e-05/0.5618, allocations: 23.94 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.594e-05/0.5619, allocations: 1.906 kB / 0.5226 GB, free: 0.9102 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.988e-05/0.5619, allocations: 36.45 kB / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.683e-06/0.5619, allocations: 0 / 0.5226 GB, free: 0.8672 MB / 382.1 MB Notification: Performance of matching and sorting (n=11): time 0.001504/0.5634, allocations: 393.4 kB / 0.523 GB, free: 0.7422 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.569e-05/0.5635, allocations: 57.56 kB / 0.5231 GB, free: 0.6758 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001776/0.5636, allocations: 167.4 kB / 0.5232 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.432e-05/0.5637, allocations: 29.7 kB / 0.5232 GB, free: 0.5234 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.421e-05/0.5637, allocations: 95.66 kB / 0.5233 GB, free: 444 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.274e-05/0.5638, allocations: 38.92 kB / 0.5234 GB, free: 412 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.532e-05/0.5638, allocations: 30.53 kB / 0.5234 GB, free: 384 kB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.344e-05/0.5639, allocations: 321.8 kB / 0.5237 GB, free: 60 kB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001354/0.564, allocations: 38.52 kB / 0.5238 GB, free: 52 kB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001214/0.5642, allocations: 49.8 kB / 0.5238 GB, free: 36 kB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002516/0.5644, allocations: 96.27 kB / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.62e-07/0.5644, allocations: 0 / 0.5239 GB, free: 0 / 382.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003932/0.5648, allocations: 146.7 kB / 0.524 GB, free: 15.93 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.154e-05/0.5649, allocations: 9.844 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.5649, allocations: 0 / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.43e-05/0.5649, allocations: 1.406 kB / 0.524 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001404/0.5651, allocations: 30 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.507e-06/0.5651, allocations: 0 / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.096e-05/0.5652, allocations: 9.859 kB / 0.5241 GB, free: 15.92 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.5652, allocations: 6.938 kB / 0.5241 GB, free: 15.91 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.0001636/0.5654, allocations: 119.1 kB / 0.5242 GB, free: 15.8 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.181e-05/0.5654, allocations: 17.53 kB / 0.5242 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005031/0.5659, allocations: 167.3 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.13e-05/0.566, allocations: 6.344 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.962e-06/0.566, allocations: 0 / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.002e-06/0.566, allocations: 0.75 kB / 0.5244 GB, free: 15.7 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/0.567, allocations: 467.8 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.567, allocations: 2.312 kB / 0.5248 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000112/0.5671, allocations: 28.16 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.5672, allocations: 2.375 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.599e-05/0.5672, allocations: 0.9688 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.982e-06/0.5672, allocations: 2.203 kB / 0.5249 GB, free: 15.31 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.5672, allocations: 5.75 kB / 0.5249 GB, free: 15.3 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004897/0.5677, allocations: 255.9 kB / 0.5251 GB, free: 15.11 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.218e-05/0.5678, allocations: 84.33 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.783e-05/0.5678, allocations: 3.266 kB / 0.5252 GB, free: 15.02 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/0.5679, allocations: 16.45 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.571e-05/0.568, allocations: 9.203 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.568, allocations: 2.75 kB / 0.5252 GB, free: 15.01 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0001424/0.5682, allocations: 126.3 kB / 0.5253 GB, free: 14.92 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.5682, allocations: 96 / 0.5253 GB, free: 14.92 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002964/0.5685, allocations: 31.95 kB / 0.5254 GB, free: 14.91 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.001318/0.5698, allocations: 458.3 kB / 0.5258 GB, free: 14.7 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003927/0.5702, allocations: 107.6 kB / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.5702, allocations: 4 kB / 0.5259 GB, free: 14.67 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.5704, allocations: 59.19 kB / 0.526 GB, free: 14.65 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005181/0.5709, allocations: 26.88 kB / 0.526 GB, free: 14.64 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007899/0.5717, allocations: 245.8 kB / 0.5262 GB, free: 14.46 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006928/0.5725, allocations: 0.7109 MB / 0.5269 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 9.43e-05/0.5726, allocations: 14.45 kB / 0.5269 GB, free: 13.75 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.072e-05/0.5726, allocations: 20 kB / 0.527 GB, free: 13.74 MB / 398.1 MB Notification: Performance of SimCode: time 7.42e-07/0.5726, allocations: 4 kB / 0.527 GB, free: 13.73 MB / 398.1 MB Notification: Performance of Templates: time 0.006029/0.5787, allocations: 1.556 MB / 0.5285 GB, free: 13.16 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test24/Test24.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test24.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches