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.001588/0.001588, allocations: 182 kB / 16.4 MB, free: 5.723 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.946/1.946, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001165/0.001165, allocations: 93.28 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003882/0.0003882, allocations: 8 kB / 327 MB, free: 212 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3264/0.3268, allocations: 47.57 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1649/0.4918, allocations: 100 MB / 474.6 MB, free: 12.71 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000321/0.4922, allocations: 87.95 kB / 474.6 MB, free: 12.62 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3991/0.8913, allocations: 30.84 MB / 0.4936 GB, free: 95.41 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.8914, allocations: 1.938 kB / 0.4936 GB, free: 95.41 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001267/0.8915, allocations: 27.7 kB / 0.4937 GB, free: 95.41 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.005478/0.897, allocations: 1.552 MB / 0.4952 GB, free: 94.62 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.8971, allocations: 12.84 kB / 0.4952 GB, free: 94.62 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0013/0.8984, allocations: 198.5 kB / 0.4954 GB, free: 94.54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002895/0.9013, allocations: 0.8497 MB / 0.4962 GB, free: 94.21 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002224/0.9016, allocations: 121.7 kB / 0.4963 GB, free: 94.17 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003376/0.902, allocations: 106 kB / 0.4964 GB, free: 94.17 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003484/0.9055, allocations: 1.133 MB / 0.4975 GB, free: 93.93 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.758e-05/0.9056, allocations: 7.547 kB / 0.4975 GB, free: 93.93 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000175/0.9058, allocations: 51.28 kB / 0.4976 GB, free: 93.93 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.551e-05/0.9058, allocations: 25.31 kB / 0.4976 GB, free: 93.93 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003099/0.9089, allocations: 0.7771 MB / 0.4984 GB, free: 93.91 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01068/0.9197, allocations: 3.946 MB / 0.5022 GB, free: 92.5 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002834/0.9226, allocations: 0.6068 MB / 0.5028 GB, free: 92.47 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.9227, allocations: 14.78 kB / 0.5028 GB, free: 92.47 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001065/0.9238, allocations: 313.2 kB / 0.5031 GB, free: 92.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 4.037e-06/0.9238, allocations: 0 / 0.5031 GB, free: 92.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.008209/0.9321, allocations: 2.118 MB / 0.5052 GB, free: 91.67 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001638/0.9323, allocations: 475.7 kB / 0.5057 GB, free: 91.11 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.9343, allocations: 0.9376 MB / 0.5066 GB, free: 90.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000169/0.9345, allocations: 44.98 kB / 0.5066 GB, free: 90.92 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000511/0.935, allocations: 0.6351 MB / 0.5072 GB, free: 90.57 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002791/0.9353, allocations: 233.4 kB / 0.5075 GB, free: 90.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.572e-05/0.9354, allocations: 22.56 kB / 0.5075 GB, free: 90.39 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001004/0.9355, allocations: 351 kB / 0.5078 GB, free: 90.05 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008952/0.9364, allocations: 262.1 kB / 0.5081 GB, free: 89.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001131/0.9375, allocations: 0.7127 MB / 0.5088 GB, free: 89.3 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/0.9387, allocations: 410.3 kB / 0.5091 GB, free: 89.09 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/0.9387, allocations: 3.375 kB / 0.5092 GB, free: 89.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.003124/0.9419, allocations: 1.085 MB / 0.5102 GB, free: 88.66 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.942, allocations: 69.66 kB / 0.5103 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.419e-05/0.942, allocations: 11.5 kB / 0.5103 GB, free: 88.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008649/0.9429, allocations: 173.3 kB / 0.5105 GB, free: 88.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/0.9443, allocations: 214.6 kB / 0.5107 GB, free: 88.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/0.9498, allocations: 3.589 MB / 0.5142 GB, free: 85.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/0.9516, allocations: 85.14 kB / 0.5142 GB, free: 85.37 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001375/0.9518, allocations: 45 kB / 0.5143 GB, free: 85.36 MB / 378.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 () * Number of clocked 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.0007836/0.9526, allocations: 301.5 kB / 0.5146 GB, free: 85.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.9529, allocations: 130 kB / 0.5147 GB, free: 85.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002455/0.9554, allocations: 0.718 MB / 0.5154 GB, free: 84.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.369e-05/0.9554, allocations: 10.55 kB / 0.5154 GB, free: 84.74 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.777e-06/0.9554, allocations: 8.906 kB / 0.5154 GB, free: 84.74 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001961/0.9574, allocations: 0.9625 MB / 0.5164 GB, free: 84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004898/0.9623, allocations: 1.814 MB / 0.5181 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.267e-06/0.9624, allocations: 3.781 kB / 0.5181 GB, free: 83.06 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009369/0.9634, allocations: 118.3 kB / 0.5182 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006933/0.9641, allocations: 122.9 kB / 0.5184 GB, free: 83.01 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.67e-05/0.9642, allocations: 19.14 kB / 0.5184 GB, free: 83 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00426/0.9684, allocations: 3.309 MB / 0.5216 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.9685, allocations: 3.219 kB / 0.5216 GB, free: 80.01 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003306/0.9718, allocations: 1.195 MB / 0.5228 GB, free: 79.3 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008389/0.9727, allocations: 250.2 kB / 0.523 GB, free: 79.1 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002786/0.973, allocations: 20.47 kB / 0.523 GB, free: 79.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001036/0.9741, allocations: 47.28 kB / 0.5231 GB, free: 79.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002488/0.9743, allocations: 67.89 kB / 0.5232 GB, free: 79.06 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.472e-05/0.9744, allocations: 18.72 kB / 0.5232 GB, free: 79.06 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001432/0.9758, allocations: 0.7056 MB / 0.5239 GB, free: 78.75 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.51e-07/0.9759, allocations: 0 / 0.5239 GB, free: 78.75 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002031/0.9779, allocations: 362.1 kB / 0.5242 GB, free: 78.71 MB / 378.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) * Number of clocked states: 0 () * 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.0007517/0.9787, allocations: 357.3 kB / 0.5245 GB, free: 78.56 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003118/0.9818, allocations: 1.109 MB / 0.5256 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.275e-06/0.9819, allocations: 2.906 kB / 0.5256 GB, free: 77.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001503/0.9834, allocations: 0.5584 MB / 0.5262 GB, free: 77.61 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002402/0.9859, allocations: 312.6 kB / 0.5265 GB, free: 77.5 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006039/0.9919, allocations: 2.777 MB / 0.5292 GB, free: 75.85 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006608/0.9927, allocations: 1.112 MB / 0.5303 GB, free: 75.12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004233/0.9931, allocations: 87.98 kB / 0.5304 GB, free: 75.11 MB / 378.7 MB Notification: Performance of SimCode: time 1.183e-06/0.9931, allocations: 0 / 0.5304 GB, free: 75.11 MB / 378.7 MB Notification: Performance of Templates: time 0.04242/1.036, allocations: 25.93 MB / 0.5557 GB, free: 55.09 MB / 378.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