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.0009972/0.0009973, allocations: 180.6 kB / 16.39 MB, free: 5.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.275/1.275, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009393/0.0009393, allocations: 88.98 kB / 291.5 MB, free: 10.71 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002529/0.000253, allocations: 4 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.269/0.2692, allocations: 50.4 MB / 401.5 MB, free: 32.57 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1238/0.3931, allocations: 95.06 MB / 496.6 MB, free: 1.379 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004052/0.3936, allocations: 83.95 kB / 496.6 MB, free: 1.297 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3252/0.7188, allocations: 23.91 MB / 0.5083 GB, free: 92.32 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.7188, allocations: 0 / 0.5083 GB, free: 92.32 MB / 378.7 MB Notification: Performance of Transformations before backend: time 4.672e-05/0.7189, allocations: 21.66 kB / 0.5084 GB, free: 92.32 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.001726/0.7206, allocations: 1.129 MB / 0.5095 GB, free: 91.64 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.976e-05/0.7207, allocations: 10.5 kB / 0.5095 GB, free: 91.64 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004526/0.7211, allocations: 151.2 kB / 0.5096 GB, free: 91.58 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001015/0.7222, allocations: 0.6753 MB / 0.5103 GB, free: 91.29 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.833e-05/0.7222, allocations: 71.22 kB / 0.5104 GB, free: 91.29 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.922e-05/0.7223, allocations: 90.53 kB / 0.5104 GB, free: 91.28 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/0.7235, allocations: 0.8099 MB / 0.5112 GB, free: 91.16 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.7235, allocations: 4.281 kB / 0.5112 GB, free: 91.16 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.169e-05/0.7236, allocations: 34.78 kB / 0.5113 GB, free: 91.16 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.402e-05/0.7236, allocations: 25.34 kB / 0.5113 GB, free: 91.16 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009228/0.7245, allocations: 0.5556 MB / 0.5118 GB, free: 91.14 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003509/0.7281, allocations: 3.659 MB / 0.5154 GB, free: 89 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004484/0.7285, allocations: 246.6 kB / 0.5156 GB, free: 88.9 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.845e-05/0.7286, allocations: 7.016 kB / 0.5156 GB, free: 88.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.088e-05/0.7286, allocations: 38.5 kB / 0.5157 GB, free: 88.86 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.385e-06/0.7286, allocations: 0 / 0.5157 GB, free: 88.86 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001828/0.7304, allocations: 1.11 MB / 0.5168 GB, free: 88.13 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.7305, allocations: 86.89 kB / 0.5169 GB, free: 88.04 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006901/0.7312, allocations: 0.6872 MB / 0.5175 GB, free: 87.73 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.7312, allocations: 29.7 kB / 0.5176 GB, free: 87.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002393/0.7315, allocations: 0.5009 MB / 0.518 GB, free: 87.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.638e-05/0.7315, allocations: 109 kB / 0.5181 GB, free: 87.21 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.852e-05/0.7316, allocations: 11.16 kB / 0.5182 GB, free: 87.21 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.15e-05/0.7316, allocations: 335.7 kB / 0.5185 GB, free: 86.89 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002672/0.7319, allocations: 135.6 kB / 0.5186 GB, free: 86.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003402/0.7322, allocations: 437.1 kB / 0.519 GB, free: 86.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003133/0.7326, allocations: 196.8 kB / 0.5192 GB, free: 86.32 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.7326, allocations: 3.656 kB / 0.5192 GB, free: 86.32 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0008798/0.7335, allocations: 0.6487 MB / 0.5198 GB, free: 86.03 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.7335, allocations: 13.78 kB / 0.5199 GB, free: 86.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.157e-05/0.7335, allocations: 9.25 kB / 0.5199 GB, free: 86.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001391/0.7337, allocations: 34.72 kB / 0.5199 GB, free: 86.02 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000422/0.7341, allocations: 151.5 kB / 0.52 GB, free: 86 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006732/0.7348, allocations: 1.292 MB / 0.5213 GB, free: 84.69 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005191/0.7353, allocations: 51.67 kB / 0.5214 GB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.72e-05/0.7353, allocations: 28.97 kB / 0.5214 GB, free: 84.66 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.0003416/0.7357, allocations: 238.5 kB / 0.5216 GB, free: 84.47 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.7e-05/0.7358, allocations: 86.39 kB / 0.5217 GB, free: 84.43 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006466/0.7364, allocations: 352.5 kB / 0.522 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.688e-06/0.7365, allocations: 2.781 kB / 0.522 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.7365, allocations: 7.281 kB / 0.522 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.7365, allocations: 3.562 kB / 0.522 GB, free: 84.26 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001442/0.7379, allocations: 1.112 MB / 0.5231 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.7379, allocations: 3.812 kB / 0.5231 GB, free: 83.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002784/0.7382, allocations: 70.83 kB / 0.5232 GB, free: 83.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.171e-05/0.7383, allocations: 25.09 kB / 0.5232 GB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.025e-05/0.7384, allocations: 7.969 kB / 0.5232 GB, free: 83.58 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006158/0.739, allocations: 1.281 MB / 0.5245 GB, free: 82.26 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.739, allocations: 7.062 kB / 0.5245 GB, free: 82.26 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007912/0.7398, allocations: 0.6876 MB / 0.5252 GB, free: 81.76 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.74, allocations: 188 kB / 0.5253 GB, free: 81.6 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.838e-05/0.7401, allocations: 7.062 kB / 0.5253 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003539/0.7405, allocations: 24.23 kB / 0.5254 GB, free: 81.59 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.808e-05/0.7406, allocations: 28.55 kB / 0.5254 GB, free: 81.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.66e-05/0.7406, allocations: 6.531 kB / 0.5254 GB, free: 81.58 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006173/0.7412, allocations: 0.5279 MB / 0.5259 GB, free: 81.35 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.7412, allocations: 0 / 0.5259 GB, free: 81.35 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007615/0.742, allocations: 207.4 kB / 0.5261 GB, free: 81.32 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.0003987/0.7424, allocations: 317.5 kB / 0.5264 GB, free: 81.18 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007824/0.7432, allocations: 483.4 kB / 0.5269 GB, free: 80.95 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.729e-06/0.7432, allocations: 0 / 0.5269 GB, free: 80.95 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003233/0.7436, allocations: 253.1 kB / 0.5271 GB, free: 80.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008571/0.7444, allocations: 218.3 kB / 0.5273 GB, free: 80.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002311/0.7467, allocations: 1.784 MB / 0.5291 GB, free: 79.58 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004003/0.7472, allocations: 0.9704 MB / 0.53 GB, free: 78.87 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0003756/0.7475, allocations: 102.2 kB / 0.5301 GB, free: 78.85 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.66e-05/0.7476, allocations: 56.97 kB / 0.5302 GB, free: 78.84 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.7477, allocations: 0 / 0.5302 GB, free: 78.84 MB / 378.7 MB Notification: Performance of Templates: time 0.01909/0.7667, allocations: 11.25 MB / 0.5412 GB, free: 69.34 MB / 378.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