Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_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_3.2.3_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 3.2.3+maint.om/package.mo): time 0.001019/0.001019, allocations: 189.8 kB / 7.804 MB, free: 2.492 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.055/1.055, allocations: 205.2 MB / 213.4 MB, free: 13.93 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009256/0.0009255, allocations: 90.92 kB / 261.4 MB, free: 13.56 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1567/0.1567, allocations: 43.5 MB / 352.9 MB, free: 1.965 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 6.482e-06/6.492e-06, allocations: 0 / 417.7 MB, free: 40.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2324, allocations: 58.85 MB / 476.6 MB, free: 5.305 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.928/4.16, allocations: 2.797 GB / 3.262 GB, free: 37.8 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000221/4.161, allocations: 83.95 kB / 3.262 GB, free: 37.71 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.35/5.511, allocations: 455.5 MB / 3.707 GB, free: 51 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 7.856e-05/5.511, allocations: 37.34 kB / 3.707 GB, free: 51 MB / 0.4948 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.006498/5.517, allocations: 2.349 MB / 3.71 GB, free: 49.87 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.3e-05/5.517, allocations: 11.03 kB / 3.71 GB, free: 49.87 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002781/5.52, allocations: 465.1 kB / 3.71 GB, free: 49.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00164/5.522, allocations: 0.989 MB / 3.711 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.415e-05/5.522, allocations: 52.92 kB / 3.711 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000131/5.522, allocations: 81.75 kB / 3.711 GB, free: 49.45 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001472/5.524, allocations: 0.9604 MB / 3.712 GB, free: 49.44 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001616/5.525, allocations: 1.237 MB / 3.713 GB, free: 49.15 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.964e-05/5.525, allocations: 10.84 kB / 3.713 GB, free: 49.15 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.797e-05/5.525, allocations: 3.844 kB / 3.713 GB, free: 49.15 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.557e-05/5.525, allocations: 44.73 kB / 3.713 GB, free: 49.14 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.141/5.666, allocations: 86.79 MB / 3.798 GB, free: 27.11 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005639/5.667, allocations: 354.6 kB / 3.799 GB, free: 27.09 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003776/5.667, allocations: 265.4 kB / 3.799 GB, free: 27.07 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02773/5.695, allocations: 16.64 MB / 3.815 GB, free: 16.16 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.699e-05/5.695, allocations: 45.55 kB / 3.815 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=63): time 3.076e-06/5.695, allocations: 0 / 3.815 GB, free: 16.12 MB / 0.5261 GB Notification: Performance of matching and sorting (n=66): time 0.006552/5.702, allocations: 2.088 MB / 3.817 GB, free: 15.56 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.967e-05/5.702, allocations: 136.5 kB / 3.817 GB, free: 15.4 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001052/5.703, allocations: 0.7488 MB / 3.818 GB, free: 15.24 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 6.182e-05/5.703, allocations: 27.11 kB / 3.818 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002511/5.703, allocations: 0.6109 MB / 3.819 GB, free: 14.82 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001354/5.703, allocations: 218.2 kB / 3.819 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.552e-05/5.703, allocations: 4 kB / 3.819 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001058/5.704, allocations: 352.7 kB / 3.819 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004027/5.704, allocations: 279.4 kB / 3.819 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005314/5.704, allocations: 0.7108 MB / 3.82 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001333/5.706, allocations: 495.6 kB / 3.821 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.855e-06/5.706, allocations: 5.5 kB / 3.821 GB, free: 13.78 MB / 0.5261 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.003431/5.709, allocations: 1.476 MB / 3.822 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.00154/5.711, allocations: 5.659 MB / 3.828 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.71e-05/5.711, allocations: 15.16 kB / 3.828 GB, free: 23.72 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005548/5.711, allocations: 154.5 kB / 3.828 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009784/5.712, allocations: 290 kB / 3.828 GB, free: 23.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001191/5.714, allocations: 0.8617 MB / 3.829 GB, free: 23.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00133/5.715, allocations: 120.9 kB / 3.829 GB, free: 23.16 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001417/5.715, allocations: 69.17 kB / 3.829 GB, free: 23.16 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 8.987e-06/5.715, allocations: 6.531 kB / 3.829 GB, free: 23.16 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00304/5.718, allocations: 1.085 MB / 3.83 GB, free: 23.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.419e-05/5.718, allocations: 18.34 kB / 3.83 GB, free: 23.12 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007914/5.719, allocations: 161.3 kB / 3.83 GB, free: 23.11 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009276/5.72, allocations: 299.5 kB / 3.831 GB, free: 23.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008051/5.721, allocations: 0.7559 MB / 3.831 GB, free: 22.58 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001055/5.722, allocations: 97.84 kB / 3.831 GB, free: 22.57 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001227/5.722, allocations: 64.02 kB / 3.831 GB, free: 22.57 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.0002629/5.722, allocations: 146.7 kB / 3.832 GB, free: 22.45 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008472/5.723, allocations: 323.4 kB / 3.832 GB, free: 22.4 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/5.726, allocations: 2.113 MB / 3.834 GB, free: 22.19 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/5.726, allocations: 21.61 kB / 3.834 GB, free: 22.19 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/5.726, allocations: 6.219 kB / 3.834 GB, free: 22.19 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.426e-06/5.726, allocations: 3.562 kB / 3.834 GB, free: 22.19 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0046/5.731, allocations: 3.365 MB / 3.837 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.914e-06/5.731, allocations: 3.594 kB / 3.837 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/5.732, allocations: 127.1 kB / 3.837 GB, free: 21.71 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001102/5.733, allocations: 0.7014 MB / 3.838 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/5.733, allocations: 10.94 kB / 3.838 GB, free: 21.66 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001437/5.734, allocations: 1.268 MB / 3.839 GB, free: 21.11 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.625e-06/5.734, allocations: 7.156 kB / 3.839 GB, free: 21.11 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.003355/5.738, allocations: 2.324 MB / 3.842 GB, free: 20.52 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006571/5.738, allocations: 344.2 kB / 3.842 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002929/5.738, allocations: 8.812 kB / 3.842 GB, free: 20.35 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007875/5.739, allocations: 68.56 kB / 3.842 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.307e-05/5.739, allocations: 53.7 kB / 3.842 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.326e-05/5.739, allocations: 33.66 kB / 3.842 GB, free: 20.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.001018/5.74, allocations: 0.6796 MB / 3.843 GB, free: 20.23 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.006368/5.747, allocations: 1.617 MB / 3.844 GB, free: 20.03 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.008269/5.755, allocations: 1.983 MB / 3.846 GB, free: 19.59 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002647/5.758, allocations: 1.573 MB / 3.848 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/5.758, allocations: 5.312 kB / 3.848 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0008483/5.759, allocations: 0.6962 MB / 3.848 GB, free: 19.54 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001822/5.761, allocations: 348.2 kB / 3.849 GB, free: 19.5 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004147/5.765, allocations: 2.274 MB / 3.851 GB, free: 17.82 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001039/5.766, allocations: 1.378 MB / 3.852 GB, free: 16.65 MB / 0.5417 GB Notification: Performance of SimCode: time 5.81e-07/5.766, allocations: 0 / 3.852 GB, free: 16.65 MB / 0.5417 GB Notification: Performance of Templates: time 0.2237/5.989, allocations: 49.91 MB / 3.901 GB, free: 139.7 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.sim & ./ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotorHeatTransfer/TestWaterPumpDCMotorHeatTransfer.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotorHeatTransfer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches