Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001303/0.001304, allocations: 115.4 kB / 17.33 MB, free: 6.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001388/0.001388, allocations: 205.8 kB / 18.27 MB, free: 5.09 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.494/1.494, allocations: 227.4 MB / 246.4 MB, free: 10.8 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001324/0.001324, allocations: 64.48 kB / 306.4 MB, free: 0.8711 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.1049, allocations: 50.54 MB / 357 MB, free: 14.34 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01258/0.1175, allocations: 9.547 MB / 366.5 MB, free: 4.738 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007098/0.1247, allocations: 3.119 MB / 369.7 MB, free: 1.605 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.1268, allocations: 27.94 kB / 369.7 MB, free: 1.578 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00225/0.1291, allocations: 0.5244 MB / 370.2 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002405/0.1315, allocations: 496.4 kB / 370.7 MB, free: 0.5625 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008977/0.1324, allocations: 275.7 kB / 371 MB, free: 300 kB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2247/0.3571, allocations: 1.738 MB / 372.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001234/0.3584, allocations: 0.6274 MB / 373.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001537/0.3599, allocations: 0.677 MB / 374 MB, free: 10.31 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00105/0.361, allocations: 0.7476 MB / 374.8 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002384/0.3613, allocations: 158.4 kB / 374.9 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004707/0.3617, allocations: 198.4 kB / 375.1 MB, free: 10.15 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002658/0.362, allocations: 336.4 kB / 375.4 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000819/0.3628, allocations: 0.8082 MB / 376.2 MB, free: 9.875 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002279/0.3651, allocations: 1.956 MB / 378.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.602e-06/0.3651, allocations: 0 / 378.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.3652, allocations: 0 / 378.2 MB, free: 9.598 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.863e-05/0.3652, allocations: 0.9375 kB / 378.2 MB, free: 9.598 MB / 302.1 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.003473/0.3687, allocations: 1.801 MB / 380 MB, free: 8.59 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.029e-05/0.3687, allocations: 8.719 kB / 380 MB, free: 8.59 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006361/0.3694, allocations: 206.1 kB / 380.2 MB, free: 8.504 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/0.3706, allocations: 0.8149 MB / 381 MB, free: 7.98 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001262/0.3708, allocations: 122.3 kB / 381.1 MB, free: 7.906 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.3709, allocations: 103.6 kB / 381.2 MB, free: 7.875 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002132/0.3731, allocations: 1.149 MB / 382.4 MB, free: 7.266 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.022e-05/0.3731, allocations: 5.906 kB / 382.4 MB, free: 7.262 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.3732, allocations: 48.7 kB / 382.4 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.61e-05/0.3733, allocations: 25.5 kB / 382.5 MB, free: 7.227 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.3749, allocations: 0.7605 MB / 383.2 MB, free: 6.969 MB / 302.1 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006025/0.381, allocations: 3.939 MB / 387.2 MB, free: 4.566 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001492/0.3825, allocations: 0.5843 MB / 387.8 MB, free: 4.344 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004975/0.383, allocations: 272.9 kB / 388 MB, free: 4.242 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.774e-05/0.3831, allocations: 15.12 kB / 388 MB, free: 4.238 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000618/0.3837, allocations: 292.9 kB / 388.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 2.385e-06/0.3837, allocations: 0 / 388.3 MB, free: 4.109 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004953/0.3887, allocations: 2.077 MB / 390.4 MB, free: 2.941 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001341/0.3888, allocations: 480.3 kB / 390.9 MB, free: 2.375 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.3905, allocations: 1.104 MB / 392 MB, free: 1.914 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 7.066e-05/0.3905, allocations: 39.27 kB / 392 MB, free: 1.875 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004164/0.391, allocations: 0.6454 MB / 392.7 MB, free: 1.336 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.3911, allocations: 229.5 kB / 392.9 MB, free: 1.141 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002817/0.3914, allocations: 199.9 kB / 393.1 MB, free: 1.02 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 8.17e-05/0.3915, allocations: 350.8 kB / 393.4 MB, free: 0.6797 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000505/0.392, allocations: 245.6 kB / 393.7 MB, free: 0.5664 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007525/0.3928, allocations: 0.7088 MB / 394.4 MB, free: 15.84 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001345/0.3941, allocations: 0.9435 MB / 395.3 MB, free: 15.08 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.382e-06/0.3941, allocations: 2.75 kB / 395.3 MB, free: 15.08 MB / 318.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002253/0.3964, allocations: 1.143 MB / 396.5 MB, free: 14.52 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.74e-05/0.3965, allocations: 66.58 kB / 396.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.882e-05/0.3965, allocations: 11.91 kB / 396.5 MB, free: 14.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006207/0.3971, allocations: 166.5 kB / 396.7 MB, free: 14.38 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007251/0.3979, allocations: 207.8 kB / 396.9 MB, free: 14.33 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004592/0.4025, allocations: 3.887 MB / 400.8 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001627/0.4041, allocations: 81.47 kB / 400.9 MB, free: 10.7 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.326e-05/0.4042, allocations: 48.69 kB / 400.9 MB, free: 10.69 MB / 318.1 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 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(6,9)} Notification: Performance of prepare postOptimizeDAE: time 0.00062/0.4049, allocations: 293.5 kB / 401.2 MB, free: 10.46 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001891/0.4051, allocations: 129.4 kB / 401.3 MB, free: 10.4 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.4066, allocations: 0.7124 MB / 402 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.4066, allocations: 5.344 kB / 402 MB, free: 9.973 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.4066, allocations: 4 kB / 402 MB, free: 9.969 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001307/0.4079, allocations: 0.9547 MB / 403 MB, free: 9.18 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003147/0.4111, allocations: 1.788 MB / 404.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.4111, allocations: 3.094 kB / 404.8 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.4116, allocations: 107 kB / 404.9 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004567/0.4121, allocations: 132 kB / 405 MB, free: 7.812 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.926e-05/0.4121, allocations: 13.97 kB / 405 MB, free: 7.805 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00363/0.4158, allocations: 3.589 MB / 408.6 MB, free: 4.055 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.642e-06/0.4158, allocations: 7.969 kB / 408.6 MB, free: 4.047 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002083/0.4179, allocations: 1.056 MB / 409.7 MB, free: 2.953 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005383/0.4184, allocations: 255.5 kB / 409.9 MB, free: 2.684 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001593/0.4186, allocations: 19.94 kB / 410 MB, free: 2.664 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006655/0.4193, allocations: 39.97 kB / 410 MB, free: 2.625 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.4194, allocations: 60.42 kB / 410.1 MB, free: 2.566 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.043e-05/0.4195, allocations: 19.98 kB / 410.1 MB, free: 2.547 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001121/0.4206, allocations: 0.7445 MB / 410.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.773e-06/0.4206, allocations: 0 / 410.8 MB, free: 1.797 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001216/0.4218, allocations: 311.9 kB / 411.1 MB, free: 1.492 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi,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 (52): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,12)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002615/0.4221, allocations: 131.9 kB / 411.3 MB, free: 1.352 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002233/0.4244, allocations: 1.122 MB / 412.4 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4244, allocations: 0 / 412.4 MB, free: 188 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009427/0.4253, allocations: 0.5481 MB / 412.9 MB, free: 15.61 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0015/0.4268, allocations: 339.2 kB / 413.3 MB, free: 15.28 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003889/0.4307, allocations: 2.681 MB / 415.9 MB, free: 12.56 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006813/0.4314, allocations: 1.089 MB / 417 MB, free: 11.44 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006332/0.4321, allocations: 145.8 kB / 417.2 MB, free: 11.29 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001848/0.4323, allocations: 79.44 kB / 417.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of SimCode: time 8.51e-07/0.4323, allocations: 0 / 417.2 MB, free: 11.21 MB / 334.1 MB Notification: Performance of Templates: time 0.03169/0.464, allocations: 17.84 MB / 435.1 MB, free: 9.652 MB / 350.1 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches