Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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_3.2.3_cpp_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_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor") [: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(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001674/0.001674, allocations: 170.5 kB / 8.143 MB, free: 2.207 MB / 5.871 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.646/1.646, allocations: 205.2 MB / 213.8 MB, free: 13.92 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001286/0.001286, allocations: 91.17 kB / 261.8 MB, free: 13.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.261/0.261, allocations: 43.49 MB / 353.2 MB, free: 2.035 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 9.408e-06/9.578e-06, allocations: 4 kB / 417.7 MB, free: 40.95 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2738/0.2738, allocations: 58.84 MB / 476.5 MB, free: 5.086 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.976/6.25, allocations: 2.797 GB / 3.262 GB, free: 96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002932/6.251, allocations: 93.41 kB / 3.262 GB, free: 96 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.933/8.183, allocations: 454.8 MB / 3.706 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001177/8.184, allocations: 35.81 kB / 3.706 GB, free: 64.98 MB / 0.5105 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.009629/8.193, allocations: 2.313 MB / 3.709 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/8.193, allocations: 14.66 kB / 3.709 GB, free: 63.84 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004753/8.198, allocations: 464.7 kB / 3.709 GB, free: 63.76 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003147/8.201, allocations: 0.9847 MB / 3.71 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.002e-05/8.201, allocations: 48.62 kB / 3.71 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002405/8.202, allocations: 80.38 kB / 3.71 GB, free: 63.43 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002878/8.205, allocations: 0.9338 MB / 3.711 GB, free: 63.42 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002997/8.208, allocations: 1.219 MB / 3.712 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.805e-05/8.208, allocations: 6.156 kB / 3.712 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001713/8.208, allocations: 3.406 kB / 3.712 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.214e-05/8.208, allocations: 46.44 kB / 3.712 GB, free: 63.13 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2865/8.494, allocations: 86.83 MB / 3.797 GB, free: 24.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009306/8.495, allocations: 325.4 kB / 3.797 GB, free: 24.75 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006315/8.496, allocations: 259.8 kB / 3.798 GB, free: 24.74 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.06067/8.557, allocations: 16.65 MB / 3.814 GB, free: 29.81 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.649e-05/8.557, allocations: 38.81 kB / 3.814 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=60): time 3.517e-06/8.557, allocations: 0 / 3.814 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of matching and sorting (n=63): time 0.009729/8.567, allocations: 2.05 MB / 3.816 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.749e-05/8.567, allocations: 136.4 kB / 3.816 GB, free: 29.06 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001638/8.568, allocations: 0.7481 MB / 3.817 GB, free: 28.9 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001544/8.569, allocations: 29.55 kB / 3.817 GB, free: 28.87 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003186/8.569, allocations: 0.6136 MB / 3.817 GB, free: 28.41 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/8.569, allocations: 223.4 kB / 3.818 GB, free: 28.27 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.26e-05/8.569, allocations: 0 / 3.818 GB, free: 28.27 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001645/8.569, allocations: 354.9 kB / 3.818 GB, free: 27.96 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007938/8.57, allocations: 271.5 kB / 3.818 GB, free: 27.96 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001044/8.571, allocations: 0.7109 MB / 3.819 GB, free: 27.39 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002454/8.574, allocations: 484.2 kB / 3.819 GB, free: 27.36 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.562e-05/8.574, allocations: 4.781 kB / 3.819 GB, free: 27.36 MB / 0.5417 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.006659/8.58, allocations: 1.427 MB / 3.821 GB, free: 27.27 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.002299/8.583, allocations: 5.73 MB / 3.826 GB, free: 21.25 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.095e-05/8.583, allocations: 14.19 kB / 3.826 GB, free: 21.25 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/8.584, allocations: 201.3 kB / 3.827 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001889/8.586, allocations: 280.2 kB / 3.827 GB, free: 21.23 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002111/8.588, allocations: 0.9101 MB / 3.828 GB, free: 20.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/8.59, allocations: 97.27 kB / 3.828 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001468/8.59, allocations: 64.78 kB / 3.828 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/8.59, allocations: 4.125 kB / 3.828 GB, free: 20.69 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005283/8.595, allocations: 1.089 MB / 3.829 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.937e-05/8.595, allocations: 19.12 kB / 3.829 GB, free: 20.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001345/8.597, allocations: 165.3 kB / 3.829 GB, free: 20.63 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001771/8.599, allocations: 279.2 kB / 3.829 GB, free: 20.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002129/8.601, allocations: 0.8137 MB / 3.83 GB, free: 20.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/8.602, allocations: 93.09 kB / 3.83 GB, free: 20.09 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001425/8.602, allocations: 65.78 kB / 3.83 GB, free: 20.09 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.0003641/8.603, allocations: 68.27 kB / 3.83 GB, free: 20.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001294/8.604, allocations: 323.6 kB / 3.831 GB, free: 19.99 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005002/8.609, allocations: 2.06 MB / 3.833 GB, free: 19.35 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/8.609, allocations: 15.38 kB / 3.833 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.993e-06/8.609, allocations: 0 / 3.833 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.236e-05/8.609, allocations: 3.844 kB / 3.833 GB, free: 19.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006455/8.616, allocations: 3.305 MB / 3.836 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.999e-06/8.616, allocations: 4 kB / 3.836 GB, free: 17.59 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008226/8.617, allocations: 110.4 kB / 3.836 GB, free: 17.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/8.618, allocations: 0.6649 MB / 3.837 GB, free: 17.03 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.836e-05/8.618, allocations: 11.69 kB / 3.837 GB, free: 17.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/8.621, allocations: 1.281 MB / 3.838 GB, free: 16.09 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.254e-06/8.621, allocations: 9.656 kB / 3.838 GB, free: 16.08 MB / 0.5417 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.004762/8.625, allocations: 2.279 MB / 3.84 GB, free: 14.53 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008396/8.626, allocations: 345.4 kB / 3.84 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002878/8.627, allocations: 4 kB / 3.84 GB, free: 14.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001279/8.628, allocations: 69.88 kB / 3.841 GB, free: 14.23 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/8.628, allocations: 56.14 kB / 3.841 GB, free: 14.21 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.301e-05/8.628, allocations: 29.78 kB / 3.841 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of sort global known variables: time 0.00137/8.629, allocations: 0.684 MB / 3.841 GB, free: 13.76 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007649/8.637, allocations: 1.594 MB / 3.843 GB, free: 12.27 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 3 (motor.inertiaRotor.phi,motor.inertiaRotor.w,motor.la.i) * Number of discrete variables: 9 ($cse3.phase,$cse3.region,$cse7.phase,$cse7.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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.01074/8.648, allocations: 1.99 MB / 3.845 GB, free: 10.72 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.004157/8.652, allocations: 1.509 MB / 3.846 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.927e-06/8.652, allocations: 4 kB / 3.846 GB, free: 9.781 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001266/8.653, allocations: 0.6995 MB / 3.847 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003147/8.657, allocations: 339.6 kB / 3.847 GB, free: 9.234 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005676/8.662, allocations: 2.199 MB / 3.849 GB, free: 7.469 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001388/8.664, allocations: 1.359 MB / 3.851 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of SimCode: time 1.392e-06/8.664, allocations: 0 / 3.851 GB, free: 6.32 MB / 0.5417 GB Notification: Performance of Templates: time 0.2803/8.944, allocations: 45.51 MB / 3.895 GB, free: 136.6 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Fluid/TestComponents/Machines/TestWaterPumpDCMotor/TestWaterPumpDCMotor.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestComponents.Machines.TestWaterPumpDCMotor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches