Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001988/0.001988, allocations: 177.8 kB / 8.36 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.016/2.016, allocations: 205.3 MB / 214.1 MB, free: 14.12 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001155/0.001155, allocations: 90.39 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2974/0.2974, allocations: 43.49 MB / 353.6 MB, free: 2.254 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.231e-05, allocations: 224 / 418.2 MB, free: 41.02 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3976/0.3976, allocations: 58.86 MB / 477.1 MB, free: 5.262 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 8.536/8.934, allocations: 2.797 GB / 3.263 GB, free: 95.44 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000306/8.934, allocations: 87.7 kB / 3.263 GB, free: 95.44 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 2.342/11.28, allocations: 453.7 MB / 3.706 GB, free: 62.32 MB / 0.5108 GB Notification: Performance of FrontEnd: time 1.743e-06/11.28, allocations: 0 / 3.706 GB, free: 62.32 MB / 0.5108 GB Notification: Performance of Transformations before backend: time 0.0001138/11.28, allocations: 36.39 kB / 3.706 GB, free: 62.32 MB / 0.5108 GB 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.008951/11.29, allocations: 2.298 MB / 3.708 GB, free: 61.19 MB / 0.5108 GB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/11.29, allocations: 7.719 kB / 3.708 GB, free: 61.19 MB / 0.5108 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004154/11.29, allocations: 442.9 kB / 3.708 GB, free: 61.1 MB / 0.5108 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002898/11.29, allocations: 0.9723 MB / 3.709 GB, free: 60.77 MB / 0.5108 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.089e-05/11.29, allocations: 45.81 kB / 3.709 GB, free: 60.77 MB / 0.5108 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002338/11.29, allocations: 83.25 kB / 3.709 GB, free: 60.77 MB / 0.5108 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002464/11.3, allocations: 0.9327 MB / 3.71 GB, free: 60.77 MB / 0.5108 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00264/11.3, allocations: 1.22 MB / 3.712 GB, free: 60.48 MB / 0.5108 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.827e-05/11.3, allocations: 13.2 kB / 3.712 GB, free: 60.48 MB / 0.5108 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001588/11.3, allocations: 3.875 kB / 3.712 GB, free: 60.48 MB / 0.5108 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.973e-05/11.3, allocations: 45.16 kB / 3.712 GB, free: 60.47 MB / 0.5108 GB 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.2546/11.55, allocations: 86.75 MB / 3.796 GB, free: 22.52 MB / 0.5265 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001411/11.55, allocations: 0.5014 MB / 3.797 GB, free: 22.49 MB / 0.5265 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000571/11.55, allocations: 253.3 kB / 3.797 GB, free: 22.48 MB / 0.5265 GB Notification: Performance of preOpt evalFunc (simulation): time 0.05303/11.61, allocations: 16.64 MB / 3.813 GB, free: 27.66 MB / 0.5421 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.044e-05/11.61, allocations: 43.31 kB / 3.813 GB, free: 27.62 MB / 0.5421 GB Notification: Performance of pre-optimization done (n=60): time 3.687e-06/11.61, allocations: 0 / 3.813 GB, free: 27.62 MB / 0.5421 GB Notification: Performance of matching and sorting (n=63): time 0.009319/11.62, allocations: 2.009 MB / 3.815 GB, free: 27.07 MB / 0.5421 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001038/11.62, allocations: 135.6 kB / 3.815 GB, free: 26.92 MB / 0.5421 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001487/11.62, allocations: 0.7351 MB / 3.816 GB, free: 26.75 MB / 0.5421 GB Notification: Performance of collectPreVariables (initialization): time 0.0002049/11.62, allocations: 25.7 kB / 3.816 GB, free: 26.72 MB / 0.5421 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005012/11.62, allocations: 0.7396 MB / 3.817 GB, free: 26.27 MB / 0.5421 GB Notification: Performance of collectInitialBindings (initialization): time 0.000226/11.62, allocations: 217 kB / 3.817 GB, free: 26.13 MB / 0.5421 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.844e-05/11.62, allocations: 0 / 3.817 GB, free: 26.13 MB / 0.5421 GB Notification: Performance of setup shared object (initialization): time 0.0001803/11.62, allocations: 355.9 kB / 3.818 GB, free: 25.82 MB / 0.5421 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006221/11.62, allocations: 255.8 kB / 3.818 GB, free: 25.82 MB / 0.5421 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008678/11.62, allocations: 0.6821 MB / 3.818 GB, free: 25.25 MB / 0.5421 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002151/11.62, allocations: 455.6 kB / 3.819 GB, free: 25.22 MB / 0.5421 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.598e-05/11.62, allocations: 7.547 kB / 3.819 GB, free: 25.21 MB / 0.5421 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.003912/11.63, allocations: 1.072 MB / 3.82 GB, free: 25.12 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 0.002328/11.63, allocations: 5.743 MB / 3.826 GB, free: 19.09 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-05/11.63, allocations: 18.12 kB / 3.826 GB, free: 19.09 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001291/11.63, allocations: 196.5 kB / 3.826 GB, free: 19.08 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00173/11.63, allocations: 263.2 kB / 3.826 GB, free: 19.08 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001787/11.64, allocations: 0.8376 MB / 3.827 GB, free: 18.55 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002218/11.64, allocations: 115.4 kB / 3.827 GB, free: 18.54 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002362/11.64, allocations: 65.59 kB / 3.827 GB, free: 18.54 MB / 0.5421 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/11.64, allocations: 3.688 kB / 3.827 GB, free: 18.54 MB / 0.5421 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003961/11.64, allocations: 0.9522 MB / 3.828 GB, free: 18.5 MB / 0.5421 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.694e-05/11.64, allocations: 17.53 kB / 3.828 GB, free: 18.5 MB / 0.5421 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001232/11.64, allocations: 163.7 kB / 3.828 GB, free: 18.48 MB / 0.5421 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/11.64, allocations: 276.2 kB / 3.828 GB, free: 18.48 MB / 0.5421 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001523/11.65, allocations: 0.7375 MB / 3.829 GB, free: 17.96 MB / 0.5421 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001519/11.65, allocations: 91.81 kB / 3.829 GB, free: 17.95 MB / 0.5421 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/11.65, allocations: 61.92 kB / 3.829 GB, free: 17.95 MB / 0.5421 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 66 * Number of states: 0 () * Number of discrete variables: 6 (pump.heatTransfer.states[1].phase,Source.medium.phase,Sink.medium.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 (128): * Single equations (assignments): 127 * 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 {2 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003762/11.65, allocations: 144.8 kB / 3.829 GB, free: 17.83 MB / 0.5421 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003322/11.65, allocations: 106.6 kB / 3.829 GB, free: 17.78 MB / 0.5421 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005435/11.65, allocations: 2.214 MB / 3.832 GB, free: 17.56 MB / 0.5421 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.085e-05/11.65, allocations: 19.7 kB / 3.832 GB, free: 17.56 MB / 0.5421 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.029e-05/11.65, allocations: 6.688 kB / 3.832 GB, free: 17.56 MB / 0.5421 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-05/11.65, allocations: 7.75 kB / 3.832 GB, free: 17.55 MB / 0.5421 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007307/11.66, allocations: 3.171 MB / 3.835 GB, free: 33.11 MB / 0.5577 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-05/11.66, allocations: 0 / 3.835 GB, free: 33.11 MB / 0.5577 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000806/11.66, allocations: 105.8 kB / 3.835 GB, free: 33.11 MB / 0.5577 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002199/11.66, allocations: 1.125 MB / 3.836 GB, free: 32.41 MB / 0.5577 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001238/11.67, allocations: 7.375 kB / 3.836 GB, free: 32.41 MB / 0.5577 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002443/11.67, allocations: 1.653 MB / 3.838 GB, free: 31.34 MB / 0.5577 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.14e-05/11.67, allocations: 8.141 kB / 3.838 GB, free: 31.34 MB / 0.5577 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004365/11.67, allocations: 2.321 MB / 3.84 GB, free: 29.94 MB / 0.5577 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009404/11.67, allocations: 328.7 kB / 3.84 GB, free: 29.69 MB / 0.5577 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002425/11.67, allocations: 7.875 kB / 3.84 GB, free: 29.69 MB / 0.5577 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/11.67, allocations: 66.75 kB / 3.84 GB, free: 29.64 MB / 0.5577 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/11.67, allocations: 50.77 kB / 3.84 GB, free: 29.62 MB / 0.5577 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.895e-05/11.67, allocations: 26.64 kB / 3.84 GB, free: 29.6 MB / 0.5577 GB Notification: Performance of sorting global known variables: time 0.001356/11.68, allocations: 0.6663 MB / 3.841 GB, free: 29.18 MB / 0.5577 GB Notification: Performance of sort global known variables: time 6.31e-07/11.68, allocations: 0 / 3.841 GB, free: 29.18 MB / 0.5577 GB Notification: Performance of remove unused functions: time 0.007834/11.68, allocations: 1.569 MB / 3.842 GB, free: 27.72 MB / 0.5577 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * Number of discrete variables: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse11.phase,$cse11.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 {2 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.01087/11.69, allocations: 1.922 MB / 3.844 GB, free: 26.21 MB / 0.5577 GB Notification: Performance of simCode: created initialization part: time 0.003991/11.7, allocations: 1.3 MB / 3.846 GB, free: 25.38 MB / 0.5577 GB Notification: Performance of simCode: created event and clocks part: time 1.064e-05/11.7, allocations: 4.25 kB / 3.846 GB, free: 25.37 MB / 0.5577 GB Notification: Performance of simCode: created simulation system equations: time 0.001178/11.7, allocations: 0.4956 MB / 3.846 GB, free: 25.1 MB / 0.5577 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003204/11.7, allocations: 347.4 kB / 3.846 GB, free: 24.91 MB / 0.5577 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005857/11.71, allocations: 2.082 MB / 3.848 GB, free: 23.23 MB / 0.5577 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001209/11.71, allocations: 1.275 MB / 3.85 GB, free: 22.15 MB / 0.5577 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000554/11.71, allocations: 90.8 kB / 3.85 GB, free: 22.07 MB / 0.5577 GB Notification: Performance of SimCode: time 1.573e-06/11.71, allocations: 0 / 3.85 GB, free: 22.07 MB / 0.5577 GB Notification: Performance of Templates: time 0.4771/12.19, allocations: 45.96 MB / 3.895 GB, free: 104.6 MB / 0.5577 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotor/TestWaterPumpDCMotor.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches