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.001204/0.001204, allocations: 118.2 kB / 17.79 MB, free: 5.277 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001188/0.001188, allocations: 197.2 kB / 18.73 MB, free: 4.34 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.343/1.343, allocations: 227.4 MB / 246.9 MB, free: 10.5 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001124/0.001124, allocations: 63.91 kB / 358.7 MB, free: 12.89 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2525/0.2536, allocations: 50.54 MB / 409.3 MB, free: 1.582 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01019/0.2639, allocations: 9.607 MB / 418.9 MB, free: 7.938 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.005354/0.2693, allocations: 3.143 MB / 422 MB, free: 4.785 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001154/0.2704, allocations: 31.94 kB / 422 MB, free: 4.754 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001536/0.272, allocations: 0.5872 MB / 422.6 MB, free: 4.164 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001417/0.2735, allocations: 0.5541 MB / 423.2 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006482/0.2741, allocations: 315.5 kB / 423.5 MB, free: 3.297 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.001687/0.2758, allocations: 1.763 MB / 425.3 MB, free: 1.516 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007919/0.2766, allocations: 0.6375 MB / 425.9 MB, free: 0.8516 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007798/0.2774, allocations: 0.6771 MB / 426.6 MB, free: 176 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007946/0.2782, allocations: 0.7467 MB / 427.3 MB, free: 15.42 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002007/0.2784, allocations: 156 kB / 427.5 MB, free: 15.27 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000388/0.2788, allocations: 192 kB / 427.7 MB, free: 15.08 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002413/0.2791, allocations: 342.7 kB / 428 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006553/0.2797, allocations: 0.8048 MB / 428.8 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001763/0.2815, allocations: 1.985 MB / 430.8 MB, free: 11.95 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.628e-06/0.2815, allocations: 4 kB / 430.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.2815, allocations: 3.938 kB / 430.8 MB, free: 11.94 MB / 350.1 MB Notification: Performance of Transformations before backend: time 1.752e-05/0.2816, allocations: 0 / 430.8 MB, free: 11.94 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.003075/0.2846, allocations: 1.797 MB / 432.6 MB, free: 10.07 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.2847, allocations: 8.031 kB / 432.6 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005627/0.2853, allocations: 199 kB / 432.8 MB, free: 9.867 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001316/0.2866, allocations: 0.8289 MB / 433.6 MB, free: 8.996 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000133/0.2867, allocations: 116.4 kB / 433.7 MB, free: 8.875 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001518/0.2869, allocations: 120 kB / 433.9 MB, free: 8.758 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00177/0.2887, allocations: 1.142 MB / 435 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.374e-05/0.2887, allocations: 0 / 435 MB, free: 7.523 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.039e-05/0.2888, allocations: 48 kB / 435 MB, free: 7.477 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.08e-05/0.2888, allocations: 24 kB / 435.1 MB, free: 7.453 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001441/0.2903, allocations: 0.7613 MB / 435.8 MB, free: 6.691 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.005624/0.2959, allocations: 3.902 MB / 439.7 MB, free: 2.59 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001559/0.2975, allocations: 0.5843 MB / 440.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005019/0.298, allocations: 270.9 kB / 440.6 MB, free: 1.73 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.299e-05/0.2981, allocations: 12.53 kB / 440.6 MB, free: 1.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000572/0.2986, allocations: 299.3 kB / 440.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.745e-06/0.2987, allocations: 0 / 440.9 MB, free: 1.414 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.005018/0.3037, allocations: 2.077 MB / 443 MB, free: 15.24 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002747/0.304, allocations: 475.2 kB / 443.4 MB, free: 14.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001397/0.3054, allocations: 1.105 MB / 444.5 MB, free: 13.55 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.004e-05/0.3054, allocations: 41.7 kB / 444.6 MB, free: 13.5 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005061/0.306, allocations: 0.6466 MB / 445.2 MB, free: 12.85 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001745/0.3061, allocations: 232.7 kB / 445.4 MB, free: 12.62 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002782/0.3064, allocations: 202.6 kB / 445.6 MB, free: 12.41 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.3066, allocations: 345.9 kB / 446 MB, free: 12.07 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006391/0.3072, allocations: 250.5 kB / 446.2 MB, free: 11.82 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/0.3082, allocations: 0.7169 MB / 446.9 MB, free: 10.89 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.3096, allocations: 0.9375 MB / 447.9 MB, free: 9.789 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.887e-06/0.3097, allocations: 7.938 kB / 447.9 MB, free: 9.781 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002023/0.3117, allocations: 1.138 MB / 449 MB, free: 8.617 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.591e-05/0.3118, allocations: 71.39 kB / 449.1 MB, free: 8.535 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.736e-05/0.3118, allocations: 12 kB / 449.1 MB, free: 8.523 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006416/0.3124, allocations: 165.7 kB / 449.3 MB, free: 8.355 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006829/0.3131, allocations: 203.7 kB / 449.5 MB, free: 8.156 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004575/0.3177, allocations: 3.884 MB / 453.4 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009418/0.3187, allocations: 71.89 kB / 453.4 MB, free: 3.926 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.585e-05/0.3187, allocations: 44 kB / 453.5 MB, free: 3.883 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.0004653/0.3192, allocations: 301.5 kB / 453.8 MB, free: 3.578 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001495/0.3194, allocations: 122.5 kB / 453.9 MB, free: 3.457 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001504/0.3209, allocations: 0.7077 MB / 454.6 MB, free: 2.73 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.3209, allocations: 4 kB / 454.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/0.3209, allocations: 0 / 454.6 MB, free: 2.727 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001332/0.3222, allocations: 0.9607 MB / 455.6 MB, free: 1.66 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003029/0.3253, allocations: 1.789 MB / 457.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.154e-06/0.3253, allocations: 4 kB / 457.3 MB, free: 15.79 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004758/0.3258, allocations: 107.9 kB / 457.4 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004417/0.3262, allocations: 129.4 kB / 457.6 MB, free: 15.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.892e-05/0.3263, allocations: 19.98 kB / 457.6 MB, free: 15.53 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003546/0.3299, allocations: 3.591 MB / 461.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.3299, allocations: 0 / 461.2 MB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001869/0.3317, allocations: 1.042 MB / 462.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004801/0.3322, allocations: 259.6 kB / 462.5 MB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001819/0.3324, allocations: 16 kB / 462.5 MB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006563/0.3331, allocations: 39.95 kB / 462.5 MB, free: 10.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001285/0.3332, allocations: 56.38 kB / 462.6 MB, free: 10.19 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-05/0.3333, allocations: 23.98 kB / 462.6 MB, free: 10.17 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001018/0.3343, allocations: 0.7445 MB / 463.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3343, allocations: 0 / 463.4 MB, free: 9.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001053/0.3354, allocations: 308 kB / 463.7 MB, free: 9.117 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.000268/0.3357, allocations: 140.5 kB / 463.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002111/0.3378, allocations: 1.1 MB / 464.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.3378, allocations: 0 / 464.9 MB, free: 7.824 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000917/0.3387, allocations: 0.5594 MB / 465.5 MB, free: 7.238 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001428/0.3402, allocations: 323.7 kB / 465.8 MB, free: 6.922 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003838/0.344, allocations: 2.232 MB / 468 MB, free: 4.645 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007914/0.3448, allocations: 1.082 MB / 469.1 MB, free: 3.531 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005616/0.3454, allocations: 145.8 kB / 469.2 MB, free: 3.387 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.3456, allocations: 83.42 kB / 469.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.3456, allocations: 0 / 469.3 MB, free: 3.305 MB / 382.1 MB Notification: Performance of Templates: time 0.03321/0.3788, allocations: 18.22 MB / 487.5 MB, free: 1.305 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