Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001194/0.001195, allocations: 173 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.433/1.433, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001009/0.001009, allocations: 99.27 kB / 281.6 MB, free: 5.316 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2294/0.2294, allocations: 44.15 MB / 376.5 MB, free: 3.039 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.867e-05/1.869e-05, allocations: 0 / 444.6 MB, free: 15.21 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1515, allocations: 61.91 MB / 0.4947 GB, free: 1.234 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.92/8.072, allocations: 2.803 GB / 3.297 GB, free: 95.88 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002082/8.072, allocations: 84.45 kB / 3.297 GB, free: 95.84 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.52/9.592, allocations: 458.3 MB / 3.745 GB, free: 58.85 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.713e-06/9.592, allocations: 0 / 3.745 GB, free: 58.85 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001513/9.592, allocations: 38.22 kB / 3.745 GB, free: 58.84 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: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.01211/9.604, allocations: 2.294 MB / 3.747 GB, free: 57.51 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 8.608e-05/9.604, allocations: 14.88 kB / 3.747 GB, free: 57.51 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003804/9.608, allocations: 442.3 kB / 3.748 GB, free: 57.4 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002631/9.611, allocations: 0.9766 MB / 3.749 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.94e-05/9.611, allocations: 46.81 kB / 3.749 GB, free: 56.81 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003395/9.611, allocations: 80.12 kB / 3.749 GB, free: 56.8 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002192/9.613, allocations: 0.9313 MB / 3.75 GB, free: 56.45 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002177/9.615, allocations: 1.215 MB / 3.751 GB, free: 55.82 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.904e-05/9.616, allocations: 11.34 kB / 3.751 GB, free: 55.81 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/9.616, allocations: 3.938 kB / 3.751 GB, free: 55.81 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.276e-05/9.616, allocations: 43.91 kB / 3.751 GB, free: 55.81 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.5004/10.12, allocations: 86.75 MB / 3.836 GB, free: 72.26 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001575/10.12, allocations: 0.4906 MB / 3.836 GB, free: 72.23 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006734/10.12, allocations: 254.7 kB / 3.836 GB, free: 72.22 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04223/10.16, allocations: 16.64 MB / 3.853 GB, free: 62 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/10.16, allocations: 37.66 kB / 3.853 GB, free: 61.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 2.866e-06/10.16, allocations: 0 / 3.853 GB, free: 61.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=63): time 0.006893/10.17, allocations: 2.016 MB / 3.855 GB, free: 61.53 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/10.17, allocations: 140 kB / 3.855 GB, free: 61.37 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00114/10.17, allocations: 0.7287 MB / 3.856 GB, free: 61.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.669e-05/10.17, allocations: 33.95 kB / 3.856 GB, free: 61.19 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003827/10.17, allocations: 0.7285 MB / 3.856 GB, free: 60.89 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001565/10.17, allocations: 221.3 kB / 3.856 GB, free: 60.78 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.986e-05/10.17, allocations: 0.8438 kB / 3.856 GB, free: 60.78 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.934e-05/10.17, allocations: 348.5 kB / 3.857 GB, free: 60.48 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000395/10.17, allocations: 247 kB / 3.857 GB, free: 60.48 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005928/10.17, allocations: 0.68 MB / 3.858 GB, free: 59.93 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001354/10.17, allocations: 455.1 kB / 3.858 GB, free: 59.92 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-05/10.17, allocations: 3.406 kB / 3.858 GB, free: 59.92 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.002388/10.17, allocations: 1.133 MB / 3.859 GB, free: 59.8 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009526/10.18, allocations: 5.747 MB / 3.865 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.862e-05/10.18, allocations: 18.62 kB / 3.865 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007256/10.18, allocations: 190.3 kB / 3.865 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008044/10.18, allocations: 272.6 kB / 3.865 GB, free: 53.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000942/10.18, allocations: 0.8376 MB / 3.866 GB, free: 53.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001257/10.18, allocations: 116.2 kB / 3.866 GB, free: 53.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.673e-05/10.18, allocations: 61.86 kB / 3.866 GB, free: 53.29 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/10.18, allocations: 3.938 kB / 3.866 GB, free: 53.29 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002235/10.18, allocations: 0.9567 MB / 3.867 GB, free: 53.26 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/10.18, allocations: 14.97 kB / 3.867 GB, free: 53.26 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007908/10.18, allocations: 179.4 kB / 3.867 GB, free: 53.25 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007718/10.18, allocations: 280.8 kB / 3.868 GB, free: 53.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000739/10.18, allocations: 0.7463 MB / 3.868 GB, free: 52.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001073/10.19, allocations: 92.86 kB / 3.869 GB, free: 52.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.869e-05/10.19, allocations: 65.11 kB / 3.869 GB, free: 52.73 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 (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.0002399/10.19, allocations: 148.3 kB / 3.869 GB, free: 52.62 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001637/10.19, allocations: 108.2 kB / 3.869 GB, free: 52.56 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003095/10.19, allocations: 2.2 MB / 3.871 GB, free: 52.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.905e-05/10.19, allocations: 28.53 kB / 3.871 GB, free: 52.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/10.19, allocations: 0 / 3.871 GB, free: 52.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/10.19, allocations: 2.672 kB / 3.871 GB, free: 52.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003884/10.19, allocations: 3.173 MB / 3.874 GB, free: 51.98 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/10.19, allocations: 8.703 kB / 3.874 GB, free: 51.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004076/10.19, allocations: 110.2 kB / 3.874 GB, free: 51.98 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001234/10.19, allocations: 1.124 MB / 3.875 GB, free: 51.91 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.829e-05/10.19, allocations: 7.344 kB / 3.875 GB, free: 51.91 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001407/10.2, allocations: 1.649 MB / 3.877 GB, free: 51.36 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/10.2, allocations: 5.453 kB / 3.877 GB, free: 51.36 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002743/10.2, allocations: 2.309 MB / 3.879 GB, free: 50.91 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006486/10.2, allocations: 337.7 kB / 3.88 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001507/10.2, allocations: 3.312 kB / 3.88 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006645/10.2, allocations: 74.94 kB / 3.88 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.949e-05/10.2, allocations: 47.98 kB / 3.88 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.367e-05/10.2, allocations: 26.83 kB / 3.88 GB, free: 50.73 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008253/10.2, allocations: 0.6642 MB / 3.88 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of sort global known variables: time 9.31e-07/10.2, allocations: 0 / 3.88 GB, free: 50.62 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00723/10.21, allocations: 1.577 MB / 3.882 GB, free: 50.62 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: 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.008864/10.22, allocations: 1.927 MB / 3.884 GB, free: 50.44 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002801/10.22, allocations: 1.333 MB / 3.885 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.155e-05/10.22, allocations: 0 / 3.885 GB, free: 50.41 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0006395/10.22, allocations: 0.4952 MB / 3.886 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/10.22, allocations: 361.8 kB / 3.886 GB, free: 50.39 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003804/10.23, allocations: 2.037 MB / 3.888 GB, free: 49.8 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006849/10.23, allocations: 1.281 MB / 3.889 GB, free: 49.08 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.002018/10.23, allocations: 0.9042 MB / 3.89 GB, free: 49.07 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001442/10.23, allocations: 73.92 kB / 3.89 GB, free: 49.06 MB / 0.5417 GB Notification: Performance of SimCode: time 7.71e-07/10.23, allocations: 0 / 3.89 GB, free: 49.06 MB / 0.5417 GB Notification: Performance of Templates: time 0.05776/10.29, allocations: 42.25 MB / 3.931 GB, free: 46.44 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches