Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.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.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test31,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|t_new.y|d_t_new.y|clock1.y|clock2.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001261/0.001261, allocations: 113.8 kB / 17.78 MB, free: 5.281 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.001419/0.001419, allocations: 179.9 kB / 18.71 MB, free: 4.363 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.445/1.445, 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.2149/0.2149, allocations: 44.19 MB / 336.8 MB, free: 2.656 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.89 kB / 470.6 MB, free: 13.13 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.3682, allocations: 60.82 MB / 0.5189 GB, free: 3.617 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test31): time 0.002711/0.3709, allocations: 1.635 MB / 0.5205 GB, free: 2.484 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3722, allocations: 1.029 MB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.096e-05/0.3723, allocations: 1.156 kB / 0.5215 GB, free: 1.758 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001824/0.3725, allocations: 23.38 kB / 0.5216 GB, free: 1.742 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002081/0.3727, allocations: 42.2 kB / 0.5216 GB, free: 1.719 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002998/0.373, allocations: 132 kB / 0.5217 GB, free: 1.652 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001331/0.3731, allocations: 61.22 kB / 0.5218 GB, free: 1.625 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.22e-05/0.3732, allocations: 15.75 kB / 0.5218 GB, free: 1.617 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.544e-05/0.3732, allocations: 24.77 kB / 0.5218 GB, free: 1.605 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.3734, allocations: 38.64 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.707e-05/0.3734, allocations: 4.625 kB / 0.5219 GB, free: 1.582 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001276/0.3735, allocations: 47.67 kB / 0.5219 GB, free: 1.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.761e-05/0.3736, allocations: 19.16 kB / 0.5219 GB, free: 1.559 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.145e-05/0.3736, allocations: 18.67 kB / 0.5219 GB, free: 1.547 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002084/0.3738, allocations: 101.2 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.506e-06/0.3738, allocations: 1.375 kB / 0.522 GB, free: 1.504 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.823e-06/0.3738, allocations: 4 kB / 0.522 GB, free: 1.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.953e-06/0.3738, allocations: 0.7969 kB / 0.522 GB, free: 1.5 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.0004467/0.3743, allocations: 391.5 kB / 0.5224 GB, free: 1.105 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.413e-05/0.3743, allocations: 10.67 kB / 0.5224 GB, free: 1.105 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.3743, allocations: 8.328 kB / 0.5224 GB, free: 1.102 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001499/0.3745, allocations: 185.4 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.402e-06/0.3745, allocations: 1.953 kB / 0.5226 GB, free: 0.8945 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.339e-05/0.3745, allocations: 7.594 kB / 0.5226 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.3747, allocations: 77.19 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3747, allocations: 0 / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.648e-06/0.3747, allocations: 0 / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.3747, allocations: 1.062 kB / 0.5227 GB, free: 0.8281 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001301/0.3748, allocations: 37.12 kB / 0.5227 GB, free: 0.8203 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.3752, allocations: 287.6 kB / 0.523 GB, free: 0.5273 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/0.3753, allocations: 39.88 kB / 0.523 GB, free: 0.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.763e-05/0.3753, allocations: 27.3 kB / 0.5231 GB, free: 496 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.11e-05/0.3754, allocations: 5.25 kB / 0.5231 GB, free: 492 kB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.43e-05/0.3754, allocations: 35.12 kB / 0.5231 GB, free: 448 kB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.3754, allocations: 0.9375 kB / 0.5231 GB, free: 448 kB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007449/0.3761, allocations: 202.4 kB / 0.5233 GB, free: 368 kB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.3762, allocations: 78.14 kB / 0.5234 GB, free: 272 kB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.3763, allocations: 134.8 kB / 0.5235 GB, free: 156 kB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.076e-05/0.3763, allocations: 26.89 kB / 0.5235 GB, free: 124 kB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.963e-05/0.3763, allocations: 100.2 kB / 0.5236 GB, free: 24 kB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.259e-05/0.3763, allocations: 25.83 kB / 0.5237 GB, free: 4 kB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.358e-05/0.3764, allocations: 20.06 kB / 0.5237 GB, free: 15.98 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001143/0.3765, allocations: 315.5 kB / 0.524 GB, free: 15.67 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3766, allocations: 33.84 kB / 0.524 GB, free: 15.66 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001197/0.3767, allocations: 51.14 kB / 0.5241 GB, free: 15.64 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002331/0.377, allocations: 76.05 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.377, allocations: 1.125 kB / 0.5241 GB, free: 15.61 MB / 398.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003017/0.3773, allocations: 109.3 kB / 0.5242 GB, free: 15.56 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.704e-05/0.3773, allocations: 9.844 kB / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.3773, allocations: 0 / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.876e-05/0.3773, allocations: 0 / 0.5242 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001259/0.3774, allocations: 26.94 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.3774, allocations: 1.781 kB / 0.5243 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.249e-05/0.3775, allocations: 14.19 kB / 0.5243 GB, free: 15.54 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.093e-06/0.3775, allocations: 1.5 kB / 0.5243 GB, free: 15.54 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 (7): * Single equations (assignments): 7 * 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.8e-05/0.3776, allocations: 115.1 kB / 0.5244 GB, free: 15.43 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.302e-05/0.3777, allocations: 11.98 kB / 0.5244 GB, free: 15.42 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003706/0.378, allocations: 125.8 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.378, allocations: 2.297 kB / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.78e-06/0.378, allocations: 0 / 0.5245 GB, free: 15.35 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.378, allocations: 9.891 kB / 0.5245 GB, free: 15.34 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005801/0.3786, allocations: 384.8 kB / 0.5249 GB, free: 15.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3786, allocations: 3.938 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.45e-05/0.3787, allocations: 20.05 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.3787, allocations: 0 / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.3787, allocations: 5.375 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.3787, allocations: 0.6094 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.3787, allocations: 1.25 kB / 0.5249 GB, free: 15 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003569/0.3791, allocations: 210 kB / 0.5251 GB, free: 14.84 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.535e-05/0.3791, allocations: 83.44 kB / 0.5252 GB, free: 14.75 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.03e-05/0.3791, allocations: 5.906 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.759e-05/0.3792, allocations: 11.91 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.3793, allocations: 6.219 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.3793, allocations: 1.219 kB / 0.5252 GB, free: 14.74 MB / 398.1 MB Notification: Performance of sorting global known variables: time 8.717e-05/0.3794, allocations: 111 kB / 0.5253 GB, free: 14.65 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3794, allocations: 1.562 kB / 0.5253 GB, free: 14.65 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.3797, allocations: 30.8 kB / 0.5254 GB, free: 14.64 MB / 398.1 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 (7): * Single equations (assignments): 7 * 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.00103/0.3807, allocations: 434.9 kB / 0.5258 GB, free: 14.44 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0003301/0.381, allocations: 81.23 kB / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.381, allocations: 0 / 0.5259 GB, free: 14.42 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001223/0.3811, allocations: 43.81 kB / 0.5259 GB, free: 14.41 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003128/0.3815, allocations: 25.08 kB / 0.5259 GB, free: 14.4 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004108/0.3819, allocations: 191 kB / 0.5261 GB, free: 14.24 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002282/0.3821, allocations: 0.6956 MB / 0.5268 GB, free: 13.54 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 6.975e-05/0.3822, allocations: 21.05 kB / 0.5268 GB, free: 13.53 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.028e-05/0.3822, allocations: 15.94 kB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3822, allocations: 4 kB / 0.5268 GB, free: 13.52 MB / 398.1 MB Notification: Performance of Templates: time 0.004434/0.3866, allocations: 1.504 MB / 0.5283 GB, free: 13.02 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test31/Test31.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test31.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches