Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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) 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(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00156/0.001559, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.983/1.983, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.001065/0.001065, allocations: 90.7 kB / 267.5 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.875e-05/2.879e-05, allocations: 4 kB / 321.5 MB, free: 17.83 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09532/0.09537, allocations: 47.58 MB / 369.1 MB, free: 2.188 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4359/0.5313, allocations: 99.92 MB / 469 MB, free: 9.512 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003111/0.5317, allocations: 85.64 kB / 469.1 MB, free: 9.469 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1295/0.6612, allocations: 30.85 MB / 500 MB, free: 12.11 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.6613, allocations: 7.938 kB / 500 MB, free: 12.1 MB / 378.7 MB Notification: Performance of Transformations before backend: time 9.938e-05/0.6614, allocations: 28 kB / 500 MB, free: 12.07 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003645/0.665, allocations: 1.367 MB / 0.4896 GB, free: 10.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.6651, allocations: 8.031 kB / 0.4896 GB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009704/0.6661, allocations: 198.1 kB / 0.4898 GB, free: 10.44 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002554/0.6687, allocations: 0.8479 MB / 0.4906 GB, free: 9.551 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002065/0.6689, allocations: 111.8 kB / 0.4907 GB, free: 9.434 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002544/0.6692, allocations: 111.9 kB / 0.4908 GB, free: 9.324 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002792/0.672, allocations: 1.084 MB / 0.4919 GB, free: 8.148 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.81e-05/0.6721, allocations: 11.92 kB / 0.4919 GB, free: 8.137 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001541/0.6723, allocations: 48 kB / 0.492 GB, free: 8.09 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.444e-05/0.6723, allocations: 27.98 kB / 0.492 GB, free: 8.062 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00209/0.6744, allocations: 0.6874 MB / 0.4927 GB, free: 7.371 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009556/0.684, allocations: 3.938 MB / 0.4965 GB, free: 3.238 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002292/0.6863, allocations: 0.5463 MB / 0.497 GB, free: 2.676 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006246/0.687, allocations: 243.9 kB / 0.4973 GB, free: 2.434 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.67e-05/0.6871, allocations: 8.562 kB / 0.4973 GB, free: 2.426 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007191/0.6878, allocations: 267.2 kB / 0.4975 GB, free: 2.156 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 3.747e-06/0.6878, allocations: 0 / 0.4975 GB, free: 2.156 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.004596/0.6924, allocations: 1.548 MB / 0.499 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002694/0.6927, allocations: 475.2 kB / 0.4995 GB, free: 15.97 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002083/0.6948, allocations: 0.9249 MB / 0.5004 GB, free: 15.04 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.695, allocations: 41.7 kB / 0.5004 GB, free: 14.99 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006629/0.6957, allocations: 0.6255 MB / 0.501 GB, free: 14.36 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003225/0.696, allocations: 240.6 kB / 0.5013 GB, free: 14.12 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.978e-05/0.6961, allocations: 24 kB / 0.5013 GB, free: 14.09 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001697/0.6963, allocations: 346.8 kB / 0.5016 GB, free: 13.75 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006852/0.697, allocations: 222.6 kB / 0.5018 GB, free: 13.53 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001097/0.6981, allocations: 0.6794 MB / 0.5025 GB, free: 12.64 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009224/0.699, allocations: 376 kB / 0.5029 GB, free: 12.27 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.184e-05/0.6991, allocations: 4 kB / 0.5029 GB, free: 12.26 MB / 394.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003028/0.7021, allocations: 1.056 MB / 0.5039 GB, free: 11.18 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.884e-05/0.7022, allocations: 71.33 kB / 0.504 GB, free: 11.1 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.323e-05/0.7022, allocations: 12 kB / 0.504 GB, free: 11.09 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.7034, allocations: 189.8 kB / 0.5042 GB, free: 10.89 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001404/0.7048, allocations: 215.6 kB / 0.5044 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006279/0.7111, allocations: 3.526 MB / 0.5078 GB, free: 6.891 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001665/0.7128, allocations: 79.97 kB / 0.5079 GB, free: 6.812 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001161/0.7129, allocations: 47.98 kB / 0.5079 GB, free: 6.766 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(3,88.9%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000296/0.7133, allocations: 176.7 kB / 0.5081 GB, free: 6.586 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002404/0.7135, allocations: 130.5 kB / 0.5082 GB, free: 6.457 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.7158, allocations: 0.6882 MB / 0.5089 GB, free: 5.75 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.143e-05/0.7159, allocations: 11.95 kB / 0.5089 GB, free: 5.738 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.316e-06/0.7159, allocations: 7.938 kB / 0.5089 GB, free: 5.73 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00185/0.7177, allocations: 0.9217 MB / 0.5098 GB, free: 4.695 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004491/0.7222, allocations: 1.778 MB / 0.5116 GB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.886e-06/0.7223, allocations: 4 kB / 0.5116 GB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009654/0.7233, allocations: 112.1 kB / 0.5117 GB, free: 2.719 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007488/0.724, allocations: 145.7 kB / 0.5118 GB, free: 2.57 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.877e-05/0.7241, allocations: 12 kB / 0.5118 GB, free: 2.559 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004551/0.7287, allocations: 3.259 MB / 0.515 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.406e-06/0.7287, allocations: 0 / 0.515 GB, free: 15.03 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002927/0.7317, allocations: 1.118 MB / 0.5161 GB, free: 13.84 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007702/0.7325, allocations: 259.5 kB / 0.5163 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002319/0.7327, allocations: 16 kB / 0.5164 GB, free: 13.55 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001041/0.7338, allocations: 43.97 kB / 0.5164 GB, free: 13.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002123/0.734, allocations: 64.42 kB / 0.5165 GB, free: 13.44 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.93e-05/0.7341, allocations: 20 kB / 0.5165 GB, free: 13.42 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001573/0.7357, allocations: 0.6952 MB / 0.5172 GB, free: 12.72 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.7357, allocations: 4 kB / 0.5172 GB, free: 12.71 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00192/0.7376, allocations: 356 kB / 0.5175 GB, free: 12.37 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007665/0.7384, allocations: 367.6 kB / 0.5178 GB, free: 12 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003312/0.7417, allocations: 1.034 MB / 0.5189 GB, free: 10.92 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.514e-06/0.7418, allocations: 4.125 kB / 0.5189 GB, free: 10.91 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.7431, allocations: 0.5272 MB / 0.5194 GB, free: 10.36 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002343/0.7455, allocations: 298 kB / 0.5197 GB, free: 10.07 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004931/0.7505, allocations: 1.656 MB / 0.5213 GB, free: 8.359 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009669/0.7515, allocations: 1.113 MB / 0.5224 GB, free: 7.219 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004705/0.752, allocations: 83.44 kB / 0.5224 GB, free: 7.137 MB / 410.7 MB Notification: Performance of SimCode: time 1.072e-06/0.752, allocations: 0 / 0.5224 GB, free: 7.137 MB / 410.7 MB Notification: Performance of Templates: time 0.3409/1.093, allocations: 25.98 MB / 0.5478 GB, free: 108.9 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches