Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001289/0.001289, allocations: 120.9 kB / 17.83 MB, free: 5.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001321/0.001321, allocations: 208.3 kB / 18.79 MB, free: 4.102 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.44/1.44, allocations: 230.4 MB / 250 MB, free: 8.984 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002898/0.002898, allocations: 63.83 kB / 367.4 MB, free: 6.996 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2592/0.2621, allocations: 53.31 MB / 420.7 MB, free: 8.297 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01157/0.2736, allocations: 9.635 MB / 430.3 MB, free: 14.62 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005444/0.2791, allocations: 3.154 MB / 433.5 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007789/0.2799, allocations: 23.94 kB / 433.5 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00151/0.2814, allocations: 0.6173 MB / 434.1 MB, free: 10.82 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001292/0.2827, allocations: 0.5893 MB / 434.7 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006481/0.2833, allocations: 315.4 kB / 435 MB, free: 9.918 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.001918/0.2852, allocations: 1.765 MB / 436.8 MB, free: 8.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007232/0.286, allocations: 448.9 kB / 437.2 MB, free: 7.672 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009091/0.2869, allocations: 0.681 MB / 437.9 MB, free: 6.988 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008655/0.2877, allocations: 0.7467 MB / 438.6 MB, free: 6.238 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000204/0.2879, allocations: 160 kB / 438.8 MB, free: 6.082 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003735/0.2883, allocations: 196 kB / 439 MB, free: 5.891 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002915/0.2886, allocations: 330.8 kB / 439.3 MB, free: 5.566 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007727/0.2894, allocations: 0.8087 MB / 440.1 MB, free: 4.754 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002382/0.2918, allocations: 1.988 MB / 442.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.2918, allocations: 0 / 442.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2918, allocations: 0 / 442.1 MB, free: 2.758 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.205e-05/0.2918, allocations: 0 / 442.1 MB, free: 2.758 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.00318/0.295, allocations: 1.842 MB / 443.9 MB, free: 0.8438 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.942e-05/0.295, allocations: 8.031 kB / 444 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005942/0.2956, allocations: 203.9 kB / 444.2 MB, free: 0.6367 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.297, allocations: 0.8454 MB / 445 MB, free: 15.75 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001547/0.2972, allocations: 112.4 kB / 445.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001626/0.2974, allocations: 116.1 kB / 445.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002098/0.2995, allocations: 1.145 MB / 446.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.651e-05/0.2995, allocations: 3.984 kB / 446.4 MB, free: 14.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.444e-05/0.2996, allocations: 48 kB / 446.4 MB, free: 14.23 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.2996, allocations: 28 kB / 446.4 MB, free: 14.2 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001603/0.3012, allocations: 0.7535 MB / 447.2 MB, free: 13.45 MB / 366.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.005801/0.307, allocations: 3.927 MB / 451.1 MB, free: 9.324 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.3085, allocations: 0.551 MB / 451.7 MB, free: 8.762 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004995/0.309, allocations: 246.9 kB / 451.9 MB, free: 8.52 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.976e-05/0.3091, allocations: 12.56 kB / 451.9 MB, free: 8.508 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006144/0.3097, allocations: 291.1 kB / 452.2 MB, free: 8.211 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.024e-06/0.3097, allocations: 0 / 452.2 MB, free: 8.211 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004534/0.3142, allocations: 2.091 MB / 454.3 MB, free: 6.027 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002546/0.3145, allocations: 479.2 kB / 454.8 MB, free: 5.449 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00149/0.316, allocations: 1.105 MB / 455.9 MB, free: 4.332 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.777e-05/0.316, allocations: 41.69 kB / 455.9 MB, free: 4.285 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000548/0.3166, allocations: 0.66 MB / 456.6 MB, free: 3.617 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002046/0.3168, allocations: 245.8 kB / 456.8 MB, free: 3.375 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002965/0.3171, allocations: 198.8 kB / 457 MB, free: 3.172 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001753/0.3172, allocations: 353.9 kB / 457.4 MB, free: 2.82 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005515/0.3178, allocations: 242.5 kB / 457.6 MB, free: 2.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001012/0.3188, allocations: 0.7118 MB / 458.3 MB, free: 1.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0015/0.3203, allocations: 0.9414 MB / 459.3 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.481e-05/0.3203, allocations: 7.938 kB / 459.3 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002173/0.3225, allocations: 1.142 MB / 460.4 MB, free: 15.38 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.042e-05/0.3226, allocations: 63.41 kB / 460.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.3226, allocations: 12 kB / 460.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005705/0.3231, allocations: 165.8 kB / 460.6 MB, free: 15.12 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006767/0.3238, allocations: 207.7 kB / 460.8 MB, free: 14.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004591/0.3284, allocations: 3.902 MB / 464.7 MB, free: 10.75 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008979/0.3293, allocations: 71.73 kB / 464.8 MB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.166e-05/0.3294, allocations: 44 kB / 464.9 MB, free: 10.63 MB / 382.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.0004976/0.3299, allocations: 293.8 kB / 465.1 MB, free: 10.34 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001846/0.3301, allocations: 131.2 kB / 465.3 MB, free: 10.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001514/0.3316, allocations: 0.7037 MB / 466 MB, free: 9.484 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3316, allocations: 4 kB / 466 MB, free: 9.48 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.3316, allocations: 4 kB / 466 MB, free: 9.477 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001416/0.333, allocations: 0.9451 MB / 466.9 MB, free: 8.426 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002928/0.3359, allocations: 1.785 MB / 468.7 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.3359, allocations: 4 kB / 468.7 MB, free: 6.555 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004895/0.3364, allocations: 103.9 kB / 468.8 MB, free: 6.453 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004265/0.3369, allocations: 129.1 kB / 468.9 MB, free: 6.324 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.788e-05/0.3369, allocations: 16 kB / 469 MB, free: 6.309 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003658/0.3406, allocations: 3.592 MB / 472.5 MB, free: 2.438 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.468e-06/0.3406, allocations: 4.188 kB / 472.6 MB, free: 2.434 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001832/0.3424, allocations: 1.047 MB / 473.6 MB, free: 1.344 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003982/0.3428, allocations: 260.2 kB / 473.9 MB, free: 1.07 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001443/0.3429, allocations: 19.98 kB / 473.9 MB, free: 1.051 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.3435, allocations: 43.97 kB / 473.9 MB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/0.3437, allocations: 60.36 kB / 474 MB, free: 0.9492 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.844e-05/0.3437, allocations: 20 kB / 474 MB, free: 0.9297 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001052/0.3448, allocations: 0.7406 MB / 474.7 MB, free: 188 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3448, allocations: 3.938 kB / 474.7 MB, free: 184 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001043/0.3458, allocations: 312 kB / 475 MB, free: 15.87 MB / 398.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.0002315/0.346, allocations: 135.2 kB / 475.2 MB, free: 15.73 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001956/0.348, allocations: 1.06 MB / 476.2 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.626e-06/0.348, allocations: 0 / 476.2 MB, free: 14.62 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009348/0.3489, allocations: 0.5409 MB / 476.8 MB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001278/0.3502, allocations: 330.5 kB / 477.1 MB, free: 13.74 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003545/0.3537, allocations: 2.258 MB / 479.4 MB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007063/0.3545, allocations: 1.086 MB / 480.4 MB, free: 10.31 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004912/0.3549, allocations: 149.8 kB / 480.6 MB, free: 10.16 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001728/0.3551, allocations: 75.44 kB / 480.7 MB, free: 10.09 MB / 398.1 MB Notification: Performance of SimCode: time 5.82e-07/0.3551, allocations: 0 / 480.7 MB, free: 10.09 MB / 398.1 MB Notification: Performance of Templates: time 0.03502/0.3901, allocations: 18.45 MB / 499.1 MB, free: 7.895 MB / 414.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches