Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.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_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,tolerance=1e-06,outputFormat="mat",numberOfIntervals=500000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002478/0.002478, allocations: 177.4 kB / 17.41 MB, free: 4.285 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.851/2.851, allocations: 205.4 MB / 223.6 MB, free: 9.008 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.001061/0.00106, allocations: 96.5 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005177/0.0005179, allocations: 8 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4295, allocations: 47.57 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1957/0.6252, allocations: 100.2 MB / 475.9 MB, free: 12.36 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005124/0.6258, allocations: 91.89 kB / 476 MB, free: 12.27 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4743/1.1, allocations: 30.73 MB / 0.4949 GB, free: 95.79 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.568e-06/1.1, allocations: 0 / 0.4949 GB, free: 95.79 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001604/1.1, allocations: 30.56 kB / 0.4949 GB, free: 95.79 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: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.005972/1.106, allocations: 1.53 MB / 0.4964 GB, free: 94.99 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.037e-05/1.107, allocations: 8.75 kB / 0.4964 GB, free: 94.99 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001583/1.108, allocations: 199.4 kB / 0.4966 GB, free: 94.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003499/1.112, allocations: 0.8852 MB / 0.4975 GB, free: 94.54 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/1.112, allocations: 118 kB / 0.4976 GB, free: 94.5 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004262/1.112, allocations: 109 kB / 0.4977 GB, free: 94.5 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003904/1.116, allocations: 1.147 MB / 0.4988 GB, free: 94.26 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.839e-05/1.116, allocations: 10.19 kB / 0.4988 GB, free: 94.25 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001857/1.117, allocations: 45.34 kB / 0.4989 GB, free: 94.25 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.907e-05/1.117, allocations: 27.78 kB / 0.4989 GB, free: 94.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002914/1.12, allocations: 0.7793 MB / 0.4997 GB, free: 94.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0106/1.13, allocations: 3.953 MB / 0.5035 GB, free: 92.84 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002596/1.133, allocations: 0.6094 MB / 0.5041 GB, free: 92.8 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005608/1.134, allocations: 281.3 kB / 0.5044 GB, free: 92.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.581e-05/1.134, allocations: 10.02 kB / 0.5044 GB, free: 92.79 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006507/1.134, allocations: 308.6 kB / 0.5047 GB, free: 92.73 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 4.479e-06/1.134, allocations: 0 / 0.5047 GB, free: 92.73 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.00808/1.142, allocations: 2.125 MB / 0.5068 GB, free: 91.98 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002636/1.143, allocations: 481.2 kB / 0.5072 GB, free: 91.42 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00259/1.145, allocations: 1.064 MB / 0.5083 GB, free: 91.24 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001616/1.146, allocations: 43.27 kB / 0.5083 GB, free: 91.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007367/1.146, allocations: 0.6528 MB / 0.5089 GB, free: 90.68 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003543/1.147, allocations: 231 kB / 0.5091 GB, free: 90.51 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.12e-05/1.147, allocations: 19.03 kB / 0.5092 GB, free: 90.49 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001429/1.147, allocations: 351.2 kB / 0.5095 GB, free: 90.17 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001094/1.148, allocations: 252.6 kB / 0.5097 GB, free: 90.09 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001275/1.149, allocations: 0.724 MB / 0.5105 GB, free: 89.41 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002337/1.152, allocations: 0.9609 MB / 0.5114 GB, free: 88.67 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/1.152, allocations: 4 kB / 0.5114 GB, free: 88.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.004171/1.156, allocations: 1.175 MB / 0.5125 GB, free: 88.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.368e-05/1.156, allocations: 60.66 kB / 0.5126 GB, free: 88.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.946e-05/1.156, allocations: 14.12 kB / 0.5126 GB, free: 88.1 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009202/1.157, allocations: 169.3 kB / 0.5128 GB, free: 88.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/1.158, allocations: 214.6 kB / 0.513 GB, free: 88.03 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005577/1.164, allocations: 3.542 MB / 0.5164 GB, free: 84.94 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002291/1.166, allocations: 84.33 kB / 0.5165 GB, free: 84.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002294/1.167, allocations: 46.81 kB / 0.5166 GB, free: 84.9 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (114): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {6 9} Notification: Performance of prepare postOptimizeDAE: time 0.001394/1.168, allocations: 298 kB / 0.5168 GB, free: 84.67 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004531/1.168, allocations: 122.7 kB / 0.517 GB, free: 84.61 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00258/1.171, allocations: 0.7415 MB / 0.5177 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.207e-05/1.171, allocations: 6.594 kB / 0.5177 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.665e-06/1.171, allocations: 3.094 kB / 0.5177 GB, free: 84.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00187/1.173, allocations: 0.9666 MB / 0.5186 GB, free: 83.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005956/1.179, allocations: 1.807 MB / 0.5204 GB, free: 82.6 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.387e-06/1.179, allocations: 0 / 0.5204 GB, free: 82.6 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008308/1.18, allocations: 113.9 kB / 0.5205 GB, free: 82.59 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006898/1.181, allocations: 128.6 kB / 0.5206 GB, free: 82.55 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.56e-05/1.181, allocations: 14.22 kB / 0.5206 GB, free: 82.54 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004275/1.185, allocations: 3.286 MB / 0.5239 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.032e-06/1.185, allocations: 3.938 kB / 0.5239 GB, free: 79.54 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003711/1.189, allocations: 1.09 MB / 0.5249 GB, free: 78.97 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001133/1.19, allocations: 251.5 kB / 0.5252 GB, free: 78.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003072/1.19, allocations: 19.81 kB / 0.5252 GB, free: 78.76 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00106/1.191, allocations: 51.25 kB / 0.5252 GB, free: 78.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002289/1.192, allocations: 66.58 kB / 0.5253 GB, free: 78.73 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.306e-05/1.192, allocations: 15.66 kB / 0.5253 GB, free: 78.72 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001718/1.193, allocations: 0.7138 MB / 0.526 GB, free: 78.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.31e-07/1.193, allocations: 0 / 0.526 GB, free: 78.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002905/1.196, allocations: 350.8 kB / 0.5263 GB, free: 78.38 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,dcpm.la.i,armature.T,core.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (53): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * 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: 1 {1 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008969/1.197, allocations: 360.3 kB / 0.5267 GB, free: 78.22 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003465/1.201, allocations: 1.114 MB / 0.5278 GB, free: 77.62 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.049e-05/1.201, allocations: 4.188 kB / 0.5278 GB, free: 77.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001559/1.202, allocations: 0.5631 MB / 0.5283 GB, free: 77.27 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003667/1.206, allocations: 309.9 kB / 0.5286 GB, free: 77.16 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007817/1.214, allocations: 2.779 MB / 0.5313 GB, free: 75.51 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009008/1.215, allocations: 1.088 MB / 0.5324 GB, free: 74.78 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005833/1.216, allocations: 81.09 kB / 0.5325 GB, free: 74.77 MB / 378.7 MB Notification: Performance of SimCode: time 1.503e-06/1.216, allocations: 0 / 0.5325 GB, free: 74.77 MB / 378.7 MB Notification: Performance of Templates: time 0.05377/1.269, allocations: 26.98 MB / 0.5588 GB, free: 52.74 MB / 378.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches