Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package ModelicaTest with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaTest 3.2.2/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_Fluid_TestComponents_Machines_TestWaterPumpDCMotor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.633/2.633, allocations: 235 MB / 248.1 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.546e-05/3.555e-05, allocations: 7.984 kB / 309.8 MB, free: 1.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.411/0.4111, allocations: 54.86 MB / 364.6 MB, free: 5.531 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.135/8.546, allocations: 2.628 GB / 2.984 GB, free: 120.1 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003187/8.547, allocations: 85.08 kB / 2.984 GB, free: 120.1 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.241/10.79, allocations: 455.6 MB / 3.429 GB, free: 46.89 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.064e-06/10.79, allocations: 0 / 3.429 GB, free: 46.89 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001176/10.79, allocations: 35.22 kB / 3.429 GB, free: 46.88 MB / 490.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.009563/10.8, allocations: 2.296 MB / 3.432 GB, free: 45.55 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.571e-05/10.8, allocations: 10.19 kB / 3.432 GB, free: 45.55 MB / 490.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004766/10.8, allocations: 191.7 kB / 3.432 GB, free: 45.43 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004272/10.8, allocations: 438 kB / 3.432 GB, free: 45.33 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/10.8, allocations: 1.004 MB / 3.433 GB, free: 44.73 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/10.81, allocations: 109.2 kB / 3.433 GB, free: 44.67 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002953/10.81, allocations: 127.4 kB / 3.433 GB, free: 44.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004709/10.81, allocations: 1.624 MB / 3.435 GB, free: 43.85 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.473e-05/10.81, allocations: 7 kB / 3.435 GB, free: 43.84 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/10.81, allocations: 55.22 kB / 3.435 GB, free: 43.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/10.81, allocations: 51.44 kB / 3.435 GB, free: 43.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004113/10.81, allocations: 1.238 MB / 3.436 GB, free: 43.39 MB / 490.7 MB Warning: The model contains alias variables with conflicting start and/or 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.01275/10.83, allocations: 7.668 MB / 3.444 GB, free: 37.52 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003053/10.83, allocations: 0.8402 MB / 3.445 GB, free: 37.24 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006757/10.83, allocations: 296.5 kB / 3.445 GB, free: 37.12 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05432/10.89, allocations: 18.43 MB / 3.463 GB, free: 21 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.516e-05/10.89, allocations: 47.06 kB / 3.463 GB, free: 20.95 MB / 490.7 MB Notification: Performance of pre-optimization done (n=68): time 3.196e-06/10.89, allocations: 0 / 3.463 GB, free: 20.95 MB / 490.7 MB Notification: Performance of matching and sorting (n=92): time 0.05282/10.94, allocations: 5.726 MB / 3.468 GB, free: 15.97 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.5926/11.53, allocations: 43.26 MB / 3.511 GB, free: 50.68 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001756/11.53, allocations: 0.7729 MB / 3.511 GB, free: 50.54 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002511/11.53, allocations: 42.17 kB / 3.511 GB, free: 50.51 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005214/11.53, allocations: 0.7161 MB / 3.512 GB, free: 50.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000381/11.53, allocations: 319 kB / 3.512 GB, free: 50.13 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001272/11.53, allocations: 28.28 kB / 3.513 GB, free: 50.13 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001133/11.53, allocations: 366.7 kB / 3.513 GB, free: 49.82 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001163/11.54, allocations: 388.7 kB / 3.513 GB, free: 49.82 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/11.54, allocations: 0.8885 MB / 3.514 GB, free: 49.2 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001525/11.54, allocations: 0.5151 MB / 3.515 GB, free: 49.19 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/11.54, allocations: 4.406 kB / 3.515 GB, free: 49.19 MB / 0.4948 GB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004614/11.54, allocations: 1.524 MB / 3.516 GB, free: 49.09 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/11.54, allocations: 6.356 MB / 3.522 GB, free: 42.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.127e-05/11.55, allocations: 15.78 kB / 3.522 GB, free: 42.48 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008692/11.55, allocations: 0.9796 MB / 3.523 GB, free: 42.46 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002591/11.56, allocations: 303 kB / 3.524 GB, free: 42.46 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004439/11.56, allocations: 1.648 MB / 3.525 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003553/11.56, allocations: 114.6 kB / 3.525 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003581/11.56, allocations: 84.39 kB / 3.525 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.132e-05/11.56, allocations: 3.688 kB / 3.525 GB, free: 41.42 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008148/11.57, allocations: 1.601 MB / 3.527 GB, free: 41.38 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-05/11.57, allocations: 18.31 kB / 3.527 GB, free: 41.38 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005832/11.58, allocations: 0.6269 MB / 3.528 GB, free: 41.35 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00283/11.58, allocations: 306.4 kB / 3.528 GB, free: 41.35 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004184/11.59, allocations: 1.606 MB / 3.529 GB, free: 40.3 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002467/11.59, allocations: 117.2 kB / 3.53 GB, free: 40.3 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002582/11.59, allocations: 80.16 kB / 3.53 GB, free: 40.3 MB / 0.4948 GB 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (145): * Single equations (assignments): 143 * 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.0005808/11.59, allocations: 192.6 kB / 3.53 GB, free: 40.19 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005141/11.59, allocations: 120.6 kB / 3.53 GB, free: 40.13 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01351/11.6, allocations: 3.96 MB / 3.534 GB, free: 39.85 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.93e-05/11.6, allocations: 36.36 kB / 3.534 GB, free: 39.85 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.123e-06/11.6, allocations: 3.781 kB / 3.534 GB, free: 39.85 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.71e-05/11.6, allocations: 3.844 kB / 3.534 GB, free: 39.85 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01781/11.62, allocations: 5.828 MB / 3.54 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.42e-05/11.62, allocations: 0 / 3.54 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001631/11.62, allocations: 157.7 kB / 3.54 GB, free: 39.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01009/11.63, allocations: 1.824 MB / 3.541 GB, free: 39.25 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002536/11.63, allocations: 27.19 kB / 3.541 GB, free: 39.25 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003962/11.64, allocations: 2.44 MB / 3.544 GB, free: 38.17 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.04838/11.69, allocations: 18.4 MB / 3.562 GB, free: 35.4 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008293/11.69, allocations: 3.81 MB / 3.566 GB, free: 34.95 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001054/11.7, allocations: 391.2 kB / 3.566 GB, free: 34.74 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002823/11.7, allocations: 27.5 kB / 3.566 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001441/11.7, allocations: 95.06 kB / 3.566 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002136/11.7, allocations: 77.56 kB / 3.566 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001073/11.7, allocations: 41.84 kB / 3.566 GB, free: 34.73 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001405/11.7, allocations: 0.6542 MB / 3.567 GB, free: 34.61 MB / 0.4948 GB Notification: Performance of sort global known variables: time 6.41e-07/11.7, allocations: 6.375 kB / 3.567 GB, free: 34.61 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01899/11.72, allocations: 3.989 MB / 3.571 GB, free: 34.48 MB / 0.4948 GB 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 ($cse9.phase,$cse9.region,$cse11.phase,$cse11.region,$cse12.region3boundary,$cse13.region3boundary,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,Source.medium.phase,Sink.medium.phase,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 67 * 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.04417/11.76, allocations: 7.469 MB / 3.578 GB, free: 48.94 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007262/11.77, allocations: 2.208 MB / 3.58 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/11.77, allocations: 3.594 kB / 3.58 GB, free: 48.91 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002758/11.77, allocations: 1.06 MB / 3.581 GB, free: 48.88 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003672/11.78, allocations: 399.3 kB / 3.582 GB, free: 48.86 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2553/12.03, allocations: 79.6 MB / 3.659 GB, free: 27.51 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001258/12.03, allocations: 1.431 MB / 3.661 GB, free: 26.32 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001552/12.03, allocations: 0.722 MB / 3.661 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of SimCode: time 2.374e-06/12.03, allocations: 0 / 3.661 GB, free: 25.66 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 7.276/19.31, allocations: 124.3 MB / 3.783 GB, free: 41.63 MB / 0.5105 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat does not exist to compare? outputFormat=mat