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/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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/Complex trunk/package.mo): time 0.001866/0.001866, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.444/1.444, allocations: 226.8 MB / 245.5 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009719/0.0009719, allocations: 105 kB / 296.7 MB, free: 6.449 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009511/0.0009512, allocations: 55.91 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1876/0.1886, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.007702/0.1963, allocations: 9.555 MB / 416.6 MB, free: 18.2 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004683/0.2011, allocations: 3.13 MB / 419.7 MB, free: 15.07 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000673/0.2018, allocations: 27.94 kB / 419.8 MB, free: 15.04 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001165/0.203, allocations: 0.5244 MB / 420.3 MB, free: 14.51 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0009029/0.2039, allocations: 488.5 kB / 420.8 MB, free: 14.03 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004413/0.2044, allocations: 283.7 kB / 421.1 MB, free: 13.75 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00103/0.2054, allocations: 1.681 MB / 422.7 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005719/0.206, allocations: 0.5571 MB / 423.3 MB, free: 11.48 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005359/0.2065, allocations: 0.6185 MB / 423.9 MB, free: 10.86 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005002/0.207, allocations: 0.7115 MB / 424.6 MB, free: 10.14 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001458/0.2072, allocations: 108 kB / 424.7 MB, free: 10.04 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002949/0.2075, allocations: 148 kB / 424.9 MB, free: 9.895 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001535/0.2077, allocations: 282.8 kB / 425.1 MB, free: 9.617 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004862/0.2082, allocations: 0.7579 MB / 425.9 MB, free: 8.855 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001088/0.2092, allocations: 1.907 MB / 427.8 MB, free: 6.941 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.179e-06/0.2093, allocations: 3.938 kB / 427.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.222e-06/0.2093, allocations: 0 / 427.8 MB, free: 6.938 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.88e-05/0.2093, allocations: 0 / 427.8 MB, free: 6.938 MB / 298.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.002598/0.2119, allocations: 1.797 MB / 429.6 MB, free: 5.07 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.985e-05/0.2119, allocations: 8.031 kB / 429.6 MB, free: 5.062 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004894/0.2124, allocations: 199 kB / 429.8 MB, free: 4.867 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009821/0.2134, allocations: 0.8249 MB / 430.6 MB, free: 3.996 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.2136, allocations: 112.4 kB / 430.7 MB, free: 3.879 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001129/0.2137, allocations: 116.1 kB / 430.9 MB, free: 3.766 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0015/0.2152, allocations: 1.135 MB / 432 MB, free: 2.539 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.449e-05/0.2152, allocations: 11.91 kB / 432 MB, free: 2.527 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.883e-05/0.2153, allocations: 44 kB / 432.1 MB, free: 2.484 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.2153, allocations: 24 kB / 432.1 MB, free: 2.461 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001281/0.2166, allocations: 0.7598 MB / 432.8 MB, free: 1.707 MB / 298.7 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.004792/0.2214, allocations: 3.949 MB / 436.8 MB, free: 13.55 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00149/0.2229, allocations: 0.5811 MB / 437.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005155/0.2235, allocations: 262.9 kB / 437.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.84e-05/0.2235, allocations: 9.125 kB / 437.6 MB, free: 12.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006444/0.2242, allocations: 299 kB / 437.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of pre-optimization done (n=62): time 3.917e-06/0.2242, allocations: 3.984 kB / 437.9 MB, free: 12.39 MB / 314.7 MB Notification: Performance of matching and sorting (n=65): time 0.004449/0.2286, allocations: 2.069 MB / 440 MB, free: 10.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001971/0.2289, allocations: 483.2 kB / 440.5 MB, free: 9.641 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001394/0.2303, allocations: 1.105 MB / 441.6 MB, free: 8.523 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.659e-05/0.2303, allocations: 37.7 kB / 441.6 MB, free: 8.48 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.2308, allocations: 0.6544 MB / 442.3 MB, free: 7.816 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001632/0.231, allocations: 224.8 kB / 442.5 MB, free: 7.594 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002668/0.2312, allocations: 202.7 kB / 442.7 MB, free: 7.387 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001291/0.2314, allocations: 341.9 kB / 443 MB, free: 7.047 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00053/0.2319, allocations: 246.5 kB / 443.3 MB, free: 6.809 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008332/0.2328, allocations: 0.713 MB / 444 MB, free: 5.879 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001307/0.2341, allocations: 0.9453 MB / 444.9 MB, free: 4.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-06/0.2341, allocations: 3.938 kB / 444.9 MB, free: 4.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002021/0.2361, allocations: 1.142 MB / 446.1 MB, free: 3.594 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.108e-05/0.2362, allocations: 74.2 kB / 446.1 MB, free: 3.512 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.185e-05/0.2362, allocations: 15.94 kB / 446.1 MB, free: 3.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005384/0.2368, allocations: 161.6 kB / 446.3 MB, free: 3.332 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.2374, allocations: 215.6 kB / 446.5 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003908/0.2414, allocations: 3.541 MB / 450.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009143/0.2423, allocations: 68.03 kB / 450.1 MB, free: 15.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.347e-05/0.2424, allocations: 47.98 kB / 450.2 MB, free: 15.2 MB / 330.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 (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.0004185/0.2428, allocations: 295.7 kB / 450.5 MB, free: 14.91 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001502/0.2429, allocations: 126.4 kB / 450.6 MB, free: 14.78 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001459/0.2444, allocations: 0.7077 MB / 451.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.572e-06/0.2444, allocations: 4 kB / 451.3 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.2444, allocations: 4 kB / 451.3 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001338/0.2458, allocations: 0.9568 MB / 452.3 MB, free: 12.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002775/0.2486, allocations: 1.794 MB / 454 MB, free: 11.11 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.382e-06/0.2486, allocations: 7.938 kB / 454.1 MB, free: 11.1 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.2491, allocations: 99.88 kB / 454.2 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004129/0.2495, allocations: 138.7 kB / 454.3 MB, free: 10.86 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.688e-05/0.2495, allocations: 12 kB / 454.3 MB, free: 10.85 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003115/0.2527, allocations: 3.293 MB / 457.6 MB, free: 7.289 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.968e-06/0.2527, allocations: 4.031 kB / 457.6 MB, free: 7.285 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01176/0.2644, allocations: 8.397 MB / 466 MB, free: 14.42 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.2648, allocations: 251.6 kB / 466.2 MB, free: 14.16 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001283/0.265, allocations: 23.94 kB / 466.3 MB, free: 14.13 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006043/0.2656, allocations: 39.95 kB / 466.3 MB, free: 14.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000134/0.2657, allocations: 64.56 kB / 466.4 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.499e-05/0.2658, allocations: 20 kB / 466.4 MB, free: 14.01 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009535/0.2667, allocations: 0.7406 MB / 467.1 MB, free: 13.27 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.2667, allocations: 4 kB / 467.1 MB, free: 13.26 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001315/0.2681, allocations: 459.9 kB / 467.6 MB, free: 12.81 MB / 346.7 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.0002129/0.2683, allocations: 146.2 kB / 467.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001843/0.2701, allocations: 1.077 MB / 468.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.2702, allocations: 0 / 468.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008807/0.271, allocations: 0.551 MB / 469.3 MB, free: 10.96 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001458/0.2726, allocations: 313.4 kB / 469.7 MB, free: 10.66 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004502/0.2771, allocations: 3.353 MB / 473 MB, free: 7.219 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006106/0.2777, allocations: 1.112 MB / 474.1 MB, free: 6.074 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0006323/0.2783, allocations: 153.8 kB / 474.3 MB, free: 5.922 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001824/0.2785, allocations: 75.44 kB / 474.3 MB, free: 5.848 MB / 346.7 MB Notification: Performance of SimCode: time 6.41e-07/0.2785, allocations: 4 kB / 474.3 MB, free: 5.844 MB / 346.7 MB Notification: Performance of Templates: time 0.03111/0.3097, allocations: 19.09 MB / 493.4 MB, free: 2.953 MB / 362.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches