Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.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.TestWaterPumpDCMotorHeatTransfer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|housing.T|motor.inertiaRotor.phi|motor.inertiaRotor.w|motor.la.i",fileNamePrefix="ModelicaTest_trunk_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_trunk_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 trunk/package.mo): time 0.001377/0.001377, allocations: 203.2 kB / 8.541 MB, free: 1.812 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.406/1.406, allocations: 225.5 MB / 234.4 MB, free: 3.387 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001214/0.001214, allocations: 94.89 kB / 286.3 MB, free: 5.262 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2445/0.2445, allocations: 45.14 MB / 383.3 MB, free: 0.5781 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 8.667e-06/8.696e-06, allocations: 0 / 452.6 MB, free: 76.19 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1493/0.1493, allocations: 63.23 MB / 0.5038 GB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.824/6.974, allocations: 2.804 GB / 3.308 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/6.974, allocations: 84.59 kB / 3.308 GB, free: 103.3 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.503/8.477, allocations: 460.3 MB / 3.757 GB, free: 44.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001386/8.477, allocations: 28 kB / 3.757 GB, free: 44.59 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.009109/8.486, allocations: 2.359 MB / 3.76 GB, free: 42.19 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.106e-05/8.486, allocations: 12.03 kB / 3.76 GB, free: 42.18 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003802/8.49, allocations: 465.5 kB / 3.76 GB, free: 41.72 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002835/8.493, allocations: 0.9874 MB / 3.761 GB, free: 40.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001043/8.493, allocations: 51.91 kB / 3.761 GB, free: 40.66 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003689/8.494, allocations: 76 kB / 3.761 GB, free: 40.59 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002245/8.496, allocations: 0.962 MB / 3.762 GB, free: 39.62 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002595/8.499, allocations: 1.237 MB / 3.763 GB, free: 38.29 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.607e-05/8.499, allocations: 11.84 kB / 3.763 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001758/8.499, allocations: 0 / 3.763 GB, free: 38.27 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.754e-05/8.499, allocations: 46.36 kB / 3.763 GB, free: 38.23 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.413/8.912, allocations: 97.76 MB / 3.859 GB, free: 81.28 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005578/8.912, allocations: 348.6 kB / 3.859 GB, free: 81.27 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003763/8.913, allocations: 267.8 kB / 3.86 GB, free: 81.26 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03268/8.946, allocations: 19.03 MB / 3.878 GB, free: 68.45 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.62e-05/8.946, allocations: 47.38 kB / 3.878 GB, free: 68.41 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=63): time 2.475e-06/8.946, allocations: 1.203 kB / 3.878 GB, free: 68.41 MB / 0.5417 GB Notification: Performance of matching and sorting (n=66): time 0.006853/8.952, allocations: 2.087 MB / 3.88 GB, free: 67.98 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.492e-05/8.953, allocations: 137.1 kB / 3.88 GB, free: 67.82 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001125/8.954, allocations: 0.7467 MB / 3.881 GB, free: 67.67 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 5.94e-05/8.954, allocations: 25.7 kB / 3.881 GB, free: 67.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003075/8.954, allocations: 0.6122 MB / 3.882 GB, free: 67.34 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001674/8.954, allocations: 224.7 kB / 3.882 GB, free: 67.22 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.438e-05/8.954, allocations: 0 / 3.882 GB, free: 67.22 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.66e-05/8.954, allocations: 352.2 kB / 3.882 GB, free: 66.91 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004164/8.955, allocations: 279.3 kB / 3.882 GB, free: 66.91 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005867/8.955, allocations: 0.716 MB / 3.883 GB, free: 66.35 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001405/8.957, allocations: 491.5 kB / 3.884 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.702e-06/8.957, allocations: 7.844 kB / 3.884 GB, free: 66.32 MB / 0.5417 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003528/8.96, allocations: 1.475 MB / 3.885 GB, free: 66.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008743/8.961, allocations: 5.653 MB / 3.891 GB, free: 60.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.913e-05/8.961, allocations: 22.03 kB / 3.891 GB, free: 60.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/8.962, allocations: 159.6 kB / 3.891 GB, free: 60.26 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00094/8.963, allocations: 290.8 kB / 3.891 GB, free: 60.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001103/8.964, allocations: 0.8528 MB / 3.892 GB, free: 59.73 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001385/8.965, allocations: 131.2 kB / 3.892 GB, free: 59.71 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001002/8.965, allocations: 68.47 kB / 3.892 GB, free: 59.71 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.797e-06/8.966, allocations: 3.969 kB / 3.892 GB, free: 59.71 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002904/8.968, allocations: 1.081 MB / 3.893 GB, free: 59.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.846e-05/8.968, allocations: 18.47 kB / 3.893 GB, free: 59.67 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007836/8.969, allocations: 167 kB / 3.893 GB, free: 59.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008938/8.97, allocations: 297 kB / 3.894 GB, free: 59.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006782/8.971, allocations: 0.7503 MB / 3.894 GB, free: 59.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0012/8.972, allocations: 100.5 kB / 3.894 GB, free: 59.12 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-05/8.972, allocations: 62.19 kB / 3.894 GB, free: 59.12 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.0003093/8.972, allocations: 150.6 kB / 3.895 GB, free: 59.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008124/8.973, allocations: 314.9 kB / 3.895 GB, free: 58.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002973/8.976, allocations: 2.116 MB / 3.897 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.85e-05/8.976, allocations: 21.23 kB / 3.897 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.935e-06/8.976, allocations: 0 / 3.897 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/8.976, allocations: 0 / 3.897 GB, free: 58.77 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004349/8.981, allocations: 3.371 MB / 3.9 GB, free: 58.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/8.981, allocations: 1.062 kB / 3.9 GB, free: 58.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005321/8.981, allocations: 133.4 kB / 3.9 GB, free: 58.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009817/8.982, allocations: 0.7023 MB / 3.901 GB, free: 58.25 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.096e-05/8.982, allocations: 14.06 kB / 3.901 GB, free: 58.25 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001327/8.984, allocations: 1.259 MB / 3.902 GB, free: 57.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.153e-06/8.984, allocations: 7.062 kB / 3.902 GB, free: 57.71 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003501/8.987, allocations: 2.34 MB / 3.905 GB, free: 57.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008192/8.988, allocations: 339.1 kB / 3.905 GB, free: 56.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002018/8.988, allocations: 11.5 kB / 3.905 GB, free: 56.94 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007864/8.989, allocations: 63.38 kB / 3.905 GB, free: 56.93 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/8.989, allocations: 57.06 kB / 3.905 GB, free: 56.93 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.119e-05/8.989, allocations: 30.8 kB / 3.905 GB, free: 56.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001038/8.99, allocations: 0.683 MB / 3.906 GB, free: 56.82 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007544/8.998, allocations: 1.626 MB / 3.907 GB, free: 56.82 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.01007/9.008, allocations: 2.002 MB / 3.909 GB, free: 56.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003073/9.011, allocations: 1.562 MB / 3.911 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.987e-06/9.011, allocations: 3.812 kB / 3.911 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008397/9.012, allocations: 0.703 MB / 3.912 GB, free: 56.55 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002201/9.014, allocations: 339.7 kB / 3.912 GB, free: 56.53 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004762/9.019, allocations: 2.288 MB / 3.914 GB, free: 55.76 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009424/9.02, allocations: 1.368 MB / 3.915 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of SimCode: time 8.21e-07/9.02, allocations: 4 kB / 3.915 GB, free: 55.02 MB / 0.5417 GB Notification: Performance of Templates: time 0.07148/9.091, allocations: 50.06 MB / 3.964 GB, free: 51.92 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches