Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure.conf.json Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Sensors_TestPressure",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01225/0.01226, allocations: 107.7 kB / 15.06 MB, free: 5.555 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001248/0.001247, allocations: 182.1 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.865/1.865, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo): time 0.2552/0.2552, allocations: 40.05 MB / 296.5 MB, free: 6.281 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004603/0.0004605, allocations: 11.94 kB / 361.2 MB, free: 9.52 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1094/0.1099, allocations: 54.87 MB / 416 MB, free: 2.555 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Sensors.TestPressure): time 0.049/0.159, allocations: 31.68 MB / 447.7 MB, free: 2.793 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.3297/0.4887, allocations: 18.31 MB / 466 MB, free: 32.43 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006675/0.4894, allocations: 16.47 kB / 466 MB, free: 32.43 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009922/0.4904, allocations: 243.1 kB / 466.3 MB, free: 32.43 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01387/0.5043, allocations: 3.564 MB / 469.8 MB, free: 32.37 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006362/0.5107, allocations: 1.611 MB / 471.4 MB, free: 32.25 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.0014/0.5121, allocations: 0.6759 MB / 472.1 MB, free: 32.22 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000572/0.5127, allocations: 284.3 kB / 472.4 MB, free: 32.19 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02364/0.5364, allocations: 9.065 MB / 481.5 MB, free: 31.96 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007834/0.5372, allocations: 244.7 kB / 481.7 MB, free: 31.91 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001191/0.5373, allocations: 18.62 kB / 481.7 MB, free: 31.91 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01981/0.5572, allocations: 7.091 MB / 488.8 MB, free: 31.71 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002611/0.5575, allocations: 94.41 kB / 488.9 MB, free: 31.66 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003071/0.5578, allocations: 121.2 kB / 489 MB, free: 31.59 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01002/0.5678, allocations: 3.034 MB / 492 MB, free: 31.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.747e-06/0.5679, allocations: 0 / 492 MB, free: 31.2 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.5679, allocations: 1.188 kB / 492 MB, free: 31.2 MB / 378.7 MB Notification: Performance of Transformations before backend: time 1.16e-05/0.5679, allocations: 0 / 492 MB, free: 31.2 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.006393/0.5743, allocations: 1.229 MB / 493.3 MB, free: 30.4 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.928e-05/0.5744, allocations: 9.562 kB / 493.3 MB, free: 30.4 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001799/0.5746, allocations: 76.78 kB / 493.4 MB, free: 30.34 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002591/0.5772, allocations: 235.8 kB / 493.6 MB, free: 30.3 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000989/0.5782, allocations: 399 kB / 494 MB, free: 30 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.695e-05/0.5783, allocations: 31.08 kB / 494 MB, free: 29.98 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.775e-05/0.5784, allocations: 37.73 kB / 494 MB, free: 29.97 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002561/0.581, allocations: 0.6824 MB / 494.7 MB, free: 29.65 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/0.5811, allocations: 3.938 kB / 494.7 MB, free: 29.64 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.584e-05/0.5811, allocations: 22.03 kB / 494.8 MB, free: 29.63 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.8e-05/0.5812, allocations: 10.09 kB / 494.8 MB, free: 29.63 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002626/0.5838, allocations: 0.5847 MB / 495.4 MB, free: 29.48 MB / 378.7 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.004875/0.5887, allocations: 3.202 MB / 498.6 MB, free: 26.79 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002043/0.5908, allocations: 427.5 kB / 499 MB, free: 26.67 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3224/0.9132, allocations: 81.78 MB / 0.5671 GB, free: 8.934 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.35e-05/0.9133, allocations: 40.67 kB / 0.5672 GB, free: 8.887 MB / 442.7 MB Notification: Performance of pre-optimization done (n=27): time 3.276e-06/0.9133, allocations: 0 / 0.5672 GB, free: 8.887 MB / 442.7 MB Notification: Performance of matching and sorting (n=27): time 0.004466/0.9178, allocations: 0.8459 MB / 0.568 GB, free: 8.016 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.108e-05/0.9179, allocations: 110.8 kB / 0.5681 GB, free: 7.883 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005739/0.9185, allocations: 345.4 kB / 0.5684 GB, free: 7.539 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 6.251e-05/0.9186, allocations: 29.7 kB / 0.5685 GB, free: 7.504 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002364/0.9188, allocations: 266.7 kB / 0.5687 GB, free: 7.242 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001204/0.9189, allocations: 93.89 kB / 0.5688 GB, free: 7.152 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.291e-05/0.919, allocations: 8 kB / 0.5688 GB, free: 7.145 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001512/0.9191, allocations: 346.8 kB / 0.5692 GB, free: 6.797 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006012/0.9198, allocations: 136.8 kB / 0.5693 GB, free: 6.664 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007376/0.9205, allocations: 343.2 kB / 0.5696 GB, free: 6.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006728/0.9212, allocations: 166.2 kB / 0.5698 GB, free: 6.082 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/0.9212, allocations: 0 / 0.5698 GB, free: 6.082 MB / 442.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.001869/0.9231, allocations: 0.5268 MB / 0.5703 GB, free: 5.547 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001031/0.9242, allocations: 2.44 MB / 0.5727 GB, free: 2.918 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.435e-05/0.9242, allocations: 8 kB / 0.5727 GB, free: 2.91 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004086/0.9283, allocations: 228.5 kB / 0.5729 GB, free: 2.684 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007688/0.9291, allocations: 111.8 kB / 0.573 GB, free: 2.574 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007154/0.9299, allocations: 0.5952 MB / 0.5736 GB, free: 1.953 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007095/0.9306, allocations: 59.58 kB / 0.5736 GB, free: 1.895 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.297e-05/0.9307, allocations: 27.98 kB / 0.5737 GB, free: 1.867 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.9307, allocations: 6.969 kB / 0.5737 GB, free: 1.863 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001599/0.9323, allocations: 447 kB / 0.5741 GB, free: 1.426 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.524e-05/0.9324, allocations: 8 kB / 0.5741 GB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.716e-05/0.9324, allocations: 8.812 kB / 0.5741 GB, free: 1.41 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008023/0.9332, allocations: 123.8 kB / 0.5742 GB, free: 1.289 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.246e-05/0.9332, allocations: 11.98 kB / 0.5742 GB, free: 1.277 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006254/0.9339, allocations: 55.62 kB / 0.5743 GB, free: 1.223 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.731e-05/0.934, allocations: 30.55 kB / 0.5743 GB, free: 1.195 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 4 (boundary_fixed.medium.phase,massFlowRate1.medium.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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 {1 3} Notification: Performance of prepare postOptimizeDAE: time 0.0004068/0.9344, allocations: 252.9 kB / 0.5746 GB, free: 0.9375 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.9345, allocations: 39.53 kB / 0.5746 GB, free: 0.8984 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00398/0.9385, allocations: 1.88 MB / 0.5764 GB, free: 15.02 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.625e-05/0.9386, allocations: 31.95 kB / 0.5765 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.918e-06/0.9386, allocations: 3.953 kB / 0.5765 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/0.9386, allocations: 0 / 0.5765 GB, free: 14.99 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001753/0.9404, allocations: 0.9499 MB / 0.5774 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.716e-06/0.9405, allocations: 0.75 kB / 0.5774 GB, free: 14 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.941, allocations: 67.89 kB / 0.5775 GB, free: 13.93 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002186/0.9432, allocations: 0.5841 MB / 0.578 GB, free: 13.34 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.014e-05/0.9433, allocations: 11.98 kB / 0.578 GB, free: 13.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001208/0.9445, allocations: 1.003 MB / 0.579 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.9445, allocations: 3.25 kB / 0.579 GB, free: 12.3 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002609/0.9472, allocations: 1.274 MB / 0.5803 GB, free: 11.01 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005339/0.9477, allocations: 239.5 kB / 0.5805 GB, free: 10.76 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001135/0.9479, allocations: 11.95 kB / 0.5805 GB, free: 10.75 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004899/0.9484, allocations: 31.88 kB / 0.5805 GB, free: 10.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.9485, allocations: 27.95 kB / 0.5806 GB, free: 10.69 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.825e-05/0.9486, allocations: 8 kB / 0.5806 GB, free: 10.68 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.000539/0.9491, allocations: 306.9 kB / 0.5809 GB, free: 10.38 MB / 458.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.9491, allocations: 0 / 0.5809 GB, free: 10.38 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006427/0.9556, allocations: 1.136 MB / 0.582 GB, free: 9.242 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($cse2.phase,$cse2.region,$cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,$cse13.phase,$cse13.region,massFlowRate1.medium.phase,boundary_fixed.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * 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 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.0138/0.9694, allocations: 2.749 MB / 0.5847 GB, free: 6.562 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.002771/0.9722, allocations: 0.8035 MB / 0.5855 GB, free: 5.766 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/0.9723, allocations: 0 / 0.5855 GB, free: 5.766 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001125/0.9734, allocations: 472.8 kB / 0.5859 GB, free: 5.301 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001737/0.9752, allocations: 176.3 kB / 0.5861 GB, free: 5.133 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01737/0.9926, allocations: 7.93 MB / 0.5938 GB, free: 13.09 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001114/0.9938, allocations: 0.9951 MB / 0.5948 GB, free: 12.06 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002325/0.9961, allocations: 487.1 kB / 0.5952 GB, free: 11.59 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006662/0.9969, allocations: 267.3 kB / 0.5955 GB, free: 11.33 MB / 474.7 MB Notification: Performance of SimCode: time 1.974e-06/0.9969, allocations: 3.938 kB / 0.5955 GB, free: 11.32 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4247/1.422, allocations: 47.08 MB / 0.6415 GB, free: 143.8 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002823/1.422, allocations: 260.8 kB / 0.6417 GB, free: 143.4 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.044/7.466, allocations: 0 / 0.6417 GB, free: 143.4 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Sensors.TestPressure_res.mat does not exist to compare? outputFormat=mat