Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo) Using package Modelica with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo) Using package Complex with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveCharacteristics",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.1/package.mo): time 0.01085/0.01085, allocations: 105.2 kB / 15.06 MB, free: 6.027 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.1.mo): time 0.001223/0.001223, allocations: 172.2 kB / 15.93 MB, free: 5.961 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.1/package.mo): time 1.627/1.627, allocations: 170.9 MB / 187.6 MB, free: 1.008 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.1/package.mo): time 0.283/0.283, allocations: 38.09 MB / 265.1 MB, free: 3.98 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004661/0.0004662, allocations: 11.98 kB / 323.6 MB, free: 29.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09018/0.09069, allocations: 48.72 MB / 372.3 MB, free: 12.86 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics): time 0.412/0.5027, allocations: 67.67 MB / 440 MB, free: 12.91 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.04254/0.5453, allocations: 24.32 MB / 464.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002365/0.5477, allocations: 56.97 kB / 464.3 MB, free: 12.63 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004117/0.5519, allocations: 0.9923 MB / 465.3 MB, free: 12.57 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01757/0.5695, allocations: 4.064 MB / 469.4 MB, free: 12.37 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.02546/0.595, allocations: 6.128 MB / 475.5 MB, free: 9.586 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.005215/0.6003, allocations: 2.172 MB / 477.7 MB, free: 8.754 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001856/0.6022, allocations: 0.7972 MB / 478.5 MB, free: 8.266 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004103/0.6063, allocations: 1.188 MB / 479.7 MB, free: 7.676 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002109/0.6085, allocations: 0.7725 MB / 480.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003539/0.6089, allocations: 61.16 kB / 480.5 MB, free: 7.281 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02345/0.6323, allocations: 8.072 MB / 488.6 MB, free: 2.941 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007599/0.6332, allocations: 303.3 kB / 488.9 MB, free: 2.664 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008414/0.634, allocations: 336.9 kB / 489.2 MB, free: 2.328 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01322/0.6473, allocations: 4.549 MB / 493.8 MB, free: 14.07 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.745e-06/0.6473, allocations: 4 kB / 493.8 MB, free: 14.06 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.6474, allocations: 7.875 kB / 493.8 MB, free: 14.05 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.116e-05/0.6475, allocations: 4 kB / 493.8 MB, free: 14.05 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 301 * Number of variables: 301 Notification: Performance of Generate backend data structure: time 0.009964/0.6574, allocations: 2.375 MB / 496.2 MB, free: 11.64 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.518e-05/0.6575, allocations: 8.031 kB / 496.2 MB, free: 11.63 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005932/0.6581, allocations: 181.5 kB / 496.3 MB, free: 11.45 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0105/0.6687, allocations: 0.8367 MB / 497.2 MB, free: 10.61 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/0.6714, allocations: 0.9367 MB / 498.1 MB, free: 9.66 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000189/0.6717, allocations: 106.4 kB / 498.2 MB, free: 9.555 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003125/0.672, allocations: 116.7 kB / 498.3 MB, free: 9.441 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009797/0.6818, allocations: 2.281 MB / 0.4889 GB, free: 7.004 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.848e-05/0.6819, allocations: 3.938 kB / 0.4889 GB, free: 7 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002553/0.6822, allocations: 60 kB / 0.4889 GB, free: 6.941 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.139e-05/0.6822, allocations: 32 kB / 0.489 GB, free: 6.91 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0111/0.6934, allocations: 2.201 MB / 0.4911 GB, free: 4.699 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0178/0.7112, allocations: 9.813 MB / 0.5007 GB, free: 10.2 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008252/0.7195, allocations: 1.635 MB / 0.5023 GB, free: 8.562 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.07249/0.7921, allocations: 19.04 MB / 0.5209 GB, free: 3.789 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.097e-05/0.7922, allocations: 47.56 kB / 0.5209 GB, free: 3.734 MB / 378.7 MB Notification: Performance of pre-optimization done (n=88): time 4.458e-06/0.7922, allocations: 0 / 0.5209 GB, free: 3.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=88): time 0.01468/0.8069, allocations: 2.747 MB / 0.5236 GB, free: 0.9883 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001597/0.8071, allocations: 282 kB / 0.5239 GB, free: 0.6484 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001643/0.8087, allocations: 0.8565 MB / 0.5247 GB, free: 15.77 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002121/0.809, allocations: 41.7 kB / 0.5248 GB, free: 15.73 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006952/0.8097, allocations: 0.6754 MB / 0.5254 GB, free: 15.05 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004577/0.8102, allocations: 305.1 kB / 0.5257 GB, free: 14.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001035/0.8103, allocations: 31.94 kB / 0.5257 GB, free: 14.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.8105, allocations: 357.9 kB / 0.5261 GB, free: 14.37 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002259/0.8128, allocations: 482.3 kB / 0.5265 GB, free: 13.9 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002944/0.8158, allocations: 1.035 MB / 0.5276 GB, free: 12.61 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002644/0.8185, allocations: 0.6031 MB / 0.5281 GB, free: 12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.736e-05/0.8186, allocations: 4 kB / 0.5282 GB, free: 12 MB / 394.7 MB Notification: Performance of matching and sorting (n=165) (initialization): time 0.006501/0.8251, allocations: 1.603 MB / 0.5297 GB, free: 10.39 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002901/0.828, allocations: 6.881 MB / 0.5364 GB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.435e-05/0.8281, allocations: 16 kB / 0.5365 GB, free: 2.973 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.433e-05/0.8282, allocations: 28 kB / 0.5365 GB, free: 2.945 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/0.8308, allocations: 391.4 kB / 0.5369 GB, free: 2.562 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.516e-05/0.8309, allocations: 35.86 kB / 0.5369 GB, free: 2.527 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00217/0.8331, allocations: 242.4 kB / 0.5371 GB, free: 2.289 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002394/0.8333, allocations: 83.97 kB / 0.5372 GB, free: 2.207 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.8334, allocations: 4 kB / 0.5372 GB, free: 2.203 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005609/0.839, allocations: 1.473 MB / 0.5386 GB, free: 0.7305 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.927e-05/0.8391, allocations: 23.89 kB / 0.5387 GB, free: 0.707 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.475e-05/0.8391, allocations: 28 kB / 0.5387 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002373/0.8415, allocations: 379.6 kB / 0.5391 GB, free: 316 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.729e-05/0.8416, allocations: 35.86 kB / 0.5391 GB, free: 280 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.8436, allocations: 206.9 kB / 0.5393 GB, free: 72 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002476/0.8439, allocations: 80.02 kB / 0.5394 GB, free: 15.99 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 79 * Number of states: 0 () * Number of discrete variables: 16 (source2.medium.phase,sink2.medium.phase,source1.medium.phase,sink1.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase,valve_equalPercentage.state_b.phase,valve_equalPercentage.state_a.phase,valve_quadratic.state_b.phase,valve_quadratic.state_a.phase,valve_constant.state_b.phase,valve_constant.state_a.phase,valve_linear.state_b.phase,valve_linear.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (165): * Single equations (assignments): 165 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009107/0.8448, allocations: 410.2 kB / 0.5397 GB, free: 15.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003488/0.8452, allocations: 122.5 kB / 0.5399 GB, free: 15.46 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01279/0.858, allocations: 6.084 MB / 0.5458 GB, free: 9.355 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000116/0.8581, allocations: 83.86 kB / 0.5459 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.028e-05/0.8582, allocations: 0 / 0.5459 GB, free: 9.273 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.632e-05/0.8582, allocations: 3.984 kB / 0.5459 GB, free: 9.27 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004879/0.8631, allocations: 2.797 MB / 0.5486 GB, free: 6.441 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.991e-05/0.8632, allocations: 3.984 kB / 0.5486 GB, free: 6.438 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002004/0.8652, allocations: 291.6 kB / 0.5489 GB, free: 6.152 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.778e-05/0.8652, allocations: 8 kB / 0.5489 GB, free: 6.145 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000135/0.8654, allocations: 31.92 kB / 0.5489 GB, free: 6.113 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-05/0.8654, allocations: 11.95 kB / 0.549 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.8654, allocations: 0 / 0.549 GB, free: 6.102 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007209/0.8726, allocations: 2.967 MB / 0.5519 GB, free: 3.113 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001183/0.8739, allocations: 0.5238 MB / 0.5524 GB, free: 2.566 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002933/0.8742, allocations: 20 kB / 0.5524 GB, free: 2.547 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001494/0.8757, allocations: 127.7 kB / 0.5525 GB, free: 2.422 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002911/0.876, allocations: 104.8 kB / 0.5526 GB, free: 2.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001017/0.8761, allocations: 31.98 kB / 0.5526 GB, free: 2.289 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001358/0.8775, allocations: 0.6668 MB / 0.5533 GB, free: 1.621 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8775, allocations: 3.938 kB / 0.5533 GB, free: 1.617 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.006904/0.8844, allocations: 1.643 MB / 0.5549 GB, free: 15.97 MB / 426.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: 56 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse14.phase,$cse14.region,$cse18.phase,$cse18.region,$cse21.phase,$cse21.region,$cse22.phase,$cse22.region,$cse24.phase,$cse24.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse27.phase,$cse27.region,$cse28.phase,$cse28.region,$cse29.phase,$cse29.region,$cse31.phase,$cse31.region,$cse32.phase,$cse32.region,$cse34.phase,$cse34.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$cse38.phase,$cse38.region,source1.medium.phase,sink1.medium.phase,source2.medium.phase,sink2.medium.phase,source3.medium.phase,sink3.medium.phase,source4.medium.phase,sink4.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (120): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 24 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01598/0.9005, allocations: 4.803 MB / 0.5596 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008905/0.9094, allocations: 2.695 MB / 0.5622 GB, free: 8.562 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.486e-06/0.9095, allocations: 0 / 0.5622 GB, free: 8.562 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003637/0.9131, allocations: 1.512 MB / 0.5637 GB, free: 7.051 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005423/0.9186, allocations: 0.5757 MB / 0.5643 GB, free: 6.484 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3384/1.257, allocations: 22.66 MB / 0.5864 GB, free: 161.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002062/1.259, allocations: 1.662 MB / 0.588 GB, free: 160.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005896/1.265, allocations: 1.963 MB / 0.5899 GB, free: 160.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002028/1.267, allocations: 0.8799 MB / 0.5908 GB, free: 160.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.613e-06/1.267, allocations: 0 / 0.5908 GB, free: 160.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.166/1.433, allocations: 75.32 MB / 0.6643 GB, free: 97.98 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002552/1.434, allocations: 243.5 kB / 0.6646 GB, free: 97.67 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.069/9.502, allocations: 4 kB / 0.6646 GB, free: 97.67 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveCharacteristics_res.mat does not exist to compare? outputFormat=mat