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.001395/0.001395, allocations: 175.7 kB / 17.4 MB, free: 4.418 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.421/1.421, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.0007663/0.0007663, allocations: 106.8 kB / 292.6 MB, free: 10.78 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003102/0.0003102, allocations: 12 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2179/0.2183, allocations: 50.39 MB / 402.7 MB, free: 32.47 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1047/0.323, allocations: 95.15 MB / 497.9 MB, free: 1.18 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001908/0.3232, allocations: 80.67 kB / 498 MB, free: 1.102 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2463/0.5695, allocations: 23.8 MB / 0.5095 GB, free: 92.37 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.565e-06/0.5695, allocations: 0 / 0.5095 GB, free: 92.37 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.334e-05/0.5696, allocations: 25.84 kB / 0.5096 GB, free: 92.37 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.00174/0.5714, allocations: 1.116 MB / 0.5107 GB, free: 91.69 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.5714, allocations: 7.156 kB / 0.5107 GB, free: 91.69 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004634/0.5719, allocations: 158.8 kB / 0.5108 GB, free: 91.63 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.573, allocations: 0.6931 MB / 0.5115 GB, free: 91.32 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.821e-05/0.573, allocations: 66.41 kB / 0.5116 GB, free: 91.31 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001059/0.5731, allocations: 83.69 kB / 0.5116 GB, free: 91.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001225/0.5744, allocations: 0.8259 MB / 0.5124 GB, free: 91.18 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.167e-05/0.5744, allocations: 8.938 kB / 0.5125 GB, free: 91.18 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.113e-05/0.5745, allocations: 41.22 kB / 0.5125 GB, free: 91.18 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.352e-05/0.5745, allocations: 19.12 kB / 0.5125 GB, free: 91.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009468/0.5755, allocations: 0.5536 MB / 0.5131 GB, free: 91.17 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003722/0.5792, allocations: 3.656 MB / 0.5166 GB, free: 88.98 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004509/0.5797, allocations: 248.2 kB / 0.5169 GB, free: 88.88 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002109/0.5799, allocations: 132.3 kB / 0.517 GB, free: 88.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.722e-05/0.5799, allocations: 11.06 kB / 0.517 GB, free: 88.82 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.58, allocations: 34.5 kB / 0.517 GB, free: 88.78 MB / 378.7 MB Notification: Performance of pre-optimization done (n=26): time 2.705e-06/0.58, allocations: 3.422 kB / 0.517 GB, free: 88.78 MB / 378.7 MB Notification: Performance of matching and sorting (n=29): time 0.001807/0.5818, allocations: 1.108 MB / 0.5181 GB, free: 88.06 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.924e-05/0.5818, allocations: 83.55 kB / 0.5182 GB, free: 87.96 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000798/0.5826, allocations: 0.7773 MB / 0.519 GB, free: 87.62 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.5826, allocations: 33.2 kB / 0.519 GB, free: 87.58 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002142/0.5829, allocations: 0.5024 MB / 0.5195 GB, free: 87.18 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.334e-05/0.5829, allocations: 105 kB / 0.5196 GB, free: 87.11 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.822e-05/0.583, allocations: 14.19 kB / 0.5196 GB, free: 87.09 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.027e-05/0.583, allocations: 332.2 kB / 0.5199 GB, free: 86.78 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002455/0.5833, allocations: 133.4 kB / 0.52 GB, free: 86.74 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003255/0.5836, allocations: 442.9 kB / 0.5205 GB, free: 86.29 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006022/0.5842, allocations: 0.5923 MB / 0.521 GB, free: 85.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.751e-06/0.5842, allocations: 3.781 kB / 0.521 GB, free: 85.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.000912/0.5851, allocations: 0.6355 MB / 0.5217 GB, free: 85.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.924e-05/0.5852, allocations: 9.781 kB / 0.5217 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.5852, allocations: 10.91 kB / 0.5217 GB, free: 85.48 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001539/0.5853, allocations: 34.83 kB / 0.5217 GB, free: 85.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004245/0.5858, allocations: 147.1 kB / 0.5219 GB, free: 85.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006507/0.5864, allocations: 1.299 MB / 0.5231 GB, free: 84.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004861/0.5869, allocations: 46.67 kB / 0.5232 GB, free: 84.12 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.346e-05/0.587, allocations: 30.06 kB / 0.5232 GB, free: 84.11 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.0002797/0.5873, allocations: 231.8 kB / 0.5234 GB, free: 83.92 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.882e-05/0.5874, allocations: 80.12 kB / 0.5235 GB, free: 83.88 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005784/0.588, allocations: 359.6 kB / 0.5238 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.588, allocations: 3 kB / 0.5238 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.588, allocations: 1.438 kB / 0.5238 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.128e-06/0.588, allocations: 3.531 kB / 0.5238 GB, free: 83.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001354/0.5893, allocations: 1.116 MB / 0.5249 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.709e-06/0.5894, allocations: 3.375 kB / 0.5249 GB, free: 83.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003638/0.5897, allocations: 68.45 kB / 0.525 GB, free: 83.04 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.406e-05/0.5898, allocations: 23.55 kB / 0.525 GB, free: 83.03 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.836e-05/0.5899, allocations: 11.75 kB / 0.525 GB, free: 83.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006851/0.5906, allocations: 1.275 MB / 0.5263 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.5906, allocations: 3.438 kB / 0.5263 GB, free: 81.71 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007412/0.5913, allocations: 0.6037 MB / 0.5269 GB, free: 81.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001932/0.5915, allocations: 182.2 kB / 0.527 GB, free: 81.18 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.204e-05/0.5916, allocations: 11.3 kB / 0.5271 GB, free: 81.17 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003317/0.592, allocations: 25.27 kB / 0.5271 GB, free: 81.16 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.844e-05/0.5921, allocations: 29.44 kB / 0.5271 GB, free: 81.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.492e-05/0.5921, allocations: 11.23 kB / 0.5271 GB, free: 81.15 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005607/0.5926, allocations: 0.5245 MB / 0.5276 GB, free: 80.92 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5927, allocations: 0 / 0.5276 GB, free: 80.92 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0007297/0.5934, allocations: 209.8 kB / 0.5278 GB, free: 80.89 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.0004618/0.5939, allocations: 328.9 kB / 0.5281 GB, free: 80.75 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007822/0.5947, allocations: 484.8 kB / 0.5286 GB, free: 80.52 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.5947, allocations: 2 kB / 0.5286 GB, free: 80.52 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000332/0.595, allocations: 255 kB / 0.5289 GB, free: 80.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001131/0.5961, allocations: 212.4 kB / 0.5291 GB, free: 80.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002326/0.5985, allocations: 1.789 MB / 0.5308 GB, free: 79.15 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003988/0.5989, allocations: 0.9537 MB / 0.5317 GB, free: 78.29 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004093/0.5993, allocations: 107.9 kB / 0.5318 GB, free: 78.21 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.519e-05/0.5994, allocations: 51.44 kB / 0.5319 GB, free: 78.16 MB / 378.7 MB Notification: Performance of SimCode: time 3.7e-07/0.5994, allocations: 0 / 0.5319 GB, free: 78.16 MB / 378.7 MB Notification: Performance of Templates: time 0.01706/0.6165, allocations: 11.47 MB / 0.5431 GB, free: 68.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/jenkins1/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