Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.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.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") translateModel(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|boundary.ports.1..m_flow|boundary.ports.1..p|boundary.ports.1..h_outflow|sensor.port_b.m_flow|sensor.port_b.p|sensor.port_b.h_outflow|fitting1.port_b.m_flow|fitting1.port_b.p|fitting1.port_b.h_outflow|fitting2.port_b.m_flow|fitting2.port_b.p|fitting2.port_b.h_outflow",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001365/0.001365, allocations: 103.3 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002038/0.002038, allocations: 185.8 kB / 16.92 MB, free: 6.914 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.483/1.483, allocations: 205.4 MB / 223.1 MB, free: 5.746 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3733/0.3733, allocations: 43.58 MB / 315 MB, free: 8.715 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.0005768/0.000577, allocations: 19.98 kB / 384.6 MB, free: 7.645 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1437/0.1443, allocations: 58.87 MB / 443.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice): time 0.4882/0.6325, allocations: 185.8 MB / 0.6146 GB, free: 1.32 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.009384/0.642, allocations: 5.806 MB / 0.6202 GB, free: 11.51 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007649/0.6428, allocations: 23.75 kB / 0.6203 GB, free: 11.49 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001028/0.6438, allocations: 274.5 kB / 0.6205 GB, free: 11.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004942/0.6488, allocations: 1.426 MB / 0.6219 GB, free: 9.793 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002159/0.651, allocations: 0.662 MB / 0.6226 GB, free: 9.137 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.002853/0.6538, allocations: 2.034 MB / 0.6245 GB, free: 7.105 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000608/0.6544, allocations: 377.1 kB / 0.6249 GB, free: 6.742 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009433/0.6554, allocations: 0.5135 MB / 0.6254 GB, free: 6.227 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005958/0.656, allocations: 474 kB / 0.6259 GB, free: 5.762 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.694e-05/0.6561, allocations: 28 kB / 0.6259 GB, free: 5.734 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003109/0.6592, allocations: 1.275 MB / 0.6271 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002324/0.6595, allocations: 139.5 kB / 0.6273 GB, free: 4.32 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004611/0.6599, allocations: 348.1 kB / 0.6276 GB, free: 3.973 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003823/0.6638, allocations: 1.586 MB / 0.6291 GB, free: 2.383 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.6638, allocations: 3.938 kB / 0.6291 GB, free: 2.379 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.6638, allocations: 0 / 0.6291 GB, free: 2.379 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.888e-06/0.6638, allocations: 0 / 0.6291 GB, free: 2.379 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 105 * Number of variables: 105 Notification: Performance of Generate backend data structure: time 0.002062/0.6659, allocations: 0.9513 MB / 0.6301 GB, free: 1.375 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.231e-05/0.666, allocations: 15.97 kB / 0.6301 GB, free: 1.359 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009335/0.6669, allocations: 135.2 kB / 0.6302 GB, free: 1.227 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007583/0.6677, allocations: 480.5 kB / 0.6307 GB, free: 0.7188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/0.6677, allocations: 29 kB / 0.6307 GB, free: 0.6875 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.017e-05/0.6678, allocations: 40 kB / 0.6307 GB, free: 0.6484 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001182/0.669, allocations: 0.6061 MB / 0.6313 GB, free: 4 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.993e-05/0.669, allocations: 4 kB / 0.6313 GB, free: 0 / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.3068/0.9758, allocations: 15.08 kB / 0.6314 GB, free: 157 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.677e-05/0.9759, allocations: 12.78 kB / 0.6314 GB, free: 157 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00119/0.9771, allocations: 489.5 kB / 0.6318 GB, free: 157 MB / 494.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.003113/0.9802, allocations: 2.701 MB / 0.6345 GB, free: 155.3 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006628/0.9809, allocations: 349.7 kB / 0.6348 GB, free: 155.2 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002851/0.9812, allocations: 176.7 kB / 0.635 GB, free: 155.2 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001202/0.9824, allocations: 1.312 MB / 0.6363 GB, free: 154.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.084e-05/0.9825, allocations: 36.75 kB / 0.6363 GB, free: 154.1 MB / 494.1 MB Notification: Performance of pre-optimization done (n=33): time 2.815e-06/0.9825, allocations: 2.812 kB / 0.6363 GB, free: 154.1 MB / 494.1 MB Notification: Performance of matching and sorting (n=33): time 0.001716/0.9842, allocations: 0.7413 MB / 0.637 GB, free: 153.9 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.551e-05/0.9843, allocations: 144.2 kB / 0.6372 GB, free: 153.7 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005101/0.9848, allocations: 492.8 kB / 0.6376 GB, free: 153.6 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 4.538e-05/0.9849, allocations: 29.02 kB / 0.6376 GB, free: 153.6 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001802/0.9851, allocations: 290 kB / 0.6379 GB, free: 153.4 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001028/0.9852, allocations: 109.4 kB / 0.638 GB, free: 153.4 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.785e-05/0.9852, allocations: 36.89 kB / 0.6381 GB, free: 153.4 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001236/0.9854, allocations: 360.2 kB / 0.6384 GB, free: 153 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002974/0.9857, allocations: 162.5 kB / 0.6386 GB, free: 153 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003384/0.986, allocations: 289.9 kB / 0.6388 GB, free: 152.9 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006335/0.9867, allocations: 450.5 kB / 0.6393 GB, free: 152.8 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.9867, allocations: 0 / 0.6393 GB, free: 152.8 MB / 494.1 MB Notification: Performance of matching and sorting (n=47) (initialization): time 0.0009536/0.9876, allocations: 0.5477 MB / 0.6398 GB, free: 152.7 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.213e-05/0.9877, allocations: 12.81 kB / 0.6398 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.125e-05/0.9877, allocations: 5.094 kB / 0.6398 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/0.9893, allocations: 292.3 kB / 0.6401 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000337/0.9896, allocations: 106.6 kB / 0.6402 GB, free: 152.7 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000376/0.99, allocations: 0.5948 MB / 0.6408 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000402/0.9904, allocations: 69.58 kB / 0.6408 GB, free: 152.1 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.644e-05/0.9905, allocations: 40.34 kB / 0.6409 GB, free: 152.1 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 15 * 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 (44): * Single equations (assignments): 43 * 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.0002845/0.9908, allocations: 188 kB / 0.6411 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.748e-05/0.9909, allocations: 55.88 kB / 0.6411 GB, free: 152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001666/0.9926, allocations: 0.7414 MB / 0.6418 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.042e-06/0.9926, allocations: 6.203 kB / 0.6418 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.232e-06/0.9926, allocations: 4 kB / 0.6419 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.9926, allocations: 3.234 kB / 0.6419 GB, free: 151.8 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001439/0.994, allocations: 1.043 MB / 0.6429 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.9941, allocations: 2.844 kB / 0.6429 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001983/0.9943, allocations: 57.78 kB / 0.6429 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003266/0.9975, allocations: 0.5392 MB / 0.6435 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.185e-05/0.9976, allocations: 15.72 kB / 0.6435 GB, free: 151.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003711/0.998, allocations: 0.6083 MB / 0.6441 GB, free: 150.9 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.998, allocations: 3 kB / 0.6441 GB, free: 150.9 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008715/0.9989, allocations: 0.5249 MB / 0.6446 GB, free: 150.7 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002259/0.9991, allocations: 170 kB / 0.6447 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.095e-05/0.9992, allocations: 14.53 kB / 0.6448 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00039/0.9996, allocations: 30.84 kB / 0.6448 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.368e-05/0.9997, allocations: 26.38 kB / 0.6448 GB, free: 150.5 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.84e-05/0.9997, allocations: 21.56 kB / 0.6448 GB, free: 150.5 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0005667/1, allocations: 419.7 kB / 0.6452 GB, free: 150.4 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/1, allocations: 0 / 0.6452 GB, free: 150.4 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001131/1.001, allocations: 324.8 kB / 0.6455 GB, free: 150.4 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (27): * Single equations (assignments): 26 * 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.0009737/1.002, allocations: 452.9 kB / 0.646 GB, free: 150.3 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0008587/1.003, allocations: 390.1 kB / 0.6463 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 4.679e-06/1.003, allocations: 0 / 0.6463 GB, free: 150.2 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003611/1.004, allocations: 177.2 kB / 0.6465 GB, free: 150.1 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001821/1.006, allocations: 335 kB / 0.6468 GB, free: 150 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/1.007, allocations: 1.119 MB / 0.6479 GB, free: 149.3 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003467/1.007, allocations: 0.8654 MB / 0.6488 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0008826/1.008, allocations: 202.3 kB / 0.649 GB, free: 148.6 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000224/1.008, allocations: 78.44 kB / 0.649 GB, free: 148.6 MB / 494.1 MB Notification: Performance of SimCode: time 1.933e-06/1.008, allocations: 7.938 kB / 0.6491 GB, free: 148.6 MB / 494.1 MB Notification: Performance of Templates: time 0.0341/1.043, allocations: 16.11 MB / 0.6648 GB, free: 146.6 MB / 494.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/NewFittings/Orifices/ThickEdgedOrifice/ThickEdgedOrifice.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.NewFittings.Orifices.ThickEdgedOrifice.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches