Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.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) 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(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization") translateModel(Modelica.Fluid.Examples.InverseParameterization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|sink.ports.1..m_flow|sink1.ports.1..m_flow|sink2.ports.1..m_flow|pipe1.flowModel.dps_fg_turbulent.1.|pipe1.flowModel.pathLengths_nominal.1.|pipe2.flowModel.pathLengths_nominal.1.",fileNamePrefix="Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008143/0.0008142, allocations: 89.31 kB / 17.31 MB, free: 5.59 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.0007862/0.0007865, allocations: 176 kB / 18.21 MB, free: 5.191 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.323/1.323, allocations: 223.3 MB / 242.3 MB, free: 15.91 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003519/0.0003519, allocations: 17.86 kB / 302.1 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1156/0.116, allocations: 50.41 MB / 352.5 MB, free: 3.664 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.2757/0.3917, allocations: 72.47 MB / 424.9 MB, free: 12.29 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03258/0.4243, allocations: 26.11 MB / 451.1 MB, free: 2.461 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002762/0.4271, allocations: 47.62 kB / 451.1 MB, free: 2.414 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002582/0.4297, allocations: 0.6877 MB / 451.8 MB, free: 1.723 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01752/0.4472, allocations: 5.366 MB / 457.2 MB, free: 12.36 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01271/0.46, allocations: 3.874 MB / 461 MB, free: 8.492 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.006987/0.467, allocations: 4.936 MB / 466 MB, free: 3.547 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001579/0.4686, allocations: 0.8868 MB / 466.9 MB, free: 2.633 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002693/0.4713, allocations: 1.319 MB / 468.2 MB, free: 1.309 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0166/0.4879, allocations: 9.355 MB / 477.5 MB, free: 7.816 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004902/0.4884, allocations: 80 kB / 477.6 MB, free: 7.738 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02101/0.5094, allocations: 10.07 MB / 487.7 MB, free: 13.63 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007757/0.5103, allocations: 434.5 kB / 488.1 MB, free: 13.2 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001215/0.5115, allocations: 0.8221 MB / 488.9 MB, free: 12.37 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008853/0.5204, allocations: 4.888 MB / 493.8 MB, free: 7.473 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.409e-06/0.5204, allocations: 0 / 493.8 MB, free: 7.473 MB / 398.1 MB Notification: Performance of FrontEnd: time 4.588e-06/0.5204, allocations: 4 kB / 493.8 MB, free: 7.469 MB / 398.1 MB Notification: Performance of Transformations before backend: time 2.263e-05/0.5204, allocations: 7.938 kB / 493.8 MB, free: 7.461 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 287 * Number of variables: 287 Notification: Performance of Generate backend data structure: time 0.008525/0.529, allocations: 2.557 MB / 496.4 MB, free: 4.848 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.898e-05/0.529, allocations: 12.03 kB / 496.4 MB, free: 4.836 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004191/0.5332, allocations: 0.5885 MB / 497 MB, free: 4.246 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001729/0.535, allocations: 0.9956 MB / 498 MB, free: 3.203 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.5351, allocations: 94.14 kB / 498.1 MB, free: 3.109 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001988/0.5353, allocations: 104 kB / 498.2 MB, free: 3.008 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005091/0.5404, allocations: 2.268 MB / 0.4887 GB, free: 0.6172 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.5404, allocations: 4 kB / 0.4887 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001524/0.5406, allocations: 47.98 kB / 0.4888 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001081/0.5407, allocations: 92.62 kB / 0.4888 GB, free: 488 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005496/0.5462, allocations: 2.393 MB / 0.4912 GB, free: 14.07 MB / 414.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.01246/0.5587, allocations: 9.214 MB / 0.5002 GB, free: 4.266 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005061/0.5638, allocations: 1.92 MB / 0.5021 GB, free: 2.34 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001477/0.5653, allocations: 0.8002 MB / 0.5028 GB, free: 1.535 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04969/0.615, allocations: 24.78 MB / 0.527 GB, free: 5.805 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.895e-05/0.6151, allocations: 55.53 kB / 0.5271 GB, free: 5.742 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001328/0.6165, allocations: 166.8 kB / 0.5273 GB, free: 5.578 MB / 446.1 MB Notification: Performance of pre-optimization done (n=109): time 7.174e-06/0.6165, allocations: 0 / 0.5273 GB, free: 5.578 MB / 446.1 MB Notification: Performance of matching and sorting (n=109): time 0.02018/0.6367, allocations: 4.762 MB / 0.5319 GB, free: 0.7812 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001203/0.6368, allocations: 222.6 kB / 0.5321 GB, free: 0.5156 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2343/0.8711, allocations: 0.9547 MB / 0.533 GB, free: 157.1 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004453/0.8716, allocations: 47.16 kB / 0.5331 GB, free: 157.1 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006621/0.8723, allocations: 0.5644 MB / 0.5336 GB, free: 157 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006669/0.8729, allocations: 372 kB / 0.534 GB, free: 156.8 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000335/0.8733, allocations: 109.1 kB / 0.5341 GB, free: 156.8 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8734, allocations: 355.1 kB / 0.5344 GB, free: 156.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001931/0.8754, allocations: 0.6794 MB / 0.5351 GB, free: 156.5 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002037/0.8774, allocations: 1.049 MB / 0.5361 GB, free: 156.1 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003393/0.8808, allocations: 1.74 MB / 0.5378 GB, free: 155.2 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.145e-05/0.8809, allocations: 7.953 kB / 0.5378 GB, free: 155.2 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004941/0.8858, allocations: 2.151 MB / 0.5399 GB, free: 154.4 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002525/0.8861, allocations: 375.9 kB / 0.5403 GB, free: 153.9 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.496e-05/0.8861, allocations: 9.25 kB / 0.5403 GB, free: 153.9 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03089/0.917, allocations: 3.074 MB / 0.5433 GB, free: 153.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001322/0.9184, allocations: 280.3 kB / 0.5436 GB, free: 153.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003084/0.9215, allocations: 1.48 MB / 0.545 GB, free: 152.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001969/0.9235, allocations: 140.3 kB / 0.5452 GB, free: 152.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003504/0.9238, allocations: 73.64 kB / 0.5452 GB, free: 152.9 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.9239, allocations: 7.5 kB / 0.5452 GB, free: 152.9 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005758/0.9296, allocations: 1.888 MB / 0.5471 GB, free: 152.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.255e-05/0.9297, allocations: 9.719 kB / 0.5471 GB, free: 152.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008773/0.9306, allocations: 195.3 kB / 0.5473 GB, free: 152.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.9322, allocations: 348 kB / 0.5476 GB, free: 152.2 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008486/0.933, allocations: 0.7547 MB / 0.5483 GB, free: 151.6 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.9345, allocations: 140.5 kB / 0.5485 GB, free: 151.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001799/0.9347, allocations: 67.64 kB / 0.5485 GB, free: 151.5 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 12 (pipe2.flowModel.states[2].phase,pipe2.flowModel.states[1].phase,pipe1.flowModel.states[2].phase,pipe1.flowModel.states[1].phase,sink2.medium.phase,sink1.medium.phase,sink.medium.phase,pump.heatTransfer.states[1].phase,source.medium.phase,orifice.state_b.phase,orifice.state_a.phase,pump.monitoring.state_in.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (129): * Single equations (assignments): 128 * 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 {(5,25)} Notification: Performance of prepare postOptimizeDAE: time 0.0008603/0.9356, allocations: 435.2 kB / 0.5489 GB, free: 151.2 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003564/0.9359, allocations: 132.4 kB / 0.5491 GB, free: 151.1 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007193/0.9431, allocations: 5.674 MB / 0.5546 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.245e-05/0.9432, allocations: 60.36 kB / 0.5547 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.927e-06/0.9432, allocations: 0 / 0.5547 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.275e-05/0.9432, allocations: 3.562 kB / 0.5547 GB, free: 148.6 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009912/0.9532, allocations: 7.766 MB / 0.5623 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.196e-06/0.9532, allocations: 0 / 0.5623 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007979/0.954, allocations: 211 kB / 0.5625 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02384/0.9779, allocations: 3.941 MB / 0.5663 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002378/0.9781, allocations: 31.83 kB / 0.5663 GB, free: 140.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002587/0.9807, allocations: 2.389 MB / 0.5687 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/0.9807, allocations: 7.938 kB / 0.5687 GB, free: 138.2 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004842/0.9856, allocations: 3.7 MB / 0.5723 GB, free: 134.4 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008122/0.9864, allocations: 0.6373 MB / 0.5729 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001951/0.9866, allocations: 24 kB / 0.5729 GB, free: 133.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009682/0.9876, allocations: 132.2 kB / 0.5731 GB, free: 133.6 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001865/0.9878, allocations: 100 kB / 0.5732 GB, free: 133.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.676e-05/0.9879, allocations: 43.97 kB / 0.5732 GB, free: 133.5 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.00112/0.989, allocations: 1.073 MB / 0.5743 GB, free: 132.4 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.989, allocations: 0 / 0.5743 GB, free: 132.4 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004536/0.9936, allocations: 1.836 MB / 0.576 GB, free: 130.7 MB / 446.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: 35 ($cse3.phase,$cse3.region,$cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse27.phase,$cse27.region,$cse29.phase,$cse29.region,$cse30.phase,$cse30.region,$cse33.phase,$cse33.region,$cse36.phase,$cse36.region,$cse37.phase,$cse37.region,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 80 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 12 * 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 {(6,35)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004671/0.9982, allocations: 1.567 MB / 0.5776 GB, free: 129.4 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005644/1.004, allocations: 3.067 MB / 0.5806 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.759e-06/1.004, allocations: 0 / 0.5806 GB, free: 126.3 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002081/1.006, allocations: 1.497 MB / 0.582 GB, free: 124.8 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003541/1.01, allocations: 0.7009 MB / 0.5827 GB, free: 124.2 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005578/1.015, allocations: 5.466 MB / 0.5881 GB, free: 118.7 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006906/1.016, allocations: 1.574 MB / 0.5896 GB, free: 117 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003668/1.016, allocations: 123.4 kB / 0.5897 GB, free: 116.9 MB / 446.1 MB Notification: Performance of SimCode: time 7.61e-07/1.016, allocations: 0 / 0.5897 GB, free: 116.9 MB / 446.1 MB Notification: Performance of Templates: time 0.05662/1.073, allocations: 53.3 MB / 0.6418 GB, free: 63.68 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/InverseParameterization/InverseParameterization.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Fluid.Examples.InverseParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches