Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_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_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_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.001429/0.001429, allocations: 172.7 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.337/1.337, allocations: 205.2 MB / 219.8 MB, free: 14.27 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.0008016/0.0008016, allocations: 90.64 kB / 268 MB, free: 14.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.659e-05/2.67e-05, allocations: 7.984 kB / 322.5 MB, free: 17.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08508/0.08512, allocations: 47.57 MB / 370 MB, free: 1.703 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3174/0.4026, allocations: 99.92 MB / 470 MB, free: 9.672 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002011/0.4028, allocations: 81.77 kB / 470 MB, free: 9.629 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07931/0.4821, allocations: 30.85 MB / 0.4891 GB, free: 11.78 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.523e-06/0.4822, allocations: 4 kB / 0.4892 GB, free: 11.77 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.069e-05/0.4822, allocations: 32 kB / 0.4892 GB, free: 11.74 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.002124/0.4844, allocations: 1.36 MB / 0.4905 GB, free: 10.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.057e-05/0.4844, allocations: 8.031 kB / 0.4905 GB, free: 10.31 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005263/0.485, allocations: 202.1 kB / 0.4907 GB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001375/0.4863, allocations: 0.848 MB / 0.4915 GB, free: 9.223 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001414/0.4865, allocations: 115.8 kB / 0.4916 GB, free: 9.102 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001546/0.4867, allocations: 111.9 kB / 0.4918 GB, free: 8.992 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.4884, allocations: 1.084 MB / 0.4928 GB, free: 7.816 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.994e-05/0.4884, allocations: 4 kB / 0.4928 GB, free: 7.812 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.851e-05/0.4885, allocations: 48 kB / 0.4929 GB, free: 7.766 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.097e-05/0.4886, allocations: 24 kB / 0.4929 GB, free: 7.742 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001239/0.4898, allocations: 0.6952 MB / 0.4936 GB, free: 7.043 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005374/0.4952, allocations: 3.938 MB / 0.4974 GB, free: 2.91 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001331/0.4965, allocations: 0.5504 MB / 0.4979 GB, free: 2.344 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003754/0.4969, allocations: 239.9 kB / 0.4982 GB, free: 2.105 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.372e-05/0.497, allocations: 16.55 kB / 0.4982 GB, free: 2.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004538/0.4974, allocations: 267.2 kB / 0.4984 GB, free: 1.82 MB / 378.7 MB Notification: Performance of pre-optimization done (n=63): time 2.475e-06/0.4975, allocations: 0 / 0.4984 GB, free: 1.82 MB / 378.7 MB Notification: Performance of matching and sorting (n=66): time 0.002736/0.5002, allocations: 1.532 MB / 0.4999 GB, free: 232 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002025/0.5004, allocations: 483.1 kB / 0.5004 GB, free: 15.64 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001162/0.5016, allocations: 0.9209 MB / 0.5013 GB, free: 14.71 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.972e-05/0.5016, allocations: 45.7 kB / 0.5013 GB, free: 14.66 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004523/0.5021, allocations: 0.6545 MB / 0.502 GB, free: 14 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001679/0.5023, allocations: 232.6 kB / 0.5022 GB, free: 13.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.835e-05/0.5023, allocations: 20 kB / 0.5022 GB, free: 13.75 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001153/0.5024, allocations: 341.9 kB / 0.5026 GB, free: 13.41 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003763/0.5028, allocations: 226.6 kB / 0.5028 GB, free: 13.18 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006708/0.5035, allocations: 0.6743 MB / 0.5034 GB, free: 12.3 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005353/0.5041, allocations: 387.6 kB / 0.5038 GB, free: 11.91 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.999e-05/0.5041, allocations: 4 kB / 0.5038 GB, free: 11.91 MB / 394.7 MB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001798/0.5059, allocations: 1.125 MB / 0.5049 GB, free: 10.76 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.338e-05/0.506, allocations: 63.41 kB / 0.505 GB, free: 10.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.659e-05/0.506, allocations: 12 kB / 0.505 GB, free: 10.67 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006667/0.5067, allocations: 194.7 kB / 0.5052 GB, free: 10.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007154/0.5074, allocations: 219.6 kB / 0.5054 GB, free: 10.26 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003891/0.5113, allocations: 3.535 MB / 0.5088 GB, free: 6.461 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009085/0.5122, allocations: 76.03 kB / 0.5089 GB, free: 6.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.87e-05/0.5123, allocations: 47.98 kB / 0.5089 GB, free: 6.34 MB / 394.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 () * 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: 2 {(1,100.0%) 1,(3,88.9%) 12} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001801/0.5125, allocations: 176.8 kB / 0.5091 GB, free: 6.16 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.5126, allocations: 130.5 kB / 0.5092 GB, free: 6.031 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001378/0.514, allocations: 0.6843 MB / 0.5099 GB, free: 5.328 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.608e-06/0.514, allocations: 11.95 kB / 0.5099 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.514, allocations: 0 / 0.5099 GB, free: 5.316 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001206/0.5153, allocations: 0.9256 MB / 0.5108 GB, free: 4.277 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002659/0.5179, allocations: 1.774 MB / 0.5125 GB, free: 2.418 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.518, allocations: 8.219 kB / 0.5126 GB, free: 2.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005052/0.5185, allocations: 107.9 kB / 0.5127 GB, free: 2.305 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004144/0.5189, allocations: 137.8 kB / 0.5128 GB, free: 2.164 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.918e-05/0.5189, allocations: 15.98 kB / 0.5128 GB, free: 2.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002893/0.5218, allocations: 3.263 MB / 0.516 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.5219, allocations: 3.938 kB / 0.516 GB, free: 14.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001555/0.5234, allocations: 1.118 MB / 0.5171 GB, free: 13.42 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003857/0.5238, allocations: 251.6 kB / 0.5173 GB, free: 13.15 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001304/0.524, allocations: 16 kB / 0.5173 GB, free: 13.14 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005606/0.5245, allocations: 47.97 kB / 0.5174 GB, free: 13.09 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5247, allocations: 64.36 kB / 0.5174 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.5247, allocations: 20 kB / 0.5175 GB, free: 13.01 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0009104/0.5256, allocations: 0.6991 MB / 0.5181 GB, free: 12.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.5256, allocations: 0 / 0.5181 GB, free: 12.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00113/0.5268, allocations: 360 kB / 0.5185 GB, free: 11.95 MB / 410.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) * 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.0005113/0.5273, allocations: 363.6 kB / 0.5188 GB, free: 11.59 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001819/0.5291, allocations: 1.042 MB / 0.5199 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.497e-06/0.5291, allocations: 0 / 0.5199 GB, free: 10.5 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007874/0.5299, allocations: 0.5311 MB / 0.5204 GB, free: 9.938 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001151/0.5311, allocations: 306.4 kB / 0.5207 GB, free: 9.641 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.5337, allocations: 1.612 MB / 0.5222 GB, free: 7.98 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005709/0.5343, allocations: 1.113 MB / 0.5233 GB, free: 6.84 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.000519/0.5348, allocations: 141.8 kB / 0.5235 GB, free: 6.699 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001717/0.535, allocations: 75.44 kB / 0.5235 GB, free: 6.625 MB / 410.7 MB Notification: Performance of SimCode: time 2.51e-07/0.535, allocations: 0 / 0.5235 GB, free: 6.625 MB / 410.7 MB Notification: Performance of Templates: time 0.2015/0.7365, allocations: 19.02 MB / 0.5421 GB, free: 112.4 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_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_Cooling/DCPM_Cooling.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches