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.001695/0.001695, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.328/1.328, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008288/0.0008291, allocations: 89.98 kB / 292.1 MB, free: 5.938 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.479e-05/2.482e-05, allocations: 4 kB / 350.5 MB, free: 2.555 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08249/0.08253, allocations: 51.48 MB / 402 MB, free: 15.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2728/0.3553, allocations: 95.8 MB / 497.8 MB, free: 9.863 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001993/0.3556, allocations: 84.33 kB / 497.9 MB, free: 9.82 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06106/0.4166, allocations: 23.99 MB / 0.5097 GB, free: 3.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.583e-06/0.4167, allocations: 0 / 0.5097 GB, free: 3.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.617e-05/0.4167, allocations: 20 kB / 0.5097 GB, free: 3.324 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.001823/0.4186, allocations: 1.005 MB / 0.5107 GB, free: 2.281 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.4186, allocations: 8.031 kB / 0.5107 GB, free: 2.273 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007841/0.4194, allocations: 186.6 kB / 0.5109 GB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001297/0.4207, allocations: 0.6795 MB / 0.5115 GB, free: 1.367 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.882e-05/0.4208, allocations: 62 kB / 0.5116 GB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001096/0.4209, allocations: 85.69 kB / 0.5117 GB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001231/0.4222, allocations: 0.7795 MB / 0.5124 GB, free: 424 kB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.632e-05/0.4222, allocations: 3.906 kB / 0.5124 GB, free: 420 kB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.538e-05/0.4223, allocations: 36 kB / 0.5125 GB, free: 384 kB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.4223, allocations: 20 kB / 0.5125 GB, free: 364 kB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008377/0.4231, allocations: 0.4922 MB / 0.513 GB, free: 15.86 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004126/0.4273, allocations: 3.657 MB / 0.5165 GB, free: 11.97 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.4277, allocations: 220.1 kB / 0.5167 GB, free: 11.75 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001673/0.4279, allocations: 104.8 kB / 0.5168 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.771e-05/0.4279, allocations: 4 kB / 0.5168 GB, free: 11.64 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.739e-05/0.428, allocations: 34.56 kB / 0.5169 GB, free: 11.59 MB / 394.7 MB Notification: Performance of pre-optimization done (n=26): time 1.893e-06/0.428, allocations: 0 / 0.5169 GB, free: 11.59 MB / 394.7 MB Notification: Performance of matching and sorting (n=29): time 0.001386/0.4294, allocations: 0.8467 MB / 0.5177 GB, free: 10.69 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.421e-05/0.4294, allocations: 85.11 kB / 0.5178 GB, free: 10.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008494/0.4303, allocations: 0.6801 MB / 0.5184 GB, free: 9.906 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.4303, allocations: 29.7 kB / 0.5185 GB, free: 9.871 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000329/0.4306, allocations: 0.4984 MB / 0.519 GB, free: 9.363 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.805e-05/0.4307, allocations: 116.1 kB / 0.5191 GB, free: 9.25 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.047e-05/0.4308, allocations: 12 kB / 0.5191 GB, free: 9.238 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.4309, allocations: 330 kB / 0.5194 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001904/0.4311, allocations: 105.6 kB / 0.5195 GB, free: 8.809 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.4315, allocations: 410.5 kB / 0.5199 GB, free: 8.266 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002755/0.4317, allocations: 168.4 kB / 0.5201 GB, free: 8.102 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.578e-06/0.4318, allocations: 11.94 kB / 0.5201 GB, free: 8.09 MB / 394.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008364/0.4326, allocations: 0.5883 MB / 0.5206 GB, free: 7.492 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4326, allocations: 12 kB / 0.5206 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.072e-05/0.4326, allocations: 12.12 kB / 0.5207 GB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001301/0.4328, allocations: 40.78 kB / 0.5207 GB, free: 7.426 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004586/0.4332, allocations: 139.8 kB / 0.5208 GB, free: 7.289 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008432/0.4341, allocations: 1.288 MB / 0.5221 GB, free: 5.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004491/0.4346, allocations: 52.02 kB / 0.5221 GB, free: 5.816 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.667e-05/0.4346, allocations: 28 kB / 0.5222 GB, free: 5.789 MB / 394.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 () * 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.000102/0.4347, allocations: 144.7 kB / 0.5223 GB, free: 5.641 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.922e-05/0.4348, allocations: 79.06 kB / 0.5224 GB, free: 5.562 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004968/0.4353, allocations: 313 kB / 0.5227 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.4353, allocations: 0 / 0.5227 GB, free: 5.25 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.294e-06/0.4354, allocations: 4 kB / 0.5227 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.959e-06/0.4354, allocations: 7.984 kB / 0.5227 GB, free: 5.238 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00132/0.4367, allocations: 1.061 MB / 0.5237 GB, free: 4.102 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.601e-06/0.4367, allocations: 7.953 kB / 0.5237 GB, free: 4.094 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003049/0.437, allocations: 63.91 kB / 0.5238 GB, free: 4.031 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.129e-05/0.4371, allocations: 24.84 kB / 0.5238 GB, free: 4.004 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.036e-05/0.4371, allocations: 8 kB / 0.5238 GB, free: 3.996 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007618/0.4379, allocations: 1.275 MB / 0.5251 GB, free: 2.59 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.547e-06/0.4379, allocations: 7.969 kB / 0.5251 GB, free: 2.582 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006486/0.4386, allocations: 0.6111 MB / 0.5257 GB, free: 1.883 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002019/0.4388, allocations: 184.1 kB / 0.5259 GB, free: 1.684 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.855e-05/0.4389, allocations: 8 kB / 0.5259 GB, free: 1.676 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003466/0.4392, allocations: 27.98 kB / 0.5259 GB, free: 1.648 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.332e-05/0.4393, allocations: 27.92 kB / 0.5259 GB, free: 1.621 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.82e-05/0.4393, allocations: 15.98 kB / 0.5259 GB, free: 1.605 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006212/0.44, allocations: 0.5109 MB / 0.5264 GB, free: 1.098 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.274e-06/0.44, allocations: 0 / 0.5264 GB, free: 1.098 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006781/0.4407, allocations: 211.9 kB / 0.5266 GB, free: 0.8906 MB / 394.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 () * 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.0004192/0.4411, allocations: 330.5 kB / 0.5269 GB, free: 0.5742 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006263/0.4417, allocations: 420.8 kB / 0.5273 GB, free: 156 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4417, allocations: 4 kB / 0.5273 GB, free: 152 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003081/0.442, allocations: 231.2 kB / 0.5276 GB, free: 15.91 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008666/0.4429, allocations: 217.1 kB / 0.5278 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001669/0.4446, allocations: 1.071 MB / 0.5288 GB, free: 14.59 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004948/0.4451, allocations: 0.9725 MB / 0.5298 GB, free: 13.59 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0003635/0.4455, allocations: 98.69 kB / 0.5299 GB, free: 13.49 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001056/0.4456, allocations: 51.44 kB / 0.5299 GB, free: 13.44 MB / 410.7 MB Notification: Performance of SimCode: time 2.8e-07/0.4456, allocations: 0 / 0.5299 GB, free: 13.44 MB / 410.7 MB Notification: Performance of Templates: time 0.01906/0.4647, allocations: 11.7 MB / 0.5413 GB, free: 1.879 MB / 410.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