Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.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.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") translateModel(ModelicaTest.Tables.CombiTable2Ds.Test16,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001092/0.001092, allocations: 111.1 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.0009668/0.000967, allocations: 180.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.267/1.267, allocations: 222.9 MB / 242.4 MB, free: 15.08 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.1993/0.1993, allocations: 44.2 MB / 336.7 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 55.91 kB / 470.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3464/0.3476, allocations: 60.82 MB / 0.5189 GB, free: 3.609 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test16): time 0.002606/0.3502, allocations: 1.625 MB / 0.5205 GB, free: 2.496 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006916/0.3509, allocations: 0.6777 MB / 0.5212 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.333e-05/0.351, allocations: 1.125 kB / 0.5212 GB, free: 2.004 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002164/0.3512, allocations: 28.72 kB / 0.5212 GB, free: 1.988 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001679/0.3514, allocations: 48.03 kB / 0.5212 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.789e-06/0.3514, allocations: 0 / 0.5212 GB, free: 1.961 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001389/0.3515, allocations: 34.8 kB / 0.5213 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.3516, allocations: 3.547 kB / 0.5213 GB, free: 1.949 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.202e-05/0.3516, allocations: 12.08 kB / 0.5213 GB, free: 1.941 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.576e-05/0.3517, allocations: 12.53 kB / 0.5213 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.041e-05/0.3517, allocations: 1.281 kB / 0.5213 GB, free: 1.938 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 4.453e-05/0.3517, allocations: 14.58 kB / 0.5213 GB, free: 1.93 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.298e-05/0.3518, allocations: 19.61 kB / 0.5213 GB, free: 1.922 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.432e-05/0.3518, allocations: 19.06 kB / 0.5213 GB, free: 1.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.352, allocations: 72.98 kB / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.352, allocations: 0 / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.352, allocations: 0 / 0.5214 GB, free: 1.879 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.06e-06/0.352, allocations: 0 / 0.5214 GB, free: 1.879 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: 20 * Number of variables: 20 Notification: Performance of Generate backend data structure: time 0.00027/0.3523, allocations: 364.1 kB / 0.5218 GB, free: 1.496 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.3523, allocations: 11.03 kB / 0.5218 GB, free: 1.496 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.605e-05/0.3523, allocations: 7.703 kB / 0.5218 GB, free: 1.492 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.473e-05/0.3524, allocations: 172.3 kB / 0.5219 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/0.3525, allocations: 1.688 kB / 0.5219 GB, free: 1.289 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.015e-05/0.3525, allocations: 11.28 kB / 0.522 GB, free: 1.281 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001559/0.3526, allocations: 125.1 kB / 0.5221 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.424e-06/0.3526, allocations: 192 / 0.5221 GB, free: 1.18 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.043e-05/0.3527, allocations: 5.406 kB / 0.5221 GB, free: 1.176 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.884e-05/0.3527, allocations: 22.64 kB / 0.5221 GB, free: 1.172 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.027e-05/0.3528, allocations: 50.28 kB / 0.5221 GB, free: 1.152 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004209/0.3532, allocations: 0.8896 MB / 0.523 GB, free: 276 kB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.713e-05/0.3532, allocations: 174.5 kB / 0.5232 GB, free: 92 kB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.47e-05/0.3533, allocations: 84.75 kB / 0.5233 GB, free: 4 kB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.405e-05/0.3533, allocations: 80.16 kB / 0.5233 GB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.3534, allocations: 111.6 kB / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3534, allocations: 0 / 0.5234 GB, free: 15.81 MB / 398.1 MB Notification: Performance of matching and sorting (n=0): time 7.329e-05/0.3534, allocations: 38.5 kB / 0.5235 GB, free: 15.77 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.294e-05/0.3535, allocations: 131.2 kB / 0.5236 GB, free: 15.63 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001886/0.3537, allocations: 190.4 kB / 0.5238 GB, free: 15.5 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.3537, allocations: 25.7 kB / 0.5238 GB, free: 15.46 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.899e-05/0.3538, allocations: 149.5 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.761e-06/0.3538, allocations: 4.422 kB / 0.524 GB, free: 15.33 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.3539, allocations: 42.62 kB / 0.524 GB, free: 15.3 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001158/0.354, allocations: 324.3 kB / 0.5243 GB, free: 14.98 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.901e-05/0.3541, allocations: 31.95 kB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001299/0.3542, allocations: 152.1 kB / 0.5245 GB, free: 14.8 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001881/0.3544, allocations: 207.2 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.3544, allocations: 1.25 kB / 0.5247 GB, free: 14.59 MB / 398.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.000309/0.3547, allocations: 199.2 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.3547, allocations: 7.828 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.794e-06/0.3548, allocations: 5.188 kB / 0.5249 GB, free: 14.49 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.963e-05/0.3548, allocations: 10.44 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001208/0.3549, allocations: 36.88 kB / 0.5249 GB, free: 14.48 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.326e-05/0.3549, allocations: 19.08 kB / 0.525 GB, free: 14.47 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.819e-05/0.355, allocations: 25.25 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.304e-05/0.355, allocations: 8.906 kB / 0.525 GB, free: 14.45 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (20): * Single equations (assignments): 20 * 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.0001217/0.3552, allocations: 213.2 kB / 0.5252 GB, free: 14.25 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.041e-05/0.3552, allocations: 117.9 kB / 0.5253 GB, free: 14.13 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.919e-05/0.3553, allocations: 123.8 kB / 0.5254 GB, free: 14.01 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.936e-05/0.3553, allocations: 178.5 kB / 0.5256 GB, free: 13.83 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.366e-05/0.3554, allocations: 190.4 kB / 0.5258 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.653e-05/0.3555, allocations: 176.9 kB / 0.5259 GB, free: 13.46 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.3557, allocations: 420.4 kB / 0.5263 GB, free: 13.01 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.363e-05/0.3557, allocations: 109.6 kB / 0.5264 GB, free: 12.89 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.751e-05/0.3558, allocations: 110.9 kB / 0.5265 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.23e-05/0.3558, allocations: 182.2 kB / 0.5267 GB, free: 12.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.896e-05/0.3559, allocations: 178.5 kB / 0.5269 GB, free: 12.42 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.012e-05/0.356, allocations: 177 kB / 0.5271 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.072e-05/0.356, allocations: 182.4 kB / 0.5272 GB, free: 12.05 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001327/0.3562, allocations: 317.1 kB / 0.5275 GB, free: 11.73 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.594e-05/0.3563, allocations: 190.4 kB / 0.5277 GB, free: 11.52 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.915e-05/0.3563, allocations: 181.9 kB / 0.5279 GB, free: 11.34 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.3e-05/0.3564, allocations: 105.7 kB / 0.528 GB, free: 11.23 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.49e-05/0.3565, allocations: 186.3 kB / 0.5282 GB, free: 11.04 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.041e-05/0.3565, allocations: 106.9 kB / 0.5283 GB, free: 10.93 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.000102/0.3566, allocations: 126.5 kB / 0.5284 GB, free: 10.85 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3566, allocations: 0 / 0.5284 GB, free: 10.85 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0002794/0.3569, allocations: 15.28 kB / 0.5284 GB, free: 10.84 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 (0): * Single equations (assignments): 0 * 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.0004231/0.3573, allocations: 276.4 kB / 0.5287 GB, free: 10.65 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0001407/0.3575, allocations: 78.19 kB / 0.5287 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3575, allocations: 1.25 kB / 0.5287 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 1.142e-06/0.3575, allocations: 0 / 0.5287 GB, free: 10.62 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003545/0.3579, allocations: 468.6 kB / 0.5292 GB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003072/0.3582, allocations: 252.5 kB / 0.5294 GB, free: 9.941 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002402/0.3584, allocations: 0.7025 MB / 0.5301 GB, free: 9.238 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0001477/0.3586, allocations: 48.19 kB / 0.5302 GB, free: 9.234 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.025e-05/0.3586, allocations: 19.58 kB / 0.5302 GB, free: 9.223 MB / 398.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3586, allocations: 0 / 0.5302 GB, free: 9.223 MB / 398.1 MB Notification: Performance of Templates: time 0.002845/0.3615, allocations: 0.707 MB / 0.5309 GB, free: 9.121 MB / 398.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.sim & ./ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Tables/CombiTable2Ds/Test16/Test16.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test16.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches