Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.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.TestWaterPumpDCMotor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001373/0.001373, allocations: 202.8 kB / 8.768 MB, free: 320 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 225.6 MB / 234.8 MB, free: 3.27 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008356/0.0008357, allocations: 94.56 kB / 286.7 MB, free: 5.266 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2267/0.2267, allocations: 45.15 MB / 383.8 MB, free: 252 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.718e-05/1.718e-05, allocations: 8 kB / 453.2 MB, free: 75.81 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1388, allocations: 63.25 MB / 0.5044 GB, free: 12.62 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.826/5.965, allocations: 2.804 GB / 3.308 GB, free: 41.68 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001985/5.966, allocations: 91.5 kB / 3.308 GB, free: 41.63 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.373/7.338, allocations: 458.4 MB / 3.756 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.263e-06/7.338, allocations: 4 kB / 3.756 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.692e-05/7.338, allocations: 35.94 kB / 3.756 GB, free: 15.01 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.00813/7.346, allocations: 2.304 MB / 3.758 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.287e-05/7.346, allocations: 8.031 kB / 3.758 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002854/7.349, allocations: 445.7 kB / 3.759 GB, free: 12.22 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001801/7.351, allocations: 0.9647 MB / 3.759 GB, free: 11.23 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.847e-05/7.351, allocations: 51.94 kB / 3.76 GB, free: 11.18 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001421/7.351, allocations: 83.91 kB / 3.76 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001627/7.353, allocations: 0.9346 MB / 3.761 GB, free: 10.16 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001886/7.355, allocations: 1.209 MB / 3.762 GB, free: 8.848 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.762e-05/7.355, allocations: 7.938 kB / 3.762 GB, free: 8.84 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.83e-05/7.355, allocations: 11.94 kB / 3.762 GB, free: 8.828 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.951e-05/7.355, allocations: 46.31 kB / 3.762 GB, free: 8.781 MB / 0.5417 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.5026/7.858, allocations: 95.56 MB / 3.855 GB, free: 33.58 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008879/7.859, allocations: 0.4987 MB / 3.856 GB, free: 33.55 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003541/7.859, allocations: 251.2 kB / 3.856 GB, free: 33.54 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03228/7.891, allocations: 18.48 MB / 3.874 GB, free: 36.86 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.899e-05/7.891, allocations: 40.41 kB / 3.874 GB, free: 36.82 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=60): time 2.575e-06/7.891, allocations: 0 / 3.874 GB, free: 36.82 MB / 0.5886 GB Notification: Performance of matching and sorting (n=63): time 0.006475/7.898, allocations: 2.023 MB / 3.876 GB, free: 36.35 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.69e-05/7.898, allocations: 135.7 kB / 3.876 GB, free: 36.2 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/7.899, allocations: 0.7333 MB / 3.877 GB, free: 36.04 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 6.7e-05/7.899, allocations: 29.61 kB / 3.877 GB, free: 36.01 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004481/7.9, allocations: 0.7298 MB / 3.877 GB, free: 35.71 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001582/7.9, allocations: 223.5 kB / 3.878 GB, free: 35.6 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.453e-05/7.9, allocations: 0 / 3.878 GB, free: 35.6 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000124/7.9, allocations: 349.9 kB / 3.878 GB, free: 35.29 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003648/7.9, allocations: 241.8 kB / 3.878 GB, free: 35.29 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000598/7.901, allocations: 0.6876 MB / 3.879 GB, free: 34.73 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/7.902, allocations: 461.9 kB / 3.879 GB, free: 34.7 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.461e-05/7.902, allocations: 3.656 kB / 3.879 GB, free: 34.7 MB / 0.5886 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002603/7.905, allocations: 1.132 MB / 3.88 GB, free: 34.58 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 0.001995/7.907, allocations: 5.744 MB / 3.886 GB, free: 28.55 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/7.907, allocations: 13.66 kB / 3.886 GB, free: 28.55 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007338/7.908, allocations: 197.7 kB / 3.886 GB, free: 28.54 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007902/7.909, allocations: 270 kB / 3.887 GB, free: 28.54 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/7.91, allocations: 0.8413 MB / 3.887 GB, free: 28.01 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001264/7.911, allocations: 107.8 kB / 3.887 GB, free: 28 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/7.911, allocations: 62.03 kB / 3.888 GB, free: 28 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/7.911, allocations: 3.875 kB / 3.888 GB, free: 28 MB / 0.5886 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002208/7.913, allocations: 0.9543 MB / 3.888 GB, free: 27.96 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.066e-05/7.913, allocations: 15.47 kB / 3.888 GB, free: 27.96 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007771/7.914, allocations: 182.5 kB / 3.889 GB, free: 27.95 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007816/7.915, allocations: 270.8 kB / 3.889 GB, free: 27.94 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009599/7.916, allocations: 0.7521 MB / 3.89 GB, free: 27.42 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001163/7.917, allocations: 91.03 kB / 3.89 GB, free: 27.41 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.61e-05/7.917, allocations: 61.77 kB / 3.89 GB, free: 27.41 MB / 0.5886 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.0003082/7.917, allocations: 144.3 kB / 3.89 GB, free: 27.3 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/7.918, allocations: 109.8 kB / 3.89 GB, free: 27.25 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003248/7.921, allocations: 2.206 MB / 3.892 GB, free: 27.06 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.188e-05/7.921, allocations: 28.64 kB / 3.892 GB, free: 27.05 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/7.921, allocations: 0 / 3.892 GB, free: 27.05 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/7.921, allocations: 3.703 kB / 3.892 GB, free: 27.05 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003715/7.925, allocations: 3.173 MB / 3.895 GB, free: 26.63 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.37e-06/7.925, allocations: 3.75 kB / 3.895 GB, free: 26.63 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003722/7.925, allocations: 105.5 kB / 3.895 GB, free: 26.63 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001219/7.926, allocations: 1.124 MB / 3.897 GB, free: 26.56 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.696e-05/7.926, allocations: 8.797 kB / 3.897 GB, free: 26.56 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001461/7.928, allocations: 1.648 MB / 3.898 GB, free: 26.01 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/7.928, allocations: 4.938 kB / 3.898 GB, free: 26.01 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002389/7.93, allocations: 2.319 MB / 3.9 GB, free: 25.54 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000445/7.931, allocations: 322.2 kB / 3.901 GB, free: 25.38 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001424/7.931, allocations: 11.42 kB / 3.901 GB, free: 25.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006287/7.932, allocations: 74.56 kB / 3.901 GB, free: 25.36 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.309e-05/7.932, allocations: 49.41 kB / 3.901 GB, free: 25.36 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.075e-05/7.932, allocations: 29.02 kB / 3.901 GB, free: 25.36 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.0007254/7.932, allocations: 0.6655 MB / 3.902 GB, free: 25.25 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.4e-07/7.932, allocations: 0 / 3.902 GB, free: 25.25 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.006232/7.939, allocations: 1.582 MB / 3.903 GB, free: 25.25 MB / 0.5886 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.00538/7.944, allocations: 1.93 MB / 3.905 GB, free: 25.03 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.002126/7.946, allocations: 1.33 MB / 3.906 GB, free: 25 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/7.946, allocations: 0 / 3.906 GB, free: 25 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0005409/7.947, allocations: 0.4926 MB / 3.907 GB, free: 24.98 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001582/7.948, allocations: 364.4 kB / 3.907 GB, free: 24.96 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002826/7.951, allocations: 2.044 MB / 3.909 GB, free: 24.27 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006632/7.952, allocations: 1.277 MB / 3.91 GB, free: 23.53 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 0.001419/7.953, allocations: 0.9107 MB / 3.911 GB, free: 23.47 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/7.953, allocations: 70.14 kB / 3.911 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of SimCode: time 8.52e-07/7.953, allocations: 0 / 3.911 GB, free: 23.46 MB / 0.5886 GB Notification: Performance of Templates: time 0.05304/8.006, allocations: 42.29 MB / 3.953 GB, free: 19.58 MB / 0.5886 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotor/TestWaterPumpDCMotor.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches