Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Fluid.Examples.InverseParameterization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009201/0.00092, allocations: 96.48 kB / 17.35 MB, free: 6.367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001104/0.001104, allocations: 205.8 kB / 18.29 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.298/1.298, allocations: 227.7 MB / 246.8 MB, free: 11.28 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002411/0.0002411, allocations: 4 kB / 307.7 MB, free: 0.8281 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1028, allocations: 51.51 MB / 359.2 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.2312/0.334, allocations: 72.68 MB / 431.9 MB, free: 2.434 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03119/0.3653, allocations: 26.13 MB / 458 MB, free: 8.246 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002092/0.3674, allocations: 47.56 kB / 458.1 MB, free: 8.199 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002303/0.3697, allocations: 0.6955 MB / 458.8 MB, free: 7.5 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01549/0.3852, allocations: 5.36 MB / 464.1 MB, free: 2.141 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01052/0.3958, allocations: 3.883 MB / 468 MB, free: 14.27 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.005623/0.4014, allocations: 4.944 MB / 473 MB, free: 9.309 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001472/0.4029, allocations: 0.8814 MB / 473.8 MB, free: 8.402 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002631/0.4055, allocations: 1.327 MB / 475.2 MB, free: 7.07 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01643/0.422, allocations: 9.356 MB / 484.5 MB, free: 13.57 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004262/0.4225, allocations: 76 kB / 484.6 MB, free: 13.5 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01855/0.441, allocations: 10.1 MB / 494.7 MB, free: 3.363 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009018/0.442, allocations: 446.4 kB / 495.1 MB, free: 2.926 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001308/0.4433, allocations: 0.8065 MB / 495.9 MB, free: 2.109 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01602/0.4593, allocations: 6.929 MB / 0.4911 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.414e-06/0.4593, allocations: 8 kB / 0.4911 GB, free: 11.16 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.4593, allocations: 0 / 0.4911 GB, free: 11.16 MB / 414.1 MB Notification: Performance of Transformations before backend: time 2.752e-05/0.4594, allocations: 0 / 0.4911 GB, free: 11.16 MB / 414.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.008225/0.4676, allocations: 2.565 MB / 0.4936 GB, free: 8.535 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.459e-05/0.4677, allocations: 15.97 kB / 0.4936 GB, free: 8.52 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/0.4721, allocations: 0.5962 MB / 0.4942 GB, free: 7.922 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001875/0.474, allocations: 0.9879 MB / 0.4952 GB, free: 6.887 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001042/0.4741, allocations: 94.14 kB / 0.4953 GB, free: 6.793 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002803/0.4744, allocations: 104 kB / 0.4954 GB, free: 6.691 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005886/0.4803, allocations: 2.268 MB / 0.4976 GB, free: 4.301 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.753e-05/0.4804, allocations: 8.75 kB / 0.4976 GB, free: 4.293 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002141/0.4806, allocations: 51.98 kB / 0.4976 GB, free: 4.242 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001327/0.4807, allocations: 82 kB / 0.4977 GB, free: 4.16 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005972/0.4867, allocations: 2.393 MB / 0.5 GB, free: 1.758 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.01291/0.4996, allocations: 9.21 MB / 0.509 GB, free: 7.953 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005102/0.5048, allocations: 1.931 MB / 0.5109 GB, free: 6.016 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00153/0.5063, allocations: 0.7946 MB / 0.5117 GB, free: 5.223 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2253/0.7316, allocations: 27.34 MB / 0.5384 GB, free: 144.2 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.632e-05/0.7317, allocations: 46.48 kB / 0.5384 GB, free: 144.1 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001256/0.733, allocations: 169.4 kB / 0.5386 GB, free: 144.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=109): time 3.297e-06/0.733, allocations: 0 / 0.5386 GB, free: 144.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=109): time 0.02057/0.7536, allocations: 4.755 MB / 0.5432 GB, free: 144 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.035e-05/0.7537, allocations: 222.8 kB / 0.5435 GB, free: 143.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/0.755, allocations: 0.9757 MB / 0.5444 GB, free: 143.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001214/0.7551, allocations: 46.98 kB / 0.5445 GB, free: 143.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003509/0.7555, allocations: 0.5543 MB / 0.545 GB, free: 142.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003082/0.7558, allocations: 375.2 kB / 0.5454 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001692/0.756, allocations: 111.7 kB / 0.5455 GB, free: 142.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.901e-05/0.7561, allocations: 353.5 kB / 0.5458 GB, free: 142.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001401/0.7575, allocations: 0.6819 MB / 0.5465 GB, free: 142 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001608/0.7591, allocations: 1.045 MB / 0.5475 GB, free: 141.3 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/0.7622, allocations: 1.739 MB / 0.5492 GB, free: 140.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.238e-06/0.7622, allocations: 3.156 kB / 0.5492 GB, free: 140.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004252/0.7664, allocations: 2.153 MB / 0.5513 GB, free: 139.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001477/0.7666, allocations: 378.9 kB / 0.5517 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/0.7666, allocations: 9.625 kB / 0.5517 GB, free: 139.1 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03126/0.7979, allocations: 3.207 MB / 0.5548 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00111/0.799, allocations: 279.5 kB / 0.5551 GB, free: 138.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002491/0.8015, allocations: 1.478 MB / 0.5565 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001477/0.803, allocations: 138.4 kB / 0.5566 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001202/0.8031, allocations: 71.41 kB / 0.5567 GB, free: 137.2 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.977e-06/0.8032, allocations: 0 / 0.5567 GB, free: 137.2 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004372/0.8075, allocations: 1.895 MB / 0.5586 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.8076, allocations: 7.875 kB / 0.5586 GB, free: 136.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007814/0.8084, allocations: 209 kB / 0.5588 GB, free: 136.2 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.8097, allocations: 344.2 kB / 0.5591 GB, free: 136.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007255/0.8104, allocations: 0.756 MB / 0.5598 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/0.8118, allocations: 138.3 kB / 0.56 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001074/0.8119, allocations: 67.06 kB / 0.56 GB, free: 135.4 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.0006279/0.8125, allocations: 430.4 kB / 0.5604 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.8127, allocations: 129.5 kB / 0.5606 GB, free: 135 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006153/0.8189, allocations: 5.672 MB / 0.5661 GB, free: 131.6 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.907e-05/0.8189, allocations: 69 kB / 0.5662 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.8189, allocations: 0 / 0.5662 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/0.8189, allocations: 3.984 kB / 0.5662 GB, free: 131.5 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008116/0.8271, allocations: 7.754 MB / 0.5737 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.8271, allocations: 4 kB / 0.5737 GB, free: 123.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007558/0.8279, allocations: 208.4 kB / 0.5739 GB, free: 123.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02691/0.8548, allocations: 4.073 MB / 0.5779 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002119/0.855, allocations: 27.98 kB / 0.5779 GB, free: 119.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002624/0.8577, allocations: 2.395 MB / 0.5803 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.037e-06/0.8577, allocations: 8 kB / 0.5803 GB, free: 117 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004857/0.8625, allocations: 3.703 MB / 0.5839 GB, free: 113.2 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007387/0.8633, allocations: 0.6373 MB / 0.5845 GB, free: 112.6 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001922/0.8635, allocations: 27.98 kB / 0.5846 GB, free: 112.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009779/0.8645, allocations: 127.7 kB / 0.5847 GB, free: 112.4 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001915/0.8647, allocations: 97.17 kB / 0.5848 GB, free: 112.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.934e-05/0.8648, allocations: 43.97 kB / 0.5848 GB, free: 112.3 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001096/0.8659, allocations: 1.073 MB / 0.5859 GB, free: 111.2 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.8659, allocations: 0 / 0.5859 GB, free: 111.2 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004043/0.8699, allocations: 1.854 MB / 0.5877 GB, free: 109.5 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.006143/0.8761, allocations: 1.582 MB / 0.5892 GB, free: 108.2 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005929/0.882, allocations: 3.063 MB / 0.5922 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.47e-06/0.8821, allocations: 0 / 0.5922 GB, free: 105.1 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002151/0.8842, allocations: 1.497 MB / 0.5937 GB, free: 103.6 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003648/0.8879, allocations: 0.7081 MB / 0.5944 GB, free: 102.9 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005413/0.8933, allocations: 5.401 MB / 0.5996 GB, free: 97.47 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006706/0.894, allocations: 1.574 MB / 0.6012 GB, free: 95.86 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002095/0.8961, allocations: 1.483 MB / 0.6026 GB, free: 94.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002839/0.8964, allocations: 111.4 kB / 0.6027 GB, free: 94.29 MB / 446.1 MB Notification: Performance of SimCode: time 8.62e-07/0.8964, allocations: 4 kB / 0.6027 GB, free: 94.28 MB / 446.1 MB Notification: Performance of Templates: time 0.0766/0.973, allocations: 69.01 MB / 0.6701 GB, free: 25.53 MB / 446.1 MB make -j1 -f Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.makefile (rm -f Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.pipe ; mkfifo Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.pipe >> ../files/Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.sim & ./Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Fluid/Examples/InverseParameterization/InverseParameterization.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches