Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") translateModel(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=10100,variableFilter="time|input_mflow.y|input_p.y|IN_p.ports.1..m_flow|IN_p.ports.1..p|IN_p.ports.1..h_outflow|OUT_dp.ports.1..m_flow|OUT_dp.ports.1..p|OUT_dp.ports.1..h_outflow|OUT_mflow.ports.1..m_flow|OUT_mflow.ports.1..p|OUT_mflow.ports.1..h_outflow|IN_mflow.ports.1..m_flow|IN_mflow.ports.1..p|IN_mflow.ports.1..h_outflow|from_dp.port_b.m_flow|from_dp.port_b.p|from_dp.port_b.h_outflow|from_mflow.port_b.m_flow|from_mflow.port_b.p|from_mflow.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001155/0.001155, allocations: 101.9 kB / 16.64 MB, free: 6.82 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.001105/0.001105, allocations: 194.5 kB / 17.56 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.46/1.46, allocations: 205.1 MB / 223.4 MB, free: 12.46 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2394/0.2394, allocations: 43.51 MB / 314.3 MB, free: 0.7148 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001725/0.001725, allocations: 63.78 kB / 382.9 MB, free: 56.96 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09521/0.09695, allocations: 57.79 MB / 440.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice): time 0.4328/0.5298, allocations: 185.6 MB / 0.6116 GB, free: 6.199 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.01058/0.5404, allocations: 7.047 MB / 0.6184 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001151/0.5416, allocations: 18 kB / 0.6185 GB, free: 0.668 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001421/0.5431, allocations: 296.8 kB / 0.6187 GB, free: 436 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007736/0.5508, allocations: 2.175 MB / 0.6209 GB, free: 14.97 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002714/0.5536, allocations: 0.8792 MB / 0.6217 GB, free: 14.35 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002475/0.5561, allocations: 1.703 MB / 0.6234 GB, free: 13.38 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008128/0.5569, allocations: 439.4 kB / 0.6238 GB, free: 13.1 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001997/0.5589, allocations: 0.8481 MB / 0.6246 GB, free: 12.63 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009649/0.5599, allocations: 0.5261 MB / 0.6251 GB, free: 12.33 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.5601, allocations: 55.28 kB / 0.6252 GB, free: 12.31 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003436/0.5635, allocations: 1.42 MB / 0.6266 GB, free: 10.89 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002888/0.5638, allocations: 175.5 kB / 0.6268 GB, free: 10.72 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007197/0.5646, allocations: 374.4 kB / 0.6271 GB, free: 10.35 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00231/0.5669, allocations: 1.243 MB / 0.6283 GB, free: 9.105 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.5669, allocations: 7.938 kB / 0.6283 GB, free: 9.098 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.572e-06/0.5669, allocations: 0 / 0.6283 GB, free: 9.098 MB / 446.1 MB Notification: Performance of Transformations before backend: time 2.566e-05/0.5669, allocations: 0 / 0.6283 GB, free: 9.098 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.00247/0.5694, allocations: 1.141 MB / 0.6294 GB, free: 7.91 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/0.5695, allocations: 15.89 kB / 0.6295 GB, free: 7.895 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001263/0.5708, allocations: 163 kB / 0.6296 GB, free: 7.734 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007893/0.5716, allocations: 497.2 kB / 0.6301 GB, free: 7.211 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.022e-05/0.5716, allocations: 36.92 kB / 0.6301 GB, free: 7.176 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.954e-05/0.5717, allocations: 48 kB / 0.6302 GB, free: 7.129 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001232/0.5729, allocations: 0.6399 MB / 0.6308 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.528e-05/0.573, allocations: 0 / 0.6308 GB, free: 6.441 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.252e-05/0.573, allocations: 27.94 kB / 0.6308 GB, free: 6.414 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.5731, allocations: 12 kB / 0.6308 GB, free: 6.402 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009156/0.574, allocations: 495.6 kB / 0.6313 GB, free: 5.918 MB / 446.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003257/0.5772, allocations: 2.683 MB / 0.6339 GB, free: 3.047 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006363/0.5779, allocations: 309.5 kB / 0.6342 GB, free: 2.738 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002609/0.5782, allocations: 165 kB / 0.6344 GB, free: 2.574 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001257/0.5794, allocations: 1.308 MB / 0.6357 GB, free: 1.047 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.5795, allocations: 44.38 kB / 0.6357 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of pre-optimization done (n=35): time 2.014e-06/0.5795, allocations: 0 / 0.6357 GB, free: 0.9961 MB / 446.1 MB Notification: Performance of matching and sorting (n=35): time 0.001637/0.5811, allocations: 0.6898 MB / 0.6364 GB, free: 284 kB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.842e-05/0.5812, allocations: 166.2 kB / 0.6365 GB, free: 80 kB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006074/0.5818, allocations: 0.5184 MB / 0.637 GB, free: 15.54 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 5.109e-05/0.5819, allocations: 37.7 kB / 0.6371 GB, free: 15.5 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002007/0.5821, allocations: 295.7 kB / 0.6374 GB, free: 15.21 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.5823, allocations: 126.1 kB / 0.6375 GB, free: 15.09 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002337/0.5825, allocations: 122.1 kB / 0.6376 GB, free: 14.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001982/0.5827, allocations: 362.8 kB / 0.6379 GB, free: 14.6 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003681/0.5831, allocations: 149 kB / 0.6381 GB, free: 14.45 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005559/0.5837, allocations: 315 kB / 0.6384 GB, free: 14.07 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001033/0.5847, allocations: 482.5 kB / 0.6388 GB, free: 13.53 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.5847, allocations: 0 / 0.6388 GB, free: 13.53 MB / 462.1 MB Notification: Performance of matching and sorting (n=55) (initialization): time 0.001571/0.5863, allocations: 0.5602 MB / 0.6394 GB, free: 12.96 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.255e-05/0.5864, allocations: 11.94 kB / 0.6394 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.441e-05/0.5864, allocations: 4 kB / 0.6394 GB, free: 12.95 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002093/0.5885, allocations: 244.7 kB / 0.6396 GB, free: 12.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005163/0.589, allocations: 111.8 kB / 0.6397 GB, free: 12.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006042/0.5896, allocations: 0.5875 MB / 0.6403 GB, free: 11.98 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005959/0.5902, allocations: 67.36 kB / 0.6404 GB, free: 11.91 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001157/0.5904, allocations: 51.98 kB / 0.6404 GB, free: 11.86 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (52): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0003803/0.5908, allocations: 197.5 kB / 0.6406 GB, free: 11.66 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002271/0.591, allocations: 63.34 kB / 0.6407 GB, free: 11.6 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002433/0.5934, allocations: 0.7461 MB / 0.6414 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.5935, allocations: 8 kB / 0.6414 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.132e-06/0.5935, allocations: 0 / 0.6414 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5935, allocations: 3.984 kB / 0.6414 GB, free: 10.81 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002165/0.5957, allocations: 1.015 MB / 0.6424 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.174e-06/0.5957, allocations: 0 / 0.6424 GB, free: 9.719 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000286/0.596, allocations: 55.84 kB / 0.6425 GB, free: 9.664 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004279/0.6003, allocations: 448.2 kB / 0.6429 GB, free: 9.223 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.104e-05/0.6003, allocations: 8 kB / 0.6429 GB, free: 9.215 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005726/0.6009, allocations: 0.5991 MB / 0.6435 GB, free: 8.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.601, allocations: 4.031 kB / 0.6435 GB, free: 8.586 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001016/0.602, allocations: 0.4928 MB / 0.644 GB, free: 8.055 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/0.6022, allocations: 140.3 kB / 0.6441 GB, free: 7.898 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001741/0.6024, allocations: 19.89 kB / 0.6441 GB, free: 7.879 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005699/0.603, allocations: 23.92 kB / 0.6441 GB, free: 7.855 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.302e-05/0.6031, allocations: 31.91 kB / 0.6442 GB, free: 7.824 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.832e-05/0.6031, allocations: 19.98 kB / 0.6442 GB, free: 7.805 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0008575/0.604, allocations: 438.8 kB / 0.6446 GB, free: 7.379 MB / 462.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.604, allocations: 0 / 0.6446 GB, free: 7.379 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001458/0.6055, allocations: 331.8 kB / 0.6449 GB, free: 7.055 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (28): * Single equations (assignments): 27 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001442/0.6069, allocations: 465.9 kB / 0.6454 GB, free: 6.594 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001199/0.6081, allocations: 388.1 kB / 0.6457 GB, free: 6.215 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 1.545e-05/0.6082, allocations: 4 kB / 0.6457 GB, free: 6.211 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004582/0.6086, allocations: 153.7 kB / 0.6459 GB, free: 6.062 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002612/0.6113, allocations: 398.4 kB / 0.6463 GB, free: 5.676 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002268/0.6135, allocations: 1.156 MB / 0.6474 GB, free: 4.473 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005517/0.6141, allocations: 0.8637 MB / 0.6482 GB, free: 3.582 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005403/0.6147, allocations: 111.4 kB / 0.6484 GB, free: 3.473 MB / 462.1 MB Notification: Performance of SimCode: time 8.22e-07/0.6147, allocations: 4 kB / 0.6484 GB, free: 3.469 MB / 462.1 MB Notification: Performance of Templates: time 0.02687/0.6416, allocations: 15.97 MB / 0.6639 GB, free: 3.504 MB / 478.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/Dissipation/TestCases/PressureLoss/Orifice/Orifice.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.TestCases.PressureLoss.Orifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches