Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 179.9 kB / 8.519 MB, free: 1.855 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 221.4 MB / 230.3 MB, free: 7.664 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.0009782/0.0009786, allocations: 93.55 kB / 281.2 MB, free: 5.496 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.2073/0.2073, allocations: 44.15 MB / 376.1 MB, free: 3.23 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 8.686e-06/8.726e-06, allocations: 0 / 444 MB, free: 15.6 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1467/0.1467, allocations: 61.91 MB / 0.4941 GB, free: 1.617 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.159/6.305, allocations: 2.803 GB / 3.297 GB, free: 164 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002372/6.306, allocations: 89.38 kB / 3.297 GB, free: 164 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.369/7.674, allocations: 460.2 MB / 3.747 GB, free: 74.47 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001506/7.675, allocations: 37.12 kB / 3.747 GB, free: 74.46 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.008492/7.683, allocations: 2.348 MB / 3.749 GB, free: 73.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/7.683, allocations: 12.34 kB / 3.749 GB, free: 73.28 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003556/7.687, allocations: 466.5 kB / 3.749 GB, free: 73.2 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002564/7.689, allocations: 0.9874 MB / 3.75 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.533e-05/7.689, allocations: 47.38 kB / 3.75 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003978/7.69, allocations: 83.38 kB / 3.75 GB, free: 72.86 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002236/7.692, allocations: 0.9597 MB / 3.751 GB, free: 72.85 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00257/7.695, allocations: 1.234 MB / 3.753 GB, free: 72.56 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.902e-05/7.695, allocations: 15.19 kB / 3.753 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001629/7.695, allocations: 0 / 3.753 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.807e-05/7.695, allocations: 52.36 kB / 3.753 GB, free: 72.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1565/7.851, allocations: 86.8 MB / 3.837 GB, free: 16.33 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004905/7.852, allocations: 355.7 kB / 3.838 GB, free: 16.11 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003471/7.852, allocations: 276.4 kB / 3.838 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02919/7.882, allocations: 16.63 MB / 3.854 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.405e-05/7.882, allocations: 46.78 kB / 3.854 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=63): time 3.567e-06/7.882, allocations: 0 / 3.854 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of matching and sorting (n=66): time 0.006135/7.888, allocations: 2.085 MB / 3.856 GB, free: 14.18 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.422e-05/7.888, allocations: 140.6 kB / 3.856 GB, free: 14.02 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009275/7.889, allocations: 0.7462 MB / 3.857 GB, free: 13.52 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.111e-05/7.889, allocations: 29.7 kB / 3.857 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002356/7.889, allocations: 0.6069 MB / 3.858 GB, free: 13.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001278/7.889, allocations: 224 kB / 3.858 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.332e-05/7.889, allocations: 0 / 3.858 GB, free: 12.84 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001192/7.889, allocations: 348.3 kB / 3.858 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004193/7.89, allocations: 278.6 kB / 3.859 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005589/7.89, allocations: 0.7124 MB / 3.859 GB, free: 11.63 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/7.892, allocations: 495.5 kB / 3.86 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/7.892, allocations: 4 kB / 3.86 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003356/7.895, allocations: 1.485 MB / 3.861 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.00173/7.897, allocations: 5.654 MB / 3.867 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/7.897, allocations: 12 kB / 3.867 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005542/7.897, allocations: 156.7 kB / 3.867 GB, free: 4.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009489/7.898, allocations: 297.1 kB / 3.867 GB, free: 4.195 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001091/7.9, allocations: 0.8519 MB / 3.868 GB, free: 3.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/7.901, allocations: 126.6 kB / 3.868 GB, free: 3.387 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.042e-05/7.901, allocations: 65.2 kB / 3.868 GB, free: 3.336 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 6.802e-06/7.901, allocations: 4 kB / 3.868 GB, free: 3.332 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002851/7.904, allocations: 1.089 MB / 3.869 GB, free: 2.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.213e-05/7.904, allocations: 16 kB / 3.869 GB, free: 2.645 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008/7.905, allocations: 168.2 kB / 3.869 GB, free: 2.535 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009533/7.905, allocations: 287.2 kB / 3.87 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007901/7.906, allocations: 0.7602 MB / 3.871 GB, free: 1.629 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009567/7.907, allocations: 97.53 kB / 3.871 GB, free: 1.555 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.643e-05/7.907, allocations: 63.27 kB / 3.871 GB, free: 1.508 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 (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.0002556/7.908, allocations: 154.8 kB / 3.871 GB, free: 1.355 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008245/7.908, allocations: 319.1 kB / 3.871 GB, free: 1.156 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.1744/8.083, allocations: 2.15 MB / 3.873 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.853e-05/8.083, allocations: 20.08 kB / 3.873 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.652e-06/8.083, allocations: 0 / 3.873 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.761e-05/8.083, allocations: 3.938 kB / 3.873 GB, free: 128.7 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004067/8.087, allocations: 3.369 MB / 3.877 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.73e-06/8.087, allocations: 3.188 kB / 3.877 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005046/8.088, allocations: 126.5 kB / 3.877 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009016/8.088, allocations: 0.7052 MB / 3.877 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.204e-05/8.089, allocations: 17.06 kB / 3.877 GB, free: 128.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001206/8.09, allocations: 1.254 MB / 3.879 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.121e-06/8.09, allocations: 10.25 kB / 3.879 GB, free: 127.7 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.002935/8.093, allocations: 2.327 MB / 3.881 GB, free: 127.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005101/8.093, allocations: 341.3 kB / 3.881 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001835/8.093, allocations: 6.188 kB / 3.881 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007259/8.094, allocations: 66.95 kB / 3.881 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/8.094, allocations: 61.19 kB / 3.881 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.186e-05/8.094, allocations: 31.19 kB / 3.881 GB, free: 127.1 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.0008011/8.095, allocations: 0.6845 MB / 3.882 GB, free: 127 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005832/8.101, allocations: 1.611 MB / 3.884 GB, free: 127 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 4 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i,housing.T) * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse8.phase,$cse8.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 13} Notification: Performance of Backend phase and start with SimCode phase: time 0.005529/8.106, allocations: 2.001 MB / 3.886 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002093/8.109, allocations: 1.562 MB / 3.887 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/8.109, allocations: 0 / 3.887 GB, free: 126.9 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.000694/8.109, allocations: 0.7056 MB / 3.888 GB, free: 126.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001609/8.111, allocations: 332.1 kB / 3.888 GB, free: 126.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/8.114, allocations: 2.282 MB / 3.89 GB, free: 126.2 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007981/8.115, allocations: 1.371 MB / 3.892 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of SimCode: time 3.41e-07/8.115, allocations: 0 / 3.892 GB, free: 125.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.06269/8.178, allocations: 50 MB / 3.94 GB, free: 124.2 MB / 0.5417 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotorHeatTransfer/TestWaterPumpDCMotorHeatTransfer.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches