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.001123/0.001123, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.237/1.237, allocations: 225.4 MB / 240.1 MB, free: 15.05 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009192/0.0009192, allocations: 91.27 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1774/0.1774, allocations: 45.14 MB / 389.3 MB, free: 11.87 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 2.576e-05/2.586e-05, allocations: 4 kB / 460.4 MB, free: 70.02 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09338/0.09342, allocations: 63.25 MB / 0.5114 GB, free: 6.789 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.206/5.3, allocations: 2.804 GB / 3.316 GB, free: 53.23 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002568/5.3, allocations: 87.94 kB / 3.316 GB, free: 53.14 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.352/6.652, allocations: 462.9 MB / 3.768 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.192e-06/6.653, allocations: 0 / 3.768 GB, free: 29.85 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.885e-05/6.653, allocations: 35.44 kB / 3.768 GB, free: 29.82 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.005923/6.659, allocations: 2.304 MB / 3.77 GB, free: 27.47 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.502e-05/6.659, allocations: 12.03 kB / 3.77 GB, free: 27.46 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002468/6.661, allocations: 437.7 kB / 3.771 GB, free: 27.03 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001481/6.663, allocations: 0.9704 MB / 3.772 GB, free: 26.04 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.929e-05/6.663, allocations: 98.61 kB / 3.772 GB, free: 25.94 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001431/6.663, allocations: 135.9 kB / 3.772 GB, free: 25.8 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002563/6.665, allocations: 1.631 MB / 3.773 GB, free: 24.07 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.452e-05/6.665, allocations: 11.94 kB / 3.773 GB, free: 24.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/6.665, allocations: 55.94 kB / 3.773 GB, free: 24 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.397e-05/6.666, allocations: 50.27 kB / 3.773 GB, free: 23.95 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002159/6.668, allocations: 1.254 MB / 3.775 GB, free: 22.69 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.007084/6.675, allocations: 7.847 MB / 3.782 GB, free: 14.33 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/6.677, allocations: 0.8568 MB / 3.783 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003617/6.677, allocations: 302.5 kB / 3.783 GB, free: 13.16 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3351/7.012, allocations: 26.8 MB / 3.81 GB, free: 51.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/7.012, allocations: 40.77 kB / 3.81 GB, free: 51.76 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 2.465e-06/7.012, allocations: 0 / 3.81 GB, free: 51.76 MB / 0.5417 GB Notification: Performance of matching and sorting (n=71): time 0.005068/7.017, allocations: 2.21 MB / 3.812 GB, free: 51.37 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/7.017, allocations: 140.2 kB / 3.812 GB, free: 51.21 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001047/7.018, allocations: 0.8467 MB / 3.813 GB, free: 51.05 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/7.018, allocations: 36.2 kB / 3.813 GB, free: 51.02 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003355/7.019, allocations: 0.6989 MB / 3.813 GB, free: 50.75 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001386/7.019, allocations: 258.6 kB / 3.814 GB, free: 50.63 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.172e-05/7.019, allocations: 19.62 kB / 3.814 GB, free: 50.63 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.151e-05/7.019, allocations: 349.6 kB / 3.814 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003638/7.019, allocations: 262.1 kB / 3.814 GB, free: 50.32 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005485/7.02, allocations: 0.7054 MB / 3.815 GB, free: 49.77 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004888/7.02, allocations: 378.8 kB / 3.815 GB, free: 49.77 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/7.02, allocations: 7.062 kB / 3.815 GB, free: 49.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.001659/7.022, allocations: 1.16 MB / 3.817 GB, free: 49.65 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008276/7.023, allocations: 5.743 MB / 3.822 GB, free: 43.68 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.213e-05/7.023, allocations: 18.39 kB / 3.822 GB, free: 43.68 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001334/7.024, allocations: 281.8 kB / 3.822 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/7.025, allocations: 266.3 kB / 3.823 GB, free: 43.67 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009192/7.026, allocations: 0.7691 MB / 3.823 GB, free: 43.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/7.027, allocations: 99.61 kB / 3.824 GB, free: 43.14 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/7.027, allocations: 65.45 kB / 3.824 GB, free: 43.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/7.027, allocations: 3.812 kB / 3.824 GB, free: 43.14 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001969/7.029, allocations: 1.041 MB / 3.825 GB, free: 43.11 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.186e-05/7.029, allocations: 15.19 kB / 3.825 GB, free: 43.11 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008556/7.03, allocations: 192.5 kB / 3.825 GB, free: 43.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008448/7.031, allocations: 270.2 kB / 3.825 GB, free: 43.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007628/7.032, allocations: 0.7322 MB / 3.826 GB, free: 42.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009893/7.033, allocations: 94.83 kB / 3.826 GB, free: 42.58 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.377e-05/7.033, allocations: 61 kB / 3.826 GB, free: 42.58 MB / 0.5417 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 (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 (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.000302/7.033, allocations: 190.3 kB / 3.826 GB, free: 42.47 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000189/7.033, allocations: 117.3 kB / 3.826 GB, free: 42.41 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003483/7.037, allocations: 3.045 MB / 3.829 GB, free: 42.12 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.916e-05/7.037, allocations: 39.48 kB / 3.829 GB, free: 42.12 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/7.037, allocations: 0.6094 kB / 3.829 GB, free: 42.12 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/7.037, allocations: 5.344 kB / 3.829 GB, free: 42.12 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005025/7.042, allocations: 4.656 MB / 3.834 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.723e-06/7.042, allocations: 1.812 kB / 3.834 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005952/7.043, allocations: 150.7 kB / 3.834 GB, free: 41.61 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001877/7.045, allocations: 1.235 MB / 3.835 GB, free: 41.55 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.827e-05/7.045, allocations: 20.2 kB / 3.835 GB, free: 41.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00108/7.046, allocations: 1.483 MB / 3.837 GB, free: 41 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/7.046, allocations: 1.875 kB / 3.837 GB, free: 41 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002786/7.049, allocations: 2.916 MB / 3.839 GB, free: 40.46 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006255/7.049, allocations: 440.7 kB / 3.84 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001472/7.049, allocations: 11.97 kB / 3.84 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006931/7.05, allocations: 86.03 kB / 3.84 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001291/7.05, allocations: 64.66 kB / 3.84 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.905e-05/7.05, allocations: 32.19 kB / 3.84 GB, free: 40.27 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00102/7.051, allocations: 0.8365 MB / 3.841 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.5e-07/7.051, allocations: 3.906 kB / 3.841 GB, free: 40.15 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006005/7.057, allocations: 1.675 MB / 3.843 GB, free: 40.15 MB / 0.5417 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: 21 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.region,$cse9.region3boundary,$cse10.region3boundary,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse15.phase,$cse15.region,$cse16.phase,$cse16.region,$cse18.phase,$cse18.region,$cse19.phase,$cse19.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 (65): * Single equations (assignments): 58 * 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 18} Notification: Performance of Backend phase and start with SimCode phase: time 0.007653/7.065, allocations: 1.836 MB / 3.844 GB, free: 39.99 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.00308/7.068, allocations: 1.598 MB / 3.846 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.992e-06/7.068, allocations: 0 / 3.846 GB, free: 39.96 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000847/7.069, allocations: 0.7489 MB / 3.847 GB, free: 39.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00231/7.071, allocations: 466.4 kB / 3.847 GB, free: 39.93 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/7.075, allocations: 2.571 MB / 3.85 GB, free: 39.25 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008099/7.076, allocations: 1.396 MB / 3.851 GB, free: 38.54 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.001514/7.077, allocations: 0.7743 MB / 3.852 GB, free: 38.53 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001434/7.077, allocations: 79.58 kB / 3.852 GB, free: 38.52 MB / 0.5417 GB Notification: Performance of SimCode: time 7.31e-07/7.077, allocations: 0 / 3.852 GB, free: 38.52 MB / 0.5417 GB Notification: Performance of Templates: time 0.0595/7.137, allocations: 52.96 MB / 3.903 GB, free: 36.25 MB / 0.5417 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