Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",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.01085/0.01086, allocations: 107.5 kB / 15.06 MB, free: 6.031 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.001178/0.001178, allocations: 179.2 kB / 15.95 MB, free: 5.957 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.887/1.887, allocations: 194.5 MB / 211.2 MB, free: 11.08 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.2642/0.2642, allocations: 40.04 MB / 296.5 MB, free: 6.289 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004586/0.0004587, allocations: 12 kB / 361.1 MB, free: 9.539 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1143/0.1148, allocations: 54.88 MB / 416 MB, free: 2.562 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor): time 0.404/0.5189, allocations: 39.33 MB / 455.4 MB, free: 32.94 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.03306/0.552, allocations: 18.72 MB / 474.1 MB, free: 32.29 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002325/0.5544, allocations: 45.78 kB / 474.1 MB, free: 32.27 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00367/0.5581, allocations: 0.6439 MB / 474.8 MB, free: 32.14 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04221/0.6004, allocations: 4.437 MB / 479.2 MB, free: 30.85 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01705/0.6175, allocations: 3.025 MB / 482.2 MB, free: 29.85 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005022/0.6225, allocations: 1.733 MB / 484 MB, free: 29.27 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002171/0.6248, allocations: 0.8793 MB / 484.8 MB, free: 28.93 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003538/0.6283, allocations: 0.9296 MB / 485.8 MB, free: 28.49 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.01929/0.6477, allocations: 6.604 MB / 492.4 MB, free: 27.64 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005277/0.6483, allocations: 75.94 kB / 492.5 MB, free: 27.63 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.02283/0.6711, allocations: 7.598 MB / 0.4883 GB, free: 25.96 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005914/0.6718, allocations: 266.1 kB / 0.4886 GB, free: 25.81 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008591/0.6727, allocations: 342.5 kB / 0.4889 GB, free: 25.63 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01238/0.685, allocations: 4.512 MB / 0.4933 GB, free: 24.71 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.937e-06/0.6851, allocations: 0 / 0.4933 GB, free: 24.71 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.745e-06/0.6851, allocations: 0 / 0.4933 GB, free: 24.71 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.26e-05/0.6852, allocations: 1.781 kB / 0.4933 GB, free: 24.71 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.009046/0.6942, allocations: 2.174 MB / 0.4954 GB, free: 23.34 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.89e-05/0.6943, allocations: 9.875 kB / 0.4955 GB, free: 23.34 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004818/0.6948, allocations: 193.9 kB / 0.4956 GB, free: 23.18 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003682/0.6985, allocations: 410.5 kB / 0.496 GB, free: 23.01 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002369/0.7009, allocations: 0.8996 MB / 0.4969 GB, free: 22.28 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001204/0.701, allocations: 101 kB / 0.497 GB, free: 22.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002785/0.7013, allocations: 133.7 kB / 0.4971 GB, free: 22.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004957/0.7063, allocations: 1.648 MB / 0.4987 GB, free: 21.12 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.957e-05/0.7064, allocations: 2.938 kB / 0.4987 GB, free: 21.12 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001807/0.7066, allocations: 64.45 kB / 0.4988 GB, free: 21.07 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.795e-05/0.7066, allocations: 48.66 kB / 0.4989 GB, free: 21.06 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004922/0.7116, allocations: 1.348 MB / 0.5002 GB, free: 20.43 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.01102/0.7226, allocations: 7.612 MB / 0.5076 GB, free: 13.53 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003729/0.7264, allocations: 0.918 MB / 0.5085 GB, free: 13.09 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06003/0.7864, allocations: 18.61 MB / 0.5267 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.518e-05/0.7865, allocations: 51.06 kB / 0.5267 GB, free: 9.453 MB / 394.7 MB Notification: Performance of pre-optimization done (n=68): time 3.025e-06/0.7865, allocations: 0 / 0.5267 GB, free: 9.453 MB / 394.7 MB Notification: Performance of matching and sorting (n=92): time 0.06221/0.8488, allocations: 6.426 MB / 0.533 GB, free: 2.902 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2875/1.136, allocations: 48.46 MB / 0.5803 GB, free: 1.66 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001846/1.138, allocations: 0.8986 MB / 0.5812 GB, free: 0.7422 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002141/1.138, allocations: 45.7 kB / 0.5812 GB, free: 0.6914 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007183/1.139, allocations: 0.7005 MB / 0.5819 GB, free: 15.98 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004394/1.14, allocations: 323.3 kB / 0.5822 GB, free: 15.66 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/1.14, allocations: 28 kB / 0.5823 GB, free: 15.63 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001768/1.14, allocations: 357.9 kB / 0.5826 GB, free: 15.28 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001821/1.142, allocations: 479.8 kB / 0.5831 GB, free: 14.81 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002192/1.144, allocations: 0.9645 MB / 0.584 GB, free: 13.61 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002315/1.146, allocations: 0.5963 MB / 0.5846 GB, free: 13.02 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.235e-05/1.146, allocations: 4 kB / 0.5846 GB, free: 13.02 MB / 458.7 MB Notification: Performance of matching and sorting (n=168) (initialization): time 0.006449/1.153, allocations: 1.787 MB / 0.5863 GB, free: 11.21 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002889/1.156, allocations: 6.364 MB / 0.5925 GB, free: 4.352 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.944e-05/1.156, allocations: 16 kB / 0.5926 GB, free: 4.336 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01077/1.167, allocations: 1.176 MB / 0.5937 GB, free: 3.152 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001886/1.169, allocations: 299.5 kB / 0.594 GB, free: 2.859 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004389/1.173, allocations: 1.767 MB / 0.5957 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002076/1.175, allocations: 115.7 kB / 0.5958 GB, free: 0.9297 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000194/1.175, allocations: 79.97 kB / 0.5959 GB, free: 0.8516 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.16e-05/1.175, allocations: 4 kB / 0.5959 GB, free: 0.8477 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007254/1.183, allocations: 1.821 MB / 0.5977 GB, free: 15.02 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.63e-05/1.183, allocations: 20 kB / 0.5977 GB, free: 15 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006389/1.189, allocations: 0.7871 MB / 0.5985 GB, free: 14.21 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001801/1.191, allocations: 307.5 kB / 0.5988 GB, free: 13.91 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004189/1.195, allocations: 1.733 MB / 0.6005 GB, free: 12.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001943/1.197, allocations: 107.9 kB / 0.6006 GB, free: 12.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001955/1.197, allocations: 75.97 kB / 0.6006 GB, free: 11.95 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 73 * Number of states: 0 () * Number of discrete variables: 6 (Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase,Valve.state_b.phase,Valve.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 (144): * Single equations (assignments): 142 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 10,2 12} Notification: Performance of prepare postOptimizeDAE: time 0.001032/1.198, allocations: 423.4 kB / 0.601 GB, free: 11.52 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002817/1.199, allocations: 122.6 kB / 0.6012 GB, free: 11.4 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.21, allocations: 3.887 MB / 0.605 GB, free: 7.496 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.25e-05/1.21, allocations: 39.94 kB / 0.605 GB, free: 7.457 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.21, allocations: 7.938 kB / 0.605 GB, free: 7.449 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.804e-05/1.21, allocations: 3.984 kB / 0.605 GB, free: 7.445 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01501/1.225, allocations: 5.931 MB / 0.6108 GB, free: 1.438 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.247e-05/1.225, allocations: 4 kB / 0.6108 GB, free: 1.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001144/1.226, allocations: 164 kB / 0.611 GB, free: 1.273 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.009061/1.235, allocations: 1.739 MB / 0.6127 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001768/1.236, allocations: 23.98 kB / 0.6127 GB, free: 15.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005561/1.241, allocations: 2.467 MB / 0.6151 GB, free: 12.98 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.4198/1.661, allocations: 25.28 MB / 0.6398 GB, free: 134.4 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01468/1.676, allocations: 3.955 MB / 0.6436 GB, free: 132.7 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001232/1.677, allocations: 395.8 kB / 0.644 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003448/1.677, allocations: 18.16 kB / 0.644 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001838/1.679, allocations: 100 kB / 0.6441 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002873/1.68, allocations: 73.22 kB / 0.6442 GB, free: 132.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.68, allocations: 37.66 kB / 0.6442 GB, free: 132.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001605/1.681, allocations: 0.6688 MB / 0.6449 GB, free: 132.2 MB / 490.7 MB Notification: Performance of sort global known variables: time 6.31e-07/1.681, allocations: 0 / 0.6449 GB, free: 132.2 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.02154/1.703, allocations: 3.923 MB / 0.6487 GB, free: 132 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 3 ($STATESET1.x,motor.inertiaRotor.phi,motor.la.i) * Number of discrete variables: 21 ($cse8.phase,$cse8.region,$cse10.phase,$cse10.region,$cse11.region3boundary,$cse12.region3boundary,$cse13.phase,$cse13.region,$cse14.phase,$cse14.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse21.phase,$cse21.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (74): * Single equations (assignments): 66 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.06786/1.771, allocations: 7.192 MB / 0.6557 GB, free: 129.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.01359/1.785, allocations: 2.446 MB / 0.6581 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.679e-05/1.785, allocations: 0 / 0.6581 GB, free: 128.4 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005378/1.79, allocations: 1.135 MB / 0.6592 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0051/1.795, allocations: 407.2 kB / 0.6596 GB, free: 127.9 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03549/1.831, allocations: 17.97 MB / 0.6772 GB, free: 112.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002224/1.833, allocations: 1.433 MB / 0.6786 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.004263/1.837, allocations: 0.7425 MB / 0.6793 GB, free: 111.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002179/1.84, allocations: 0.6985 MB / 0.68 GB, free: 111.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.954e-06/1.84, allocations: 0 / 0.68 GB, free: 111.3 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8085/2.648, allocations: 189.4 MB / 0.865 GB, free: 40.23 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000226/2.648, allocations: 295.9 kB / 0.8652 GB, free: 39.85 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 18.5/21.15, allocations: 0 / 0.8652 GB, free: 39.85 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat