Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") translateModel(ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001003/0.001003, allocations: 182.8 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.194/1.194, allocations: 205.2 MB / 218.9 MB, free: 9.207 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007856/0.0007857, allocations: 93.83 kB / 267.1 MB, free: 9.273 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2962/0.2962, allocations: 43.47 MB / 358.6 MB, free: 51.59 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.025e-05/2.027e-05, allocations: 0 / 425.3 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1004, allocations: 58.83 MB / 484.1 MB, free: 13.26 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.37/5.471, allocations: 2.798 GB / 3.271 GB, free: 30.37 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002366/5.471, allocations: 83.33 kB / 3.271 GB, free: 30.33 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.632/7.103, allocations: 458.9 MB / 3.719 GB, free: 59.15 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.984e-06/7.103, allocations: 0 / 3.719 GB, free: 59.15 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001091/7.103, allocations: 39.67 kB / 3.719 GB, free: 59.15 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.007822/7.111, allocations: 2.319 MB / 3.721 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.438e-05/7.111, allocations: 9.438 kB / 3.721 GB, free: 58.31 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002933/7.114, allocations: 446.3 kB / 3.722 GB, free: 58.23 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002058/7.116, allocations: 0.9838 MB / 3.722 GB, free: 57.94 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/7.116, allocations: 105.1 kB / 3.723 GB, free: 57.94 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002159/7.116, allocations: 129.1 kB / 3.723 GB, free: 57.94 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003108/7.12, allocations: 1.656 MB / 3.724 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.209e-05/7.12, allocations: 11.5 kB / 3.724 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001194/7.12, allocations: 57.69 kB / 3.724 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.954e-05/7.12, allocations: 47.77 kB / 3.724 GB, free: 57.64 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/7.122, allocations: 1.269 MB / 3.726 GB, free: 57.62 MB / 0.5261 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.008427/7.131, allocations: 7.823 MB / 3.733 GB, free: 53.16 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00205/7.133, allocations: 0.867 MB / 3.734 GB, free: 53.12 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004485/7.133, allocations: 316.8 kB / 3.734 GB, free: 53.11 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0417/7.175, allocations: 24.25 MB / 3.758 GB, free: 38.36 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.891e-05/7.175, allocations: 41.94 kB / 3.758 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=71): time 2.956e-06/7.175, allocations: 0 / 3.758 GB, free: 38.32 MB / 0.5261 GB Notification: Performance of matching and sorting (n=74): time 0.005272/7.18, allocations: 2.217 MB / 3.76 GB, free: 37.75 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.966e-05/7.18, allocations: 137.2 kB / 3.76 GB, free: 37.59 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001091/7.181, allocations: 0.8442 MB / 3.761 GB, free: 37.43 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 5.634e-05/7.181, allocations: 39.36 kB / 3.761 GB, free: 37.39 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003374/7.182, allocations: 0.6962 MB / 3.762 GB, free: 37.05 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001488/7.182, allocations: 262.6 kB / 3.762 GB, free: 36.89 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.54e-05/7.182, allocations: 26.47 kB / 3.762 GB, free: 36.89 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001341/7.182, allocations: 353.3 kB / 3.763 GB, free: 36.59 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004075/7.183, allocations: 272.8 kB / 3.763 GB, free: 36.58 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006268/7.183, allocations: 0.7177 MB / 3.764 GB, free: 36.04 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000536/7.184, allocations: 383.5 kB / 3.764 GB, free: 36.03 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/7.184, allocations: 5.344 kB / 3.764 GB, free: 36.03 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.001631/7.185, allocations: 1.161 MB / 3.765 GB, free: 35.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00169/7.187, allocations: 5.657 MB / 3.771 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/7.187, allocations: 14.16 kB / 3.771 GB, free: 30.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001188/7.188, allocations: 234.8 kB / 3.771 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009467/7.189, allocations: 286.1 kB / 3.771 GB, free: 30.01 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006874/7.19, allocations: 0.7153 MB / 3.772 GB, free: 29.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/7.191, allocations: 102.2 kB / 3.772 GB, free: 29.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000117/7.191, allocations: 67.3 kB / 3.772 GB, free: 29.48 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/7.191, allocations: 7.25 kB / 3.772 GB, free: 29.48 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001545/7.193, allocations: 1.011 MB / 3.773 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/7.193, allocations: 17.09 kB / 3.773 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008288/7.194, allocations: 167 kB / 3.773 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009258/7.195, allocations: 282.6 kB / 3.773 GB, free: 29.45 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000586/7.195, allocations: 0.696 MB / 3.774 GB, free: 28.92 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001056/7.196, allocations: 111.3 kB / 3.774 GB, free: 28.91 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.146e-05/7.196, allocations: 65.22 kB / 3.774 GB, free: 28.91 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * 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 (134): * Single equations (assignments): 133 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0002897/7.197, allocations: 180.3 kB / 3.774 GB, free: 28.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001801/7.197, allocations: 119.9 kB / 3.775 GB, free: 28.74 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/7.2, allocations: 3.035 MB / 3.778 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.671e-05/7.2, allocations: 33.19 kB / 3.778 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/7.2, allocations: 0 / 3.778 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.084e-05/7.2, allocations: 11.36 kB / 3.778 GB, free: 28.4 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004747/7.205, allocations: 4.612 MB / 3.782 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/7.205, allocations: 4.672 kB / 3.782 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006644/7.206, allocations: 165.5 kB / 3.782 GB, free: 27.87 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002062/7.208, allocations: 1.268 MB / 3.783 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.916e-05/7.208, allocations: 19.31 kB / 3.784 GB, free: 27.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001298/7.209, allocations: 1.41 MB / 3.785 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/7.209, allocations: 4.344 kB / 3.785 GB, free: 27.26 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004134/7.213, allocations: 3.239 MB / 3.788 GB, free: 26.72 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009595/7.214, allocations: 434.9 kB / 3.788 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/7.214, allocations: 24.03 kB / 3.788 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007843/7.215, allocations: 90.83 kB / 3.789 GB, free: 26.49 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001681/7.215, allocations: 73.03 kB / 3.789 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.529e-05/7.215, allocations: 32.83 kB / 3.789 GB, free: 26.48 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001235/7.217, allocations: 0.8415 MB / 3.789 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of sort global known variables: time 6.31e-07/7.217, allocations: 0 / 3.789 GB, free: 26.37 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007856/7.224, allocations: 1.671 MB / 3.791 GB, free: 26.18 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * Number of discrete variables: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse16.phase,$cse16.region,$cse17.phase,$cse17.region,$cse19.phase,$cse19.region,$cse20.phase,$cse20.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 (72): * Single equations (assignments): 65 * 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: 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.007729/7.232, allocations: 1.83 MB / 3.793 GB, free: 25.85 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002768/7.235, allocations: 1.607 MB / 3.794 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.214e-06/7.235, allocations: 3.656 kB / 3.794 GB, free: 25.82 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000896/7.236, allocations: 0.758 MB / 3.795 GB, free: 25.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002499/7.238, allocations: 457.9 kB / 3.796 GB, free: 25.79 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004159/7.243, allocations: 2.661 MB / 3.798 GB, free: 25.09 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009491/7.244, allocations: 1.403 MB / 3.8 GB, free: 24.38 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001628/7.245, allocations: 0.7414 MB / 3.8 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001927/7.245, allocations: 83.42 kB / 3.8 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of SimCode: time 1.923e-06/7.245, allocations: 0 / 3.8 GB, free: 24.36 MB / 0.5261 GB Notification: Performance of Templates: time 0.0653/7.311, allocations: 52.99 MB / 3.852 GB, free: 21.5 MB / 0.5261 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotorHeatTransfer/TestWaterPumpDCMotorHeatTransfer.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches