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.TestValveLinear.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.TestValveLinear,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Valves_TestValveLinear",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.01097/0.01098, allocations: 104.9 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.1.mo): time 0.001273/0.001273, allocations: 168.7 kB / 15.93 MB, free: 5.527 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.666/1.666, allocations: 170.9 MB / 187.6 MB, free: 1 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.2558/0.2558, allocations: 38.09 MB / 265.1 MB, free: 3.973 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006264/0.0006266, allocations: 12 kB / 323.6 MB, free: 29.64 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09314/0.09382, allocations: 48.71 MB / 372.3 MB, free: 12.85 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.03997/0.1338, allocations: 23.49 MB / 395.8 MB, free: 5.301 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.02174/0.1556, allocations: 11.26 MB / 407.1 MB, free: 10.02 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000535/0.1562, allocations: 15.88 kB / 407.1 MB, free: 10 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009335/0.1572, allocations: 203.1 kB / 407.3 MB, free: 9.805 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01175/0.169, allocations: 2.801 MB / 410.1 MB, free: 6.996 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007903/0.1769, allocations: 1.862 MB / 411.9 MB, free: 5.129 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.001255/0.1782, allocations: 0.5353 MB / 412.5 MB, free: 4.59 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004983/0.1787, allocations: 205 kB / 412.7 MB, free: 4.383 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001219/0.1799, allocations: 402.6 kB / 413.1 MB, free: 3.988 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003746/0.1803, allocations: 199.2 kB / 413.3 MB, free: 3.793 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 6.329e-05/0.1804, allocations: 16 kB / 413.3 MB, free: 3.777 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01959/0.2, allocations: 6.906 MB / 420.2 MB, free: 12.86 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002148/0.2003, allocations: 75.72 kB / 420.2 MB, free: 12.79 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001938/0.2005, allocations: 101.5 kB / 420.3 MB, free: 12.68 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007984/0.2085, allocations: 2.9 MB / 423.2 MB, free: 9.777 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.2085, allocations: 4 kB / 423.3 MB, free: 9.773 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.026e-06/0.2086, allocations: 4 kB / 423.3 MB, free: 9.77 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.306e-06/0.2086, allocations: 0 / 423.3 MB, free: 9.77 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004397/0.213, allocations: 1.165 MB / 424.4 MB, free: 8.555 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.391e-05/0.2131, allocations: 12.03 kB / 424.4 MB, free: 8.543 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001333/0.2132, allocations: 58.55 kB / 424.5 MB, free: 8.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002444/0.2157, allocations: 219.2 kB / 424.7 MB, free: 8.262 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007981/0.2165, allocations: 366.1 kB / 425.1 MB, free: 7.867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.382e-05/0.2166, allocations: 28.61 kB / 425.1 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7e-05/0.2166, allocations: 28 kB / 425.1 MB, free: 7.812 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002547/0.2192, allocations: 0.6134 MB / 425.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.2193, allocations: 0 / 425.7 MB, free: 7.16 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.815e-05/0.2193, allocations: 15.94 kB / 425.7 MB, free: 7.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.418e-05/0.2194, allocations: 8 kB / 425.8 MB, free: 7.137 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002881/0.2223, allocations: 0.5836 MB / 426.3 MB, free: 6.551 MB / 330.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.004391/0.2267, allocations: 2.566 MB / 428.9 MB, free: 3.746 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002594/0.2293, allocations: 490.2 kB / 429.4 MB, free: 3.258 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.4487/0.6781, allocations: 51.96 MB / 481.3 MB, free: 19.42 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.6781, allocations: 34.56 kB / 481.4 MB, free: 19.38 MB / 330.7 MB Notification: Performance of pre-optimization done (n=25): time 3.106e-06/0.6781, allocations: 5.906 kB / 481.4 MB, free: 19.38 MB / 330.7 MB Notification: Performance of matching and sorting (n=25): time 0.004235/0.6824, allocations: 0.8682 MB / 482.2 MB, free: 18.52 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/0.6825, allocations: 106.8 kB / 482.3 MB, free: 18.39 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000365/0.6829, allocations: 282.3 kB / 482.6 MB, free: 18.11 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 4.262e-05/0.6829, allocations: 33.7 kB / 482.7 MB, free: 18.07 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000146/0.6831, allocations: 221.9 kB / 482.9 MB, free: 17.87 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.537e-05/0.6832, allocations: 84.11 kB / 483 MB, free: 17.79 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-05/0.6832, allocations: 9.594 kB / 483 MB, free: 17.78 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 7.98e-05/0.6833, allocations: 342.8 kB / 483.3 MB, free: 17.43 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007041/0.684, allocations: 164.5 kB / 483.5 MB, free: 17.27 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000762/0.6848, allocations: 292.9 kB / 483.7 MB, free: 16.93 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007332/0.6856, allocations: 191.2 kB / 483.9 MB, free: 16.75 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.6856, allocations: 0 / 483.9 MB, free: 16.75 MB / 330.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001781/0.6874, allocations: 0.4974 MB / 484.4 MB, free: 16.26 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6874, allocations: 8 kB / 484.4 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.6874, allocations: 4 kB / 484.4 MB, free: 16.25 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.328e-05/0.6875, allocations: 4 kB / 484.4 MB, free: 16.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006794/0.6882, allocations: 108.3 kB / 484.6 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.497e-05/0.6882, allocations: 15.92 kB / 484.6 MB, free: 16.12 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000564/0.6888, allocations: 63.72 kB / 484.6 MB, free: 16.06 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.986e-05/0.6888, allocations: 16 kB / 484.6 MB, free: 16.04 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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.0002437/0.6891, allocations: 165.6 kB / 484.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.576e-05/0.6892, allocations: 33.34 kB / 484.8 MB, free: 15.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003401/0.6926, allocations: 1.953 MB / 486.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.531e-05/0.6927, allocations: 31.94 kB / 486.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.113e-06/0.6927, allocations: 0 / 486.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.645e-06/0.6927, allocations: 0 / 486.8 MB, free: 13.86 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001216/0.6939, allocations: 0.9945 MB / 487.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.694, allocations: 4 kB / 487.8 MB, free: 12.82 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006003/0.6946, allocations: 83.94 kB / 487.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/0.6946, allocations: 3.25 kB / 487.9 MB, free: 12.74 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.914e-05/0.6946, allocations: 11.94 kB / 487.9 MB, free: 12.73 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.6946, allocations: 4 kB / 487.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/0.6946, allocations: 4 kB / 487.9 MB, free: 12.72 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002127/0.6968, allocations: 1.127 MB / 489.1 MB, free: 11.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001909/0.697, allocations: 203.6 kB / 489.3 MB, free: 11.36 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.873e-05/0.6971, allocations: 7.984 kB / 489.3 MB, free: 11.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005263/0.6976, allocations: 51.84 kB / 489.3 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.6978, allocations: 31.95 kB / 489.3 MB, free: 11.27 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.812e-05/0.6978, allocations: 11.98 kB / 489.4 MB, free: 11.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003519/0.6982, allocations: 259.1 kB / 489.6 MB, free: 11 MB / 330.7 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6982, allocations: 0 / 489.6 MB, free: 11 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00329/0.7015, allocations: 0.9877 MB / 490.6 MB, free: 10.09 MB / 330.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: 18 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.009035/0.7106, allocations: 2.739 MB / 493.3 MB, free: 7.496 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001971/0.7126, allocations: 0.6499 MB / 494 MB, free: 6.844 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.7126, allocations: 3.938 kB / 494 MB, free: 6.84 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001021/0.7137, allocations: 0.5284 MB / 494.5 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001562/0.7152, allocations: 181 kB / 494.7 MB, free: 6.145 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008853/0.7241, allocations: 5.995 MB / 0.489 GB, free: 80 kB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006691/0.7248, allocations: 0.9797 MB / 0.4899 GB, free: 15.07 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0008367/0.7257, allocations: 264.2 kB / 0.4902 GB, free: 14.81 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004669/0.7262, allocations: 255.3 kB / 0.4904 GB, free: 14.56 MB / 346.7 MB Notification: Performance of SimCode: time 9.52e-07/0.7262, allocations: 0 / 0.4904 GB, free: 14.56 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1134/0.8396, allocations: 45.24 MB / 0.5346 GB, free: 1.422 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003359/0.84, allocations: 237.3 kB / 0.5348 GB, free: 1.18 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.983/6.823, allocations: 0 / 0.5348 GB, free: 1.18 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear_res.mat does not exist to compare? outputFormat=mat