Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001435/0.001435, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.379/1.379, allocations: 221.5 MB / 230.3 MB, free: 7.555 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008985/0.0008984, allocations: 85.28 kB / 281.2 MB, free: 5.309 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.467e-05/1.468e-05, allocations: 4 kB / 337 MB, free: 10.01 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0833/0.08333, allocations: 50.42 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2881/0.3715, allocations: 94.32 MB / 481.8 MB, free: 488 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002107/0.3717, allocations: 79.95 kB / 481.9 MB, free: 408 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06041/0.4321, allocations: 23.6 MB / 0.4936 GB, free: 8.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4322, allocations: 0 / 0.4936 GB, free: 8.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.252e-05/0.4322, allocations: 20 kB / 0.4936 GB, free: 8.641 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.001563/0.4338, allocations: 1.014 MB / 0.4946 GB, free: 7.582 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.588e-05/0.4338, allocations: 12.02 kB / 0.4946 GB, free: 7.57 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004638/0.4343, allocations: 154.6 kB / 0.4948 GB, free: 7.418 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001103/0.4354, allocations: 0.664 MB / 0.4954 GB, free: 6.703 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.17e-05/0.4355, allocations: 31.95 kB / 0.4955 GB, free: 6.672 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.996e-05/0.4356, allocations: 56 kB / 0.4955 GB, free: 6.617 MB / 378.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008024/0.4364, allocations: 448 kB / 0.4959 GB, free: 6.18 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001104/0.4375, allocations: 0.6623 MB / 0.4966 GB, free: 5.488 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.624e-05/0.4375, allocations: 3.906 kB / 0.4966 GB, free: 5.484 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.87e-05/0.4376, allocations: 7.938 kB / 0.4966 GB, free: 5.477 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.4376, allocations: 24 kB / 0.4966 GB, free: 5.453 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003881/0.4415, allocations: 3.469 MB / 0.5 GB, free: 1.75 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003954/0.4419, allocations: 212.4 kB / 0.5002 GB, free: 1.535 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001477/0.4421, allocations: 96.78 kB / 0.5003 GB, free: 1.438 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.797e-05/0.4421, allocations: 3.984 kB / 0.5003 GB, free: 1.434 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.899e-05/0.4422, allocations: 38.56 kB / 0.5004 GB, free: 1.387 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.725e-06/0.4422, allocations: 3.938 kB / 0.5004 GB, free: 1.383 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001389/0.4436, allocations: 0.7735 MB / 0.5011 GB, free: 0.5508 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.4436, allocations: 89 kB / 0.5012 GB, free: 456 kB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006166/0.4442, allocations: 0.519 MB / 0.5017 GB, free: 15.92 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.153e-05/0.4443, allocations: 25.7 kB / 0.5017 GB, free: 15.89 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.4446, allocations: 0.5132 MB / 0.5022 GB, free: 15.37 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.246e-05/0.4447, allocations: 102.6 kB / 0.5023 GB, free: 15.27 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.583e-05/0.4447, allocations: 0 / 0.5023 GB, free: 15.27 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001615/0.4449, allocations: 374.8 kB / 0.5027 GB, free: 14.89 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001583/0.445, allocations: 101.6 kB / 0.5028 GB, free: 14.79 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003652/0.4454, allocations: 378 kB / 0.5031 GB, free: 14.28 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002468/0.4457, allocations: 172.6 kB / 0.5033 GB, free: 14.11 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.4457, allocations: 0 / 0.5033 GB, free: 14.11 MB / 394.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0007548/0.4464, allocations: 0.4979 MB / 0.5038 GB, free: 13.61 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.801e-05/0.4464, allocations: 8 kB / 0.5038 GB, free: 13.6 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.08e-05/0.4465, allocations: 8 kB / 0.5038 GB, free: 13.59 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000128/0.4466, allocations: 32.86 kB / 0.5038 GB, free: 13.55 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004649/0.4471, allocations: 156 kB / 0.504 GB, free: 13.4 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008736/0.448, allocations: 1.244 MB / 0.5052 GB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004412/0.4484, allocations: 39.95 kB / 0.5052 GB, free: 12 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.326e-05/0.4485, allocations: 32 kB / 0.5053 GB, free: 11.97 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.0001151/0.4486, allocations: 128.7 kB / 0.5054 GB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.311e-05/0.4487, allocations: 59.25 kB / 0.5055 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005056/0.4492, allocations: 273.3 kB / 0.5057 GB, free: 11.5 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/0.4492, allocations: 4 kB / 0.5057 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.4493, allocations: 0 / 0.5057 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.212e-06/0.4493, allocations: 3.984 kB / 0.5057 GB, free: 11.49 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001274/0.4505, allocations: 0.9382 MB / 0.5066 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.4506, allocations: 4 kB / 0.5066 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.4509, allocations: 67.89 kB / 0.5067 GB, free: 10.41 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.925e-05/0.4509, allocations: 21.08 kB / 0.5067 GB, free: 10.39 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.451, allocations: 8 kB / 0.5067 GB, free: 10.38 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008115/0.4518, allocations: 1.225 MB / 0.5079 GB, free: 9.047 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.4518, allocations: 4.031 kB / 0.5079 GB, free: 9.043 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006407/0.4525, allocations: 0.5649 MB / 0.5085 GB, free: 8.391 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002001/0.4527, allocations: 176.2 kB / 0.5087 GB, free: 8.199 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.262e-05/0.4528, allocations: 11.94 kB / 0.5087 GB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003075/0.4531, allocations: 19.98 kB / 0.5087 GB, free: 8.168 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.4531, allocations: 27.86 kB / 0.5087 GB, free: 8.141 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.658e-05/0.4532, allocations: 8 kB / 0.5087 GB, free: 8.133 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0004769/0.4537, allocations: 399.2 kB / 0.5091 GB, free: 7.75 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4537, allocations: 0 / 0.5091 GB, free: 7.75 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0006448/0.4543, allocations: 156 kB / 0.5092 GB, free: 7.598 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.0003909/0.4547, allocations: 286.1 kB / 0.5095 GB, free: 7.309 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0006052/0.4553, allocations: 388 kB / 0.5099 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.4553, allocations: 11.94 kB / 0.5099 GB, free: 6.91 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002725/0.4556, allocations: 209.5 kB / 0.5101 GB, free: 6.695 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007367/0.4564, allocations: 150 kB / 0.5102 GB, free: 6.551 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001744/0.4581, allocations: 1.033 MB / 0.5113 GB, free: 5.469 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005125/0.4587, allocations: 0.9795 MB / 0.5122 GB, free: 4.461 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0003173/0.459, allocations: 81.44 kB / 0.5123 GB, free: 4.379 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.184e-05/0.4591, allocations: 43.44 kB / 0.5123 GB, free: 4.336 MB / 394.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4591, allocations: 0 / 0.5123 GB, free: 4.336 MB / 394.7 MB Notification: Performance of Templates: time 0.01324/0.4723, allocations: 7.34 MB / 0.5195 GB, free: 13.07 MB / 410.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Temperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches