Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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) 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(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009551/0.0009552, allocations: 198.3 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.175/1.175, allocations: 227.2 MB / 245 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008562/0.0008562, allocations: 97.02 kB / 297.3 MB, free: 5.961 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002318/0.0002318, allocations: 8 kB / 357.9 MB, free: 9.309 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1844, allocations: 51.48 MB / 409.4 MB, free: 26.7 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09968/0.2841, allocations: 95.86 MB / 0.4934 GB, free: 10.69 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002141/0.2844, allocations: 83.95 kB / 0.4935 GB, free: 10.61 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2116/0.4959, allocations: 23.98 MB / 0.5169 GB, free: 90.44 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.496, allocations: 0 / 0.5169 GB, free: 90.44 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.675e-05/0.496, allocations: 17.81 kB / 0.517 GB, free: 90.44 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: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.001748/0.4978, allocations: 1.129 MB / 0.5181 GB, free: 89.68 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.4978, allocations: 11 kB / 0.5181 GB, free: 89.68 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00072/0.4986, allocations: 183.7 kB / 0.5182 GB, free: 89.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001122/0.4997, allocations: 0.6785 MB / 0.5189 GB, free: 89.16 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.888e-05/0.4997, allocations: 68.56 kB / 0.519 GB, free: 89.13 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001033/0.4999, allocations: 85.22 kB / 0.5191 GB, free: 89.1 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001106/0.501, allocations: 0.8118 MB / 0.5198 GB, free: 88.71 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.786e-05/0.501, allocations: 15.02 kB / 0.5199 GB, free: 88.7 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.775e-05/0.5011, allocations: 31.12 kB / 0.5199 GB, free: 88.68 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.419e-05/0.5011, allocations: 26.98 kB / 0.5199 GB, free: 88.67 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008932/0.502, allocations: 0.5507 MB / 0.5205 GB, free: 88.47 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003283/0.5053, allocations: 3.643 MB / 0.524 GB, free: 85.54 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000423/0.5057, allocations: 255.4 kB / 0.5243 GB, free: 85.4 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.5058, allocations: 5.484 kB / 0.5243 GB, free: 85.4 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.525e-05/0.5058, allocations: 38.5 kB / 0.5243 GB, free: 85.36 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 1.783e-06/0.5058, allocations: 0 / 0.5243 GB, free: 85.36 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001748/0.5075, allocations: 1.122 MB / 0.5254 GB, free: 84.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.762e-05/0.5076, allocations: 77.11 kB / 0.5255 GB, free: 84.46 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007231/0.5083, allocations: 0.6945 MB / 0.5261 GB, free: 83.95 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.82e-05/0.5083, allocations: 29.7 kB / 0.5262 GB, free: 83.91 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002173/0.5086, allocations: 0.4985 MB / 0.5267 GB, free: 83.41 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.509e-05/0.5086, allocations: 108.3 kB / 0.5268 GB, free: 83.3 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.745e-05/0.5086, allocations: 16 kB / 0.5268 GB, free: 83.29 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.695e-05/0.5087, allocations: 333.9 kB / 0.5271 GB, free: 82.96 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002436/0.5089, allocations: 129.2 kB / 0.5272 GB, free: 82.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003209/0.5093, allocations: 426.2 kB / 0.5276 GB, free: 82.28 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003093/0.5096, allocations: 207.7 kB / 0.5278 GB, free: 82.08 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.349e-06/0.5096, allocations: 4 kB / 0.5278 GB, free: 82.07 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008748/0.5105, allocations: 0.6463 MB / 0.5285 GB, free: 81.42 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.5105, allocations: 8 kB / 0.5285 GB, free: 81.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.067e-05/0.5105, allocations: 12 kB / 0.5285 GB, free: 81.4 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000122/0.5107, allocations: 32.84 kB / 0.5285 GB, free: 81.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004003/0.5111, allocations: 151.7 kB / 0.5287 GB, free: 81.21 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006088/0.5117, allocations: 1.299 MB / 0.5299 GB, free: 79.79 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004684/0.5122, allocations: 44.14 kB / 0.53 GB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.362e-05/0.5122, allocations: 35.95 kB / 0.53 GB, free: 79.71 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (75): * Single equations (assignments): 74 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002639/0.5125, allocations: 239.7 kB / 0.5302 GB, free: 79.46 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.727e-05/0.5126, allocations: 78.97 kB / 0.5303 GB, free: 79.39 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.5131, allocations: 354.4 kB / 0.5306 GB, free: 79.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.439e-06/0.5132, allocations: 4 kB / 0.5306 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.5132, allocations: 0 / 0.5306 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.449e-06/0.5132, allocations: 7.938 kB / 0.5307 GB, free: 79.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001326/0.5145, allocations: 1.113 MB / 0.5317 GB, free: 77.83 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.947e-06/0.5145, allocations: 4 kB / 0.5317 GB, free: 77.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000267/0.5148, allocations: 63.91 kB / 0.5318 GB, free: 77.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.961e-05/0.5149, allocations: 29.06 kB / 0.5318 GB, free: 77.73 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.26e-05/0.5149, allocations: 11.94 kB / 0.5318 GB, free: 77.72 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005731/0.5155, allocations: 1.284 MB / 0.5331 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.5155, allocations: 4.031 kB / 0.5331 GB, free: 76.3 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007782/0.5163, allocations: 0.6819 MB / 0.5338 GB, free: 75.53 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001997/0.5165, allocations: 176.2 kB / 0.5339 GB, free: 75.34 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-05/0.5166, allocations: 11.98 kB / 0.5339 GB, free: 75.33 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003356/0.517, allocations: 23.98 kB / 0.534 GB, free: 75.3 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.433e-05/0.517, allocations: 32 kB / 0.534 GB, free: 75.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.517, allocations: 12 kB / 0.534 GB, free: 75.26 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0004999/0.5175, allocations: 0.5225 MB / 0.5345 GB, free: 74.74 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.11e-07/0.5176, allocations: 3.938 kB / 0.5345 GB, free: 74.74 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0006464/0.5182, allocations: 208 kB / 0.5347 GB, free: 74.54 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 27 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003927/0.5186, allocations: 329 kB / 0.535 GB, free: 74.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006981/0.5193, allocations: 487.9 kB / 0.5355 GB, free: 73.75 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.5193, allocations: 0 / 0.5355 GB, free: 73.75 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.5196, allocations: 255.6 kB / 0.5357 GB, free: 73.49 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007957/0.5204, allocations: 210.8 kB / 0.5359 GB, free: 73.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001901/0.5224, allocations: 1.793 MB / 0.5377 GB, free: 71.45 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003018/0.5227, allocations: 0.9801 MB / 0.5387 GB, free: 70.44 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003494/0.523, allocations: 94.69 kB / 0.5387 GB, free: 70.34 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.956e-05/0.5231, allocations: 55.42 kB / 0.5388 GB, free: 70.29 MB / 378.7 MB Notification: Performance of SimCode: time 3.91e-07/0.5231, allocations: 4 kB / 0.5388 GB, free: 70.28 MB / 378.7 MB Notification: Performance of Templates: time 0.01581/0.539, allocations: 11.27 MB / 0.5498 GB, free: 59.12 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches