Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_cpp_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_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 195.5 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.435/1.435, allocations: 226.5 MB / 244.1 MB, free: 8.098 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008722/0.0008725, allocations: 106.7 kB / 296.1 MB, free: 6.883 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3542/0.3542, allocations: 44.83 MB / 393 MB, free: 35.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002752/0.0002752, allocations: 11.98 kB / 465.9 MB, free: 12.73 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3632/0.3635, allocations: 62.96 MB / 0.5165 GB, free: 37.05 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.256/6.62, allocations: 2.805 GB / 3.322 GB, free: 167.4 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002338/6.62, allocations: 91.36 kB / 3.322 GB, free: 167.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.675/8.295, allocations: 445 MB / 3.756 GB, free: 66.58 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.234e-06/8.295, allocations: 0 / 3.756 GB, free: 66.58 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002207/8.295, allocations: 31.91 kB / 3.756 GB, free: 66.58 MB / 0.5417 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.01195/8.307, allocations: 2.479 MB / 3.759 GB, free: 65.36 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/8.307, allocations: 7.594 kB / 3.759 GB, free: 65.36 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003916/8.311, allocations: 449.1 kB / 3.759 GB, free: 65.28 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003249/8.315, allocations: 1.015 MB / 3.76 GB, free: 64.92 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001824/8.315, allocations: 104.6 kB / 3.76 GB, free: 64.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000575/8.315, allocations: 136.6 kB / 3.76 GB, free: 64.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005535/8.321, allocations: 1.702 MB / 3.762 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000104/8.321, allocations: 7.25 kB / 3.762 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/8.321, allocations: 54.12 kB / 3.762 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.31e-05/8.322, allocations: 52.62 kB / 3.762 GB, free: 64.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004344/8.326, allocations: 1.381 MB / 3.763 GB, free: 64.59 MB / 0.5417 GB 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.01299/8.339, allocations: 7.823 MB / 3.771 GB, free: 60.1 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002857/8.342, allocations: 0.949 MB / 3.772 GB, free: 60.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007599/8.343, allocations: 394.6 kB / 3.772 GB, free: 60.05 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04369/8.386, allocations: 26.73 MB / 3.799 GB, free: 42.68 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.116e-05/8.386, allocations: 40.16 kB / 3.799 GB, free: 42.64 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=71): time 3.247e-06/8.386, allocations: 0 / 3.799 GB, free: 42.64 MB / 0.5417 GB Notification: Performance of matching and sorting (n=74): time 0.01072/8.397, allocations: 3.029 MB / 3.802 GB, free: 41.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.766e-05/8.397, allocations: 140 kB / 3.802 GB, free: 41.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001889/8.399, allocations: 0.9861 MB / 3.803 GB, free: 41.65 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001159/8.399, allocations: 39.8 kB / 3.803 GB, free: 41.62 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005956/8.4, allocations: 0.6963 MB / 3.803 GB, free: 41.27 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003366/8.4, allocations: 263.6 kB / 3.804 GB, free: 41.11 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.933e-05/8.4, allocations: 19.41 kB / 3.804 GB, free: 41.11 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001657/8.401, allocations: 358 kB / 3.804 GB, free: 40.8 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008571/8.401, allocations: 341.3 kB / 3.804 GB, free: 40.8 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001208/8.403, allocations: 0.7868 MB / 3.805 GB, free: 40.25 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002056/8.405, allocations: 1.168 MB / 3.806 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.326e-05/8.405, allocations: 4.469 kB / 3.806 GB, free: 39.73 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.00326/8.408, allocations: 1.308 MB / 3.807 GB, free: 39.62 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003892/8.408, allocations: 0.5041 MB / 3.808 GB, free: 39.02 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.914e-05/8.409, allocations: 14.94 kB / 3.808 GB, free: 39.02 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001511/8.41, allocations: 280 kB / 3.808 GB, free: 39.01 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009167/8.411, allocations: 289.9 kB / 3.809 GB, free: 39.01 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008902/8.412, allocations: 0.7526 MB / 3.809 GB, free: 38.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00142/8.413, allocations: 110.2 kB / 3.809 GB, free: 38.48 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/8.413, allocations: 63 kB / 3.809 GB, free: 38.48 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.016e-05/8.413, allocations: 3.469 kB / 3.809 GB, free: 38.48 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002375/8.416, allocations: 1.171 MB / 3.811 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.637e-05/8.416, allocations: 14.66 kB / 3.811 GB, free: 38.46 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/8.417, allocations: 192.5 kB / 3.811 GB, free: 38.45 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009069/8.418, allocations: 287.5 kB / 3.811 GB, free: 38.45 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000821/8.419, allocations: 0.742 MB / 3.812 GB, free: 37.92 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001364/8.42, allocations: 104.5 kB / 3.812 GB, free: 37.91 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001277/8.42, allocations: 64.25 kB / 3.812 GB, free: 37.91 MB / 0.5417 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 () * Number of clocked 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.001044/8.421, allocations: 401.4 kB / 3.812 GB, free: 37.72 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000368/8.422, allocations: 120.8 kB / 3.812 GB, free: 37.66 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004399/8.426, allocations: 3.118 MB / 3.815 GB, free: 37.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.521e-05/8.426, allocations: 38.59 kB / 3.815 GB, free: 37.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/8.426, allocations: 10.56 kB / 3.816 GB, free: 37.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.224e-05/8.426, allocations: 3.188 kB / 3.816 GB, free: 37.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007252/8.433, allocations: 4.68 MB / 3.82 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.011e-05/8.434, allocations: 0 / 3.82 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006295/8.434, allocations: 171.2 kB / 3.82 GB, free: 36.79 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/8.436, allocations: 1.029 MB / 3.821 GB, free: 36.74 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/8.436, allocations: 22.3 kB / 3.821 GB, free: 36.74 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001334/8.438, allocations: 1.383 MB / 3.823 GB, free: 36.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.229e-06/8.438, allocations: 2.438 kB / 3.823 GB, free: 36.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004574/8.442, allocations: 3.097 MB / 3.826 GB, free: 35.79 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001082/8.443, allocations: 438.7 kB / 3.826 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005219/8.444, allocations: 20.78 kB / 3.826 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/8.445, allocations: 89.19 kB / 3.826 GB, free: 35.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002158/8.445, allocations: 69.78 kB / 3.826 GB, free: 35.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.906e-05/8.445, allocations: 35.78 kB / 3.826 GB, free: 35.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001987/8.447, allocations: 0.8485 MB / 3.827 GB, free: 35.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.31e-07/8.447, allocations: 3.812 kB / 3.827 GB, free: 35.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00908/8.457, allocations: 1.693 MB / 3.829 GB, free: 35.23 MB / 0.5417 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 () * Number of clocked 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.01053/8.467, allocations: 1.843 MB / 3.831 GB, free: 34.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004451/8.472, allocations: 1.773 MB / 3.832 GB, free: 34.67 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.086e-05/8.472, allocations: 4.375 kB / 3.832 GB, free: 34.67 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001334/8.473, allocations: 0.8264 MB / 3.833 GB, free: 34.63 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/8.477, allocations: 467.2 kB / 3.834 GB, free: 34.59 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007212/8.484, allocations: 4.468 MB / 3.838 GB, free: 32.03 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001705/8.486, allocations: 1.359 MB / 3.839 GB, free: 31.28 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006908/8.487, allocations: 101.4 kB / 3.839 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of SimCode: time 2.414e-06/8.487, allocations: 0 / 3.839 GB, free: 31.27 MB / 0.5417 GB Notification: Performance of Templates: time 0.1145/8.601, allocations: 47.09 MB / 3.885 GB, free: 19.92 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotorHeatTransfer/TestWaterPumpDCMotorHeatTransfer.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches