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.0009573/0.0009573, allocations: 100.7 kB / 16.99 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001072/0.001072, allocations: 199.9 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002059/0.0002059, allocations: 12 kB / 306.6 MB, free: 1.426 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09367/0.09389, allocations: 51.5 MB / 358.1 MB, free: 13.93 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Fluid.Examples.InverseParameterization): time 0.2098/0.3038, allocations: 60.96 MB / 419 MB, free: 14.03 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.03905/0.3429, allocations: 21.7 MB / 440.7 MB, free: 9.133 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002453/0.3454, allocations: 43.62 kB / 440.8 MB, free: 9.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003046/0.3485, allocations: 0.6881 MB / 441.4 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.02235/0.3708, allocations: 5.085 MB / 446.5 MB, free: 3.32 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01666/0.3875, allocations: 3.62 MB / 450.1 MB, free: 15.71 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.005706/0.3933, allocations: 2.075 MB / 452.2 MB, free: 13.63 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001965/0.3952, allocations: 0.8641 MB / 453.1 MB, free: 12.75 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003565/0.3988, allocations: 1.273 MB / 454.4 MB, free: 11.47 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.03354/0.4324, allocations: 14.92 MB / 469.3 MB, free: 12.54 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004241/0.4329, allocations: 80 kB / 469.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02269/0.4556, allocations: 11.14 MB / 480.5 MB, free: 1.305 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001072/0.4567, allocations: 410.8 kB / 480.9 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000765/0.4575, allocations: 321 kB / 481.2 MB, free: 0.582 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01024/0.4677, allocations: 4.79 MB / 486 MB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.616e-06/0.4677, allocations: 0 / 486 MB, free: 11.78 MB / 398.1 MB Notification: Performance of FrontEnd: time 2.725e-06/0.4677, allocations: 0 / 486 MB, free: 11.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 3.002e-05/0.4678, allocations: 0 / 486 MB, free: 11.78 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.00819/0.476, allocations: 2.589 MB / 488.6 MB, free: 9.137 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.476, allocations: 12.02 kB / 488.6 MB, free: 9.125 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004432/0.4805, allocations: 0.5915 MB / 489.2 MB, free: 8.531 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001782/0.4823, allocations: 0.9648 MB / 490.2 MB, free: 7.523 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.06e-05/0.4824, allocations: 94.09 kB / 490.3 MB, free: 7.43 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000184/0.4826, allocations: 108 kB / 490.4 MB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004938/0.4875, allocations: 2.248 MB / 492.6 MB, free: 4.953 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.591e-05/0.4876, allocations: 7.938 kB / 492.6 MB, free: 4.945 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001586/0.4877, allocations: 51.98 kB / 492.7 MB, free: 4.895 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001019/0.4878, allocations: 86 kB / 492.8 MB, free: 4.809 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005406/0.4932, allocations: 2.381 MB / 495.1 MB, free: 2.418 MB / 398.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.01244/0.5057, allocations: 9.245 MB / 0.4926 GB, free: 8.562 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00487/0.5106, allocations: 1.935 MB / 0.4944 GB, free: 6.625 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05067/0.5613, allocations: 27.34 MB / 0.5211 GB, free: 7.824 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.929e-05/0.5614, allocations: 47.56 kB / 0.5212 GB, free: 7.766 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001063/0.5625, allocations: 170.7 kB / 0.5214 GB, free: 7.598 MB / 446.1 MB Notification: Performance of pre-optimization done (n=109): time 3.596e-06/0.5625, allocations: 7.938 kB / 0.5214 GB, free: 7.59 MB / 446.1 MB Notification: Performance of matching and sorting (n=109): time 0.01897/0.5815, allocations: 4.716 MB / 0.526 GB, free: 2.844 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.856e-05/0.5816, allocations: 218.6 kB / 0.5262 GB, free: 2.582 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001252/0.5829, allocations: 0.9631 MB / 0.5271 GB, free: 1.602 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.583, allocations: 45.7 kB / 0.5272 GB, free: 1.551 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/0.5834, allocations: 0.5617 MB / 0.5277 GB, free: 0.9805 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003239/0.5838, allocations: 382.5 kB / 0.5281 GB, free: 0.6016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.09e-05/0.5839, allocations: 28 kB / 0.5281 GB, free: 0.5742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001447/0.584, allocations: 349.9 kB / 0.5284 GB, free: 232 kB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.1906/0.7746, allocations: 0.6603 MB / 0.5291 GB, free: 151.2 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001752/0.7764, allocations: 1.03 MB / 0.5301 GB, free: 150.8 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00179/0.7782, allocations: 0.7719 MB / 0.5308 GB, free: 150.8 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.909e-06/0.7782, allocations: 3.625 kB / 0.5308 GB, free: 150.8 MB / 446.1 MB Notification: Performance of matching and sorting (n=158) (initialization): time 0.004366/0.7826, allocations: 2.106 MB / 0.5329 GB, free: 150.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.00068/0.7833, allocations: 3.746 MB / 0.5366 GB, free: 146.5 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.95e-05/0.7833, allocations: 9 kB / 0.5366 GB, free: 146.5 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03087/0.8142, allocations: 3.191 MB / 0.5397 GB, free: 146.4 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.8156, allocations: 276.3 kB / 0.5399 GB, free: 146.4 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002854/0.8184, allocations: 1.48 MB / 0.5414 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001635/0.8201, allocations: 137.3 kB / 0.5415 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/0.8203, allocations: 77.58 kB / 0.5416 GB, free: 145.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.131e-05/0.8203, allocations: 4.312 kB / 0.5416 GB, free: 145.5 MB / 446.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004748/0.825, allocations: 1.864 MB / 0.5434 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.07e-05/0.8251, allocations: 9.609 kB / 0.5434 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008345/0.8259, allocations: 204.7 kB / 0.5436 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.8275, allocations: 347 kB / 0.544 GB, free: 144.8 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007929/0.8283, allocations: 0.7561 MB / 0.5447 GB, free: 144.2 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.8297, allocations: 137.1 kB / 0.5448 GB, free: 144.1 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/0.8298, allocations: 71.33 kB / 0.5449 GB, free: 144.1 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,source.medium.phase,pump.heatTransfer.states[1].phase,sink.medium.phase,sink1.medium.phase,sink2.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 24} Notification: Performance of prepare postOptimizeDAE: time 0.0007169/0.8305, allocations: 432.6 kB / 0.5453 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001978/0.8307, allocations: 134 kB / 0.5454 GB, free: 143.8 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006972/0.8377, allocations: 5.698 MB / 0.551 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-05/0.8378, allocations: 61.17 kB / 0.5511 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.105e-05/0.8378, allocations: 0 / 0.5511 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.409e-05/0.8378, allocations: 3.703 kB / 0.5511 GB, free: 141.2 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009595/0.8474, allocations: 7.733 MB / 0.5586 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.169e-05/0.8475, allocations: 6.438 kB / 0.5586 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008123/0.8483, allocations: 208.3 kB / 0.5588 GB, free: 137.3 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02498/0.8733, allocations: 4.066 MB / 0.5628 GB, free: 135.2 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002232/0.8736, allocations: 31.98 kB / 0.5628 GB, free: 135.1 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002716/0.8763, allocations: 2.392 MB / 0.5652 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.484e-06/0.8763, allocations: 0 / 0.5652 GB, free: 132.7 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004744/0.881, allocations: 3.703 MB / 0.5688 GB, free: 129 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008582/0.8819, allocations: 0.645 MB / 0.5694 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002183/0.8821, allocations: 20 kB / 0.5694 GB, free: 128.3 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009946/0.8831, allocations: 127.8 kB / 0.5695 GB, free: 128.1 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001771/0.8833, allocations: 101.1 kB / 0.5696 GB, free: 128 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000108/0.8835, allocations: 44.73 kB / 0.5697 GB, free: 128 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001088/0.8845, allocations: 1.062 MB / 0.5707 GB, free: 126.9 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.8846, allocations: 4 kB / 0.5707 GB, free: 126.9 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.004374/0.8889, allocations: 1.87 MB / 0.5725 GB, free: 125.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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {6 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.004462/0.8934, allocations: 1.549 MB / 0.5741 GB, free: 123.9 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.005773/0.8992, allocations: 3.051 MB / 0.577 GB, free: 120.9 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.769e-06/0.8992, allocations: 0.9375 kB / 0.577 GB, free: 120.9 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002122/0.9014, allocations: 1.495 MB / 0.5785 GB, free: 119.4 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003141/0.9045, allocations: 0.6852 MB / 0.5792 GB, free: 118.7 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0054/0.9099, allocations: 5.324 MB / 0.5844 GB, free: 113.4 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006731/0.9106, allocations: 1.625 MB / 0.586 GB, free: 111.7 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.002062/0.9127, allocations: 1.485 MB / 0.5874 GB, free: 110.2 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002603/0.913, allocations: 115.4 kB / 0.5875 GB, free: 110.1 MB / 446.1 MB Notification: Performance of SimCode: time 5.21e-07/0.913, allocations: 4 kB / 0.5875 GB, free: 110.1 MB / 446.1 MB Notification: Performance of Templates: time 0.07185/0.9848, allocations: 68.57 MB / 0.6545 GB, free: 41.8 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","../files/Modelica_trunk_Modelica.Fluid.Examples.InverseParameterization.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches