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.001036/0.001035, allocations: 93.67 kB / 18 MB, free: 5.602 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001253/0.001253, allocations: 203.1 kB / 18.93 MB, free: 4.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.372/1.372, allocations: 227.7 MB / 247.5 MB, free: 9.484 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000251/0.000251, allocations: 8 kB / 308.4 MB, free: 0.5664 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.112, allocations: 51.52 MB / 359.9 MB, free: 13.05 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.2874/0.3994, allocations: 72.69 MB / 432.6 MB, free: 2.285 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03381/0.4333, allocations: 26.13 MB / 458.7 MB, free: 8.102 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002544/0.4359, allocations: 51.56 kB / 458.8 MB, free: 8.051 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003453/0.4394, allocations: 0.6955 MB / 459.5 MB, free: 7.352 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02797/0.4674, allocations: 5.358 MB / 464.8 MB, free: 1.996 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.02339/0.4908, allocations: 3.882 MB / 468.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01116/0.502, allocations: 4.947 MB / 473.6 MB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002902/0.5049, allocations: 0.8799 MB / 474.5 MB, free: 8.254 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005183/0.5101, allocations: 1.327 MB / 475.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03234/0.5425, allocations: 9.352 MB / 485.2 MB, free: 13.43 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008597/0.5434, allocations: 80 kB / 485.3 MB, free: 13.35 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.03126/0.5747, allocations: 10.09 MB / 495.4 MB, free: 3.223 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001136/0.5759, allocations: 442.5 kB / 495.8 MB, free: 2.789 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002102/0.578, allocations: 0.8143 MB / 496.6 MB, free: 1.965 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01065/0.5887, allocations: 4.911 MB / 0.4898 GB, free: 13.04 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.5887, allocations: 0 / 0.4898 GB, free: 13.04 MB / 414.1 MB Notification: Performance of FrontEnd: time 2.865e-06/0.5887, allocations: 0 / 0.4898 GB, free: 13.04 MB / 414.1 MB Notification: Performance of Transformations before backend: time 9.036e-05/0.5888, allocations: 0 / 0.4898 GB, free: 13.04 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.0101/0.5989, allocations: 2.565 MB / 0.4923 GB, free: 10.42 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/0.599, allocations: 8.031 kB / 0.4923 GB, free: 10.41 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004795/0.6038, allocations: 0.6079 MB / 0.4929 GB, free: 9.805 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002282/0.6061, allocations: 0.9918 MB / 0.4938 GB, free: 8.766 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.6063, allocations: 94.14 kB / 0.4939 GB, free: 8.672 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003915/0.6067, allocations: 104 kB / 0.494 GB, free: 8.57 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006383/0.6131, allocations: 2.268 MB / 0.4963 GB, free: 6.18 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.482e-05/0.6131, allocations: 3.938 kB / 0.4963 GB, free: 6.176 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002621/0.6134, allocations: 51.92 kB / 0.4963 GB, free: 6.125 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001407/0.6135, allocations: 86 kB / 0.4964 GB, free: 6.039 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006174/0.6197, allocations: 2.393 MB / 0.4987 GB, free: 3.637 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.01432/0.6341, allocations: 9.214 MB / 0.5077 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00532/0.6394, allocations: 1.928 MB / 0.5096 GB, free: 7.898 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001591/0.641, allocations: 0.7924 MB / 0.5104 GB, free: 7.105 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2753/0.9163, allocations: 27.34 MB / 0.5371 GB, free: 144.1 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.146e-05/0.9164, allocations: 50.34 kB / 0.5371 GB, free: 144.1 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00118/0.9176, allocations: 172.6 kB / 0.5373 GB, free: 144.1 MB / 446.1 MB Notification: Performance of pre-optimization done (n=109): time 8.396e-06/0.9176, allocations: 0.9688 kB / 0.5373 GB, free: 144.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=109): time 0.02149/0.9391, allocations: 4.753 MB / 0.5419 GB, free: 143.9 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.136e-05/0.9393, allocations: 222.5 kB / 0.5421 GB, free: 143.7 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001641/0.9409, allocations: 0.9659 MB / 0.5431 GB, free: 143.4 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.00021/0.9411, allocations: 48.39 kB / 0.5431 GB, free: 143.3 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004352/0.9416, allocations: 0.5568 MB / 0.5437 GB, free: 142.9 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004426/0.942, allocations: 378.9 kB / 0.544 GB, free: 142.6 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.9423, allocations: 112.8 kB / 0.5441 GB, free: 142.6 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001044/0.9424, allocations: 354.4 kB / 0.5445 GB, free: 142.2 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.944, allocations: 0.6853 MB / 0.5451 GB, free: 142 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001729/0.9458, allocations: 1.043 MB / 0.5462 GB, free: 141.4 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003247/0.949, allocations: 1.741 MB / 0.5479 GB, free: 140.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.46e-05/0.949, allocations: 2.469 kB / 0.5479 GB, free: 140.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004628/0.9537, allocations: 2.155 MB / 0.55 GB, free: 139.6 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002178/0.9539, allocations: 375.5 kB / 0.5503 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.246e-05/0.9539, allocations: 9.406 kB / 0.5503 GB, free: 139.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03181/0.9858, allocations: 3.207 MB / 0.5535 GB, free: 138.9 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001283/0.9871, allocations: 283.1 kB / 0.5537 GB, free: 138.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002599/0.9897, allocations: 1.469 MB / 0.5552 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001699/0.9914, allocations: 139 kB / 0.5553 GB, free: 137.8 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002377/0.9917, allocations: 75.36 kB / 0.5554 GB, free: 137.7 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.9917, allocations: 3.938 kB / 0.5554 GB, free: 137.7 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004868/0.9966, allocations: 1.889 MB / 0.5572 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.299e-05/0.9966, allocations: 12.72 kB / 0.5572 GB, free: 136.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008154/0.9974, allocations: 203.2 kB / 0.5574 GB, free: 136.7 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001405/0.9989, allocations: 343.5 kB / 0.5578 GB, free: 136.6 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007888/0.9997, allocations: 0.7556 MB / 0.5585 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001468/1.001, allocations: 133.2 kB / 0.5586 GB, free: 135.9 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001453/1.001, allocations: 73.97 kB / 0.5587 GB, free: 135.9 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.0007887/1.002, allocations: 429.3 kB / 0.5591 GB, free: 135.5 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003434/1.002, allocations: 129.7 kB / 0.5592 GB, free: 135.4 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007268/1.01, allocations: 5.678 MB / 0.5648 GB, free: 132.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.938e-05/1.01, allocations: 66.16 kB / 0.5648 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.13e-05/1.01, allocations: 0 / 0.5648 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.51e-05/1.01, allocations: 7.969 kB / 0.5648 GB, free: 132.1 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009703/1.02, allocations: 7.755 MB / 0.5724 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/1.02, allocations: 0 / 0.5724 GB, free: 125.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007738/1.02, allocations: 207.8 kB / 0.5726 GB, free: 125.2 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02717/1.048, allocations: 4.073 MB / 0.5766 GB, free: 121.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002582/1.048, allocations: 27.98 kB / 0.5766 GB, free: 121.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004292/1.052, allocations: 2.407 MB / 0.579 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.052, allocations: 0 / 0.579 GB, free: 118.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009632/1.062, allocations: 3.692 MB / 0.5826 GB, free: 115 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002262/1.064, allocations: 0.6451 MB / 0.5832 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000644/1.065, allocations: 24 kB / 0.5832 GB, free: 114.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002119/1.067, allocations: 129.8 kB / 0.5834 GB, free: 114.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000369/1.067, allocations: 104.9 kB / 0.5835 GB, free: 114 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001755/1.068, allocations: 40.86 kB / 0.5835 GB, free: 114 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002371/1.07, allocations: 1.077 MB / 0.5845 GB, free: 112.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.61e-07/1.07, allocations: 4 kB / 0.5846 GB, free: 112.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.008203/1.078, allocations: 1.843 MB / 0.5864 GB, free: 111.2 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.009687/1.088, allocations: 1.573 MB / 0.5879 GB, free: 109.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01218/1.1, allocations: 3.066 MB / 0.5909 GB, free: 106.8 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.23e-05/1.1, allocations: 0 / 0.5909 GB, free: 106.8 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004452/1.105, allocations: 1.493 MB / 0.5923 GB, free: 105.3 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007669/1.112, allocations: 0.7088 MB / 0.593 GB, free: 104.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/1.125, allocations: 5.464 MB / 0.5984 GB, free: 99.15 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001548/1.126, allocations: 1.578 MB / 0.5999 GB, free: 97.54 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008016/1.127, allocations: 115.4 kB / 0.6 GB, free: 97.42 MB / 446.1 MB Notification: Performance of SimCode: time 2.234e-06/1.127, allocations: 0 / 0.6 GB, free: 97.42 MB / 446.1 MB Notification: Performance of Templates: time 0.1111/1.238, allocations: 53.48 MB / 0.6522 GB, free: 43.99 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/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_trunk_Modelica.Fluid.Examples.InverseParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches