Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.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_Temperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_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_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001486/0.001486, allocations: 172.9 kB / 14.1 MB, free: 1.223 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.396/1.396, allocations: 205.2 MB / 219.8 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.0008501/0.0008501, allocations: 78.7 kB / 268 MB, free: 14.04 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.384e-05/2.399e-05, allocations: 4 kB / 322.4 MB, free: 17.35 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07643/0.07647, allocations: 47.58 MB / 370 MB, free: 1.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2789/0.3554, allocations: 93.76 MB / 463.8 MB, free: 15.78 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000223/0.3557, allocations: 84.08 kB / 463.9 MB, free: 15.74 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06215/0.4179, allocations: 23.95 MB / 487.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4179, allocations: 0 / 487.8 MB, free: 8.934 MB / 362.7 MB Notification: Performance of Transformations before backend: time 4.441e-05/0.418, allocations: 16 kB / 487.8 MB, free: 8.918 MB / 362.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.001469/0.4194, allocations: 1.01 MB / 488.8 MB, free: 7.859 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4195, allocations: 8.031 kB / 488.9 MB, free: 7.852 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004486/0.4199, allocations: 150.6 kB / 489 MB, free: 7.703 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00113/0.4211, allocations: 0.6795 MB / 489.7 MB, free: 6.98 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.795e-05/0.4211, allocations: 62 kB / 489.7 MB, free: 6.918 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001432/0.4213, allocations: 84 kB / 489.8 MB, free: 6.836 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001284/0.4226, allocations: 0.7795 MB / 490.6 MB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.644e-05/0.4226, allocations: 7.844 kB / 490.6 MB, free: 6.02 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.47e-05/0.4227, allocations: 36 kB / 490.6 MB, free: 5.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.731e-05/0.4227, allocations: 20 kB / 490.7 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008243/0.4235, allocations: 0.4921 MB / 491.2 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00413/0.4277, allocations: 3.663 MB / 494.8 MB, free: 1.559 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004018/0.4281, allocations: 216 kB / 495 MB, free: 1.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001559/0.4283, allocations: 102.2 kB / 495.1 MB, free: 1.238 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.007e-05/0.4283, allocations: 8 kB / 495.1 MB, free: 1.23 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.343e-05/0.4283, allocations: 34.56 kB / 495.2 MB, free: 1.188 MB / 362.7 MB Notification: Performance of pre-optimization done (n=26): time 2.394e-06/0.4284, allocations: 0 / 495.2 MB, free: 1.188 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.001371/0.4297, allocations: 0.843 MB / 496 MB, free: 292 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.853e-05/0.4298, allocations: 81.11 kB / 496.1 MB, free: 192 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008761/0.4307, allocations: 0.6763 MB / 496.8 MB, free: 15.5 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.575e-05/0.4307, allocations: 33.7 kB / 496.8 MB, free: 15.46 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000338/0.4311, allocations: 0.5022 MB / 497.3 MB, free: 14.96 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.699e-05/0.4312, allocations: 114.5 kB / 497.4 MB, free: 14.84 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.802e-05/0.4312, allocations: 8 kB / 497.4 MB, free: 14.84 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001192/0.4313, allocations: 330 kB / 497.7 MB, free: 14.51 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001892/0.4315, allocations: 105.6 kB / 497.8 MB, free: 14.4 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003598/0.4319, allocations: 411.2 kB / 498.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002885/0.4322, allocations: 176.6 kB / 498.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4322, allocations: 7.938 kB / 498.4 MB, free: 13.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008413/0.433, allocations: 0.5909 MB / 499 MB, free: 13.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.81e-05/0.4331, allocations: 12 kB / 499 MB, free: 13.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.163e-05/0.4331, allocations: 8 kB / 499 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001655/0.4332, allocations: 37.53 kB / 499.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.4337, allocations: 147.8 kB / 499.2 MB, free: 12.87 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009504/0.4347, allocations: 1.292 MB / 0.4888 GB, free: 11.45 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004734/0.4351, allocations: 39.89 kB / 0.4888 GB, free: 11.41 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.4352, allocations: 31.94 kB / 0.4888 GB, free: 11.38 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 () * 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.0001116/0.4353, allocations: 157.6 kB / 0.489 GB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.4354, allocations: 79.06 kB / 0.4891 GB, free: 11.14 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000508/0.4359, allocations: 306.8 kB / 0.4894 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.098e-06/0.436, allocations: 4 kB / 0.4894 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.875e-06/0.436, allocations: 0 / 0.4894 GB, free: 10.83 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.091e-06/0.436, allocations: 3.984 kB / 0.4894 GB, free: 10.82 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001381/0.4374, allocations: 1.063 MB / 0.4904 GB, free: 9.684 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.228e-06/0.4374, allocations: 4 kB / 0.4904 GB, free: 9.68 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.4377, allocations: 68.08 kB / 0.4905 GB, free: 9.613 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.559e-05/0.4378, allocations: 24.84 kB / 0.4905 GB, free: 9.586 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.971e-05/0.4378, allocations: 8 kB / 0.4905 GB, free: 9.578 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008275/0.4386, allocations: 1.276 MB / 0.4918 GB, free: 8.164 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.599e-06/0.4386, allocations: 7.969 kB / 0.4918 GB, free: 8.156 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006745/0.4393, allocations: 0.6191 MB / 0.4924 GB, free: 7.449 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002217/0.4395, allocations: 184.1 kB / 0.4925 GB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.4396, allocations: 8 kB / 0.4926 GB, free: 7.238 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003339/0.44, allocations: 23.98 kB / 0.4926 GB, free: 7.215 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.923e-05/0.4401, allocations: 31.92 kB / 0.4926 GB, free: 7.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.811e-05/0.4401, allocations: 15.98 kB / 0.4926 GB, free: 7.168 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006371/0.4407, allocations: 0.5109 MB / 0.4931 GB, free: 6.66 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.4407, allocations: 0 / 0.4931 GB, free: 6.66 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007421/0.4415, allocations: 211.9 kB / 0.4933 GB, free: 6.453 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 () * 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.0004105/0.4419, allocations: 318.3 kB / 0.4936 GB, free: 6.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006355/0.4425, allocations: 432.2 kB / 0.494 GB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.4426, allocations: 0 / 0.494 GB, free: 5.707 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002861/0.4429, allocations: 231.4 kB / 0.4943 GB, free: 5.469 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008535/0.4437, allocations: 203.2 kB / 0.4945 GB, free: 5.273 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001711/0.4454, allocations: 1.07 MB / 0.4955 GB, free: 4.152 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.4459, allocations: 0.9725 MB / 0.4964 GB, free: 3.152 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003682/0.4463, allocations: 106.7 kB / 0.4966 GB, free: 3.043 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.4464, allocations: 51.44 kB / 0.4966 GB, free: 2.992 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.4464, allocations: 3.938 kB / 0.4966 GB, free: 2.988 MB / 378.7 MB Notification: Performance of Templates: time 0.01863/0.4651, allocations: 11.69 MB / 0.508 GB, free: 7.281 MB / 394.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Temperature/DCPM_Temperature.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches