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.001044/0.001044, allocations: 118.8 kB / 17.79 MB, free: 5.242 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001059/0.001059, allocations: 198 kB / 18.73 MB, free: 4.305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.319/1.319, allocations: 227.4 MB / 246.9 MB, free: 10.52 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 63.89 kB / 358.7 MB, free: 12.91 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2819/0.2831, allocations: 50.54 MB / 409.3 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01066/0.2938, allocations: 9.599 MB / 418.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005708/0.2995, allocations: 3.147 MB / 422 MB, free: 4.781 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007498/0.3003, allocations: 23.94 kB / 422 MB, free: 4.758 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001376/0.3017, allocations: 0.6146 MB / 422.7 MB, free: 4.141 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001119/0.3028, allocations: 0.5815 MB / 423.2 MB, free: 3.555 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006267/0.3035, allocations: 319.5 kB / 423.6 MB, free: 3.242 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001765/0.3052, allocations: 1.771 MB / 425.3 MB, free: 1.453 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000846/0.3061, allocations: 0.6297 MB / 426 MB, free: 0.7969 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000884/0.307, allocations: 0.681 MB / 426.6 MB, free: 116 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008591/0.3079, allocations: 0.743 MB / 427.4 MB, free: 15.36 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001906/0.3081, allocations: 156 kB / 427.5 MB, free: 15.21 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003522/0.3084, allocations: 204 kB / 427.7 MB, free: 15.01 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002755/0.3087, allocations: 330.8 kB / 428.1 MB, free: 14.69 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006994/0.3094, allocations: 0.7971 MB / 428.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00176/0.3112, allocations: 1.985 MB / 430.8 MB, free: 11.9 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.26e-06/0.3112, allocations: 4 kB / 430.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.3112, allocations: 0 / 430.8 MB, free: 11.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.763e-05/0.3112, allocations: 3.938 kB / 430.8 MB, free: 11.89 MB / 350.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.002947/0.3142, allocations: 1.8 MB / 432.6 MB, free: 10.02 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3142, allocations: 8.031 kB / 432.7 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005814/0.3148, allocations: 203 kB / 432.8 MB, free: 9.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001302/0.3161, allocations: 0.825 MB / 433.7 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00014/0.3163, allocations: 116.3 kB / 433.8 MB, free: 8.824 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001795/0.3165, allocations: 116 kB / 433.9 MB, free: 8.711 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001807/0.3183, allocations: 1.142 MB / 435 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.48e-05/0.3183, allocations: 7.922 kB / 435.1 MB, free: 7.469 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.3185, allocations: 48 kB / 435.1 MB, free: 7.422 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.206e-05/0.3185, allocations: 28 kB / 435.1 MB, free: 7.395 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.32, allocations: 0.7574 MB / 435.9 MB, free: 6.637 MB / 350.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.005312/0.3253, allocations: 3.91 MB / 439.8 MB, free: 2.527 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001493/0.3268, allocations: 0.5782 MB / 440.4 MB, free: 1.938 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004909/0.3273, allocations: 274.9 kB / 440.6 MB, free: 1.668 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.296e-05/0.3274, allocations: 12.56 kB / 440.7 MB, free: 1.656 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005794/0.328, allocations: 295 kB / 440.9 MB, free: 1.355 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 3.086e-06/0.328, allocations: 4 kB / 440.9 MB, free: 1.352 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004489/0.3325, allocations: 2.073 MB / 443 MB, free: 15.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002478/0.3327, allocations: 475.2 kB / 443.5 MB, free: 14.61 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001485/0.3342, allocations: 1.109 MB / 444.6 MB, free: 13.49 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.249e-05/0.3343, allocations: 37.7 kB / 444.6 MB, free: 13.45 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005057/0.3348, allocations: 0.6466 MB / 445.3 MB, free: 12.79 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001715/0.335, allocations: 232.8 kB / 445.5 MB, free: 12.56 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000271/0.3353, allocations: 198.6 kB / 445.7 MB, free: 12.36 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001309/0.3354, allocations: 349.9 kB / 446 MB, free: 12.01 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005171/0.3359, allocations: 242.5 kB / 446.3 MB, free: 11.77 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008369/0.3368, allocations: 0.7247 MB / 447 MB, free: 10.84 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.3381, allocations: 0.9375 MB / 447.9 MB, free: 9.73 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.746e-06/0.3381, allocations: 7.938 kB / 447.9 MB, free: 9.723 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002004/0.3401, allocations: 1.142 MB / 449.1 MB, free: 8.555 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.608e-05/0.3402, allocations: 63.41 kB / 449.1 MB, free: 8.48 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.797e-05/0.3402, allocations: 12 kB / 449.2 MB, free: 8.469 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005732/0.3408, allocations: 165.8 kB / 449.3 MB, free: 8.301 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006774/0.3415, allocations: 207.7 kB / 449.5 MB, free: 8.098 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004696/0.3462, allocations: 3.889 MB / 453.4 MB, free: 3.941 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008615/0.3471, allocations: 72.02 kB / 453.5 MB, free: 3.871 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.564e-05/0.3472, allocations: 48.05 kB / 453.5 MB, free: 3.824 MB / 366.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.0004088/0.3476, allocations: 301.5 kB / 453.8 MB, free: 3.52 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.3477, allocations: 126.5 kB / 453.9 MB, free: 3.395 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001417/0.3492, allocations: 0.7077 MB / 454.7 MB, free: 2.668 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.481e-06/0.3492, allocations: 4 kB / 454.7 MB, free: 2.664 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.3492, allocations: 7.938 kB / 454.7 MB, free: 2.656 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001458/0.3506, allocations: 0.9568 MB / 455.6 MB, free: 1.594 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002653/0.3533, allocations: 1.789 MB / 457.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.3533, allocations: 0 / 457.4 MB, free: 15.72 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004812/0.3538, allocations: 107.9 kB / 457.5 MB, free: 15.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004002/0.3542, allocations: 125.8 kB / 457.6 MB, free: 15.49 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.3543, allocations: 16 kB / 457.7 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003344/0.3576, allocations: 3.595 MB / 461.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.3577, allocations: 0 / 461.3 MB, free: 11.6 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001744/0.3594, allocations: 1.046 MB / 462.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003832/0.3598, allocations: 251.7 kB / 462.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001326/0.3599, allocations: 27.98 kB / 462.6 MB, free: 10.22 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/0.3605, allocations: 31.97 kB / 462.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001264/0.3607, allocations: 60.38 kB / 462.7 MB, free: 10.13 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.712e-05/0.3607, allocations: 19.98 kB / 462.7 MB, free: 10.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009855/0.3617, allocations: 0.7484 MB / 463.4 MB, free: 9.355 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3617, allocations: 0 / 463.4 MB, free: 9.355 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001003/0.3627, allocations: 308 kB / 463.7 MB, free: 9.055 MB / 382.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.0002196/0.363, allocations: 135.3 kB / 463.9 MB, free: 8.914 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001907/0.3649, allocations: 1.104 MB / 465 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.3649, allocations: 0 / 465 MB, free: 7.762 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000905/0.3658, allocations: 0.5556 MB / 465.5 MB, free: 7.18 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001299/0.3671, allocations: 330.5 kB / 465.8 MB, free: 6.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003299/0.3704, allocations: 2.216 MB / 468.1 MB, free: 4.594 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006548/0.3711, allocations: 1.082 MB / 469.1 MB, free: 3.48 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004411/0.3715, allocations: 149.8 kB / 469.3 MB, free: 3.332 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001617/0.3717, allocations: 79.42 kB / 469.4 MB, free: 3.254 MB / 382.1 MB Notification: Performance of SimCode: time 7.01e-07/0.3717, allocations: 3.938 kB / 469.4 MB, free: 3.25 MB / 382.1 MB Notification: Performance of Templates: time 0.02921/0.4009, allocations: 18.21 MB / 487.6 MB, free: 1.258 MB / 398.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