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.0009181/0.0009181, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.565/1.565, allocations: 205.3 MB / 213.7 MB, free: 1.676 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009046/0.0009046, allocations: 86.62 kB / 261.7 MB, free: 1.617 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.2194/0.2194, allocations: 43.49 MB / 353.2 MB, free: 272 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.437e-05/1.414e-05, allocations: 4 kB / 418.3 MB, free: 28.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1186/0.1186, allocations: 58.84 MB / 477.1 MB, free: 1.645 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.287/6.406, allocations: 2.797 GB / 3.263 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/6.406, allocations: 93.64 kB / 3.263 GB, free: 158.9 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.42/7.826, allocations: 454.4 MB / 3.707 GB, free: 58.28 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.483e-06/7.826, allocations: 0 / 3.707 GB, free: 58.28 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.0001395/7.826, allocations: 35.31 kB / 3.707 GB, free: 58.28 MB / 0.4948 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.008558/7.835, allocations: 2.324 MB / 3.709 GB, free: 56.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.723e-05/7.835, allocations: 10.5 kB / 3.709 GB, free: 56.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002819/7.838, allocations: 449.6 kB / 3.71 GB, free: 56.84 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001906/7.84, allocations: 0.9778 MB / 3.711 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.605e-05/7.84, allocations: 43.91 kB / 3.711 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002395/7.84, allocations: 82.03 kB / 3.711 GB, free: 56.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001704/7.842, allocations: 0.9554 MB / 3.712 GB, free: 55.88 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/7.844, allocations: 1.23 MB / 3.713 GB, free: 55.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.394e-05/7.844, allocations: 11.75 kB / 3.713 GB, free: 55.24 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001183/7.844, allocations: 3.688 kB / 3.713 GB, free: 55.24 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-05/7.844, allocations: 57.14 kB / 3.713 GB, free: 55.23 MB / 0.4948 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.1401/7.984, allocations: 86.72 MB / 3.798 GB, free: 10.12 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009002/7.985, allocations: 0.5191 MB / 3.798 GB, free: 9.598 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/7.985, allocations: 258.5 kB / 3.798 GB, free: 9.344 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2994/8.285, allocations: 16.63 MB / 3.815 GB, free: 85.41 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.476e-05/8.285, allocations: 41.77 kB / 3.815 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 2.354e-06/8.285, allocations: 0 / 3.815 GB, free: 85.38 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66): time 0.006102/8.291, allocations: 2.039 MB / 3.817 GB, free: 84.99 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.557e-05/8.291, allocations: 140.2 kB / 3.817 GB, free: 84.83 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009767/8.292, allocations: 0.7262 MB / 3.817 GB, free: 84.68 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.926e-05/8.292, allocations: 27.12 kB / 3.817 GB, free: 84.65 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004475/8.292, allocations: 0.7343 MB / 3.818 GB, free: 84.35 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001465/8.293, allocations: 232.8 kB / 3.818 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.55e-05/8.293, allocations: 2.438 kB / 3.818 GB, free: 84.23 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.212e-05/8.293, allocations: 347.6 kB / 3.819 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003454/8.293, allocations: 255.7 kB / 3.819 GB, free: 83.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005581/8.294, allocations: 0.6885 MB / 3.82 GB, free: 83.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00119/8.295, allocations: 455.2 kB / 3.82 GB, free: 83.39 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.019e-05/8.295, allocations: 8.109 kB / 3.82 GB, free: 83.39 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002368/8.297, allocations: 1.132 MB / 3.821 GB, free: 83.27 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008879/8.298, allocations: 5.66 MB / 3.827 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.406e-05/8.298, allocations: 13.97 kB / 3.827 GB, free: 77.39 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005053/8.299, allocations: 149.7 kB / 3.827 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009311/8.3, allocations: 289.1 kB / 3.827 GB, free: 77.38 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008151/8.3, allocations: 0.7791 MB / 3.828 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/8.302, allocations: 112.5 kB / 3.828 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001077/8.302, allocations: 66.3 kB / 3.828 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.093e-05/8.302, allocations: 3.906 kB / 3.828 GB, free: 76.86 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001962/8.304, allocations: 0.928 MB / 3.829 GB, free: 76.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/8.304, allocations: 14.5 kB / 3.829 GB, free: 76.83 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000747/8.305, allocations: 159.5 kB / 3.829 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009001/8.306, allocations: 288 kB / 3.829 GB, free: 76.82 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005662/8.306, allocations: 0.7046 MB / 3.83 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001077/8.307, allocations: 90.22 kB / 3.83 GB, free: 76.29 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001378/8.307, allocations: 66.94 kB / 3.83 GB, free: 76.29 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 (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 (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.0003092/8.308, allocations: 149.7 kB / 3.83 GB, free: 76.19 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/8.308, allocations: 109.6 kB / 3.831 GB, free: 76.13 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003931/8.312, allocations: 2.243 MB / 3.833 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.855e-05/8.312, allocations: 25.7 kB / 3.833 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.586e-06/8.312, allocations: 3.844 kB / 3.833 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.22e-05/8.312, allocations: 10.72 kB / 3.833 GB, free: 75.97 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005104/8.317, allocations: 3.223 MB / 3.836 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.287e-06/8.317, allocations: 2.594 kB / 3.836 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/8.318, allocations: 118.2 kB / 3.836 GB, free: 75.56 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001584/8.319, allocations: 1.214 MB / 3.837 GB, free: 75.51 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-05/8.319, allocations: 13.86 kB / 3.837 GB, free: 75.5 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/8.321, allocations: 1.575 MB / 3.839 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.619e-06/8.321, allocations: 0 / 3.839 GB, free: 74.95 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002734/8.323, allocations: 2.449 MB / 3.841 GB, free: 74.51 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005962/8.324, allocations: 334.7 kB / 3.841 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001516/8.324, allocations: 3.953 kB / 3.841 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000677/8.325, allocations: 68.33 kB / 3.842 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001067/8.325, allocations: 59.75 kB / 3.842 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.797e-05/8.325, allocations: 29.36 kB / 3.842 GB, free: 74.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.000881/8.326, allocations: 0.6663 MB / 3.842 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/8.326, allocations: 3.969 kB / 3.842 GB, free: 74.23 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005899/8.332, allocations: 1.581 MB / 3.844 GB, free: 74.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: 11 ($cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse12.phase,$cse12.region,pump.heatTransfer.states[1].phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 57 * 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 15} Notification: Performance of Backend phase and start with SimCode phase: time 0.006326/8.338, allocations: 1.93 MB / 3.846 GB, free: 73.98 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002618/8.341, allocations: 1.344 MB / 3.847 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 6.392e-06/8.341, allocations: 0 / 3.847 GB, free: 73.95 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0006432/8.341, allocations: 0.5109 MB / 3.848 GB, free: 73.94 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00197/8.343, allocations: 348.3 kB / 3.848 GB, free: 73.93 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004083/8.347, allocations: 2.135 MB / 3.85 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007635/8.348, allocations: 1.291 MB / 3.851 GB, free: 72.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001858/8.35, allocations: 0.8669 MB / 3.852 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001949/8.35, allocations: 75.09 kB / 3.852 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of SimCode: time 9.11e-07/8.35, allocations: 3.375 kB / 3.852 GB, free: 72.59 MB / 0.5261 GB Notification: Performance of Templates: time 0.07679/8.427, allocations: 42.21 MB / 3.893 GB, free: 70.59 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