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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001654/0.001654, allocations: 107 kB / 19.8 MB, free: 2.5 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001948/0.001948, allocations: 218.6 kB / 23 MB, free: 5.578 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.554/1.554, allocations: 230.2 MB / 256.2 MB, free: 8.516 MB / 206.1 MB " [Timeout remaining time 178] 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=250000,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=250000,variableFilter="time|armature.T|core.T|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 67.88 kB / 376.5 MB, free: 3.551 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2715/0.2735, allocations: 53.33 MB / 429.8 MB, free: 7.512 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01149/0.285, allocations: 9.688 MB / 439.5 MB, free: 13.78 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006191/0.2911, allocations: 3.154 MB / 442.7 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001189/0.2923, allocations: 27.94 kB / 442.7 MB, free: 10.59 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001761/0.2941, allocations: 0.6212 MB / 443.3 MB, free: 9.969 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001594/0.2957, allocations: 0.5815 MB / 443.9 MB, free: 9.383 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007379/0.2964, allocations: 319.4 kB / 444.2 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002086/0.2985, allocations: 1.762 MB / 446 MB, free: 7.293 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007776/0.2993, allocations: 456.9 kB / 446.4 MB, free: 6.82 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001057/0.3003, allocations: 0.681 MB / 447.1 MB, free: 6.137 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001146/0.3015, allocations: 0.7467 MB / 447.8 MB, free: 5.387 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002371/0.3017, allocations: 156 kB / 448 MB, free: 5.234 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004096/0.3021, allocations: 200 kB / 448.2 MB, free: 5.039 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003205/0.3025, allocations: 334.8 kB / 448.5 MB, free: 4.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008888/0.3033, allocations: 0.8009 MB / 449.3 MB, free: 3.906 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.306, allocations: 1.988 MB / 451.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.306, allocations: 0 / 451.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.355e-06/0.306, allocations: 0 / 451.3 MB, free: 1.91 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.652e-05/0.3061, allocations: 0 / 451.3 MB, free: 1.91 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.003331/0.3094, allocations: 1.838 MB / 453.1 MB, free: 0 / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.541e-05/0.3095, allocations: 8.078 kB / 453.1 MB, free: 15.99 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000618/0.3101, allocations: 211.8 kB / 453.4 MB, free: 15.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001401/0.3115, allocations: 0.8374 MB / 454.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001427/0.3116, allocations: 112.4 kB / 454.3 MB, free: 14.79 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001568/0.3118, allocations: 116.1 kB / 454.4 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.3138, allocations: 1.142 MB / 455.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.571e-05/0.3138, allocations: 4 kB / 455.6 MB, free: 13.44 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.913e-05/0.3139, allocations: 51.92 kB / 455.6 MB, free: 13.39 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.577e-05/0.3139, allocations: 27.94 kB / 455.6 MB, free: 13.36 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001552/0.3155, allocations: 0.7535 MB / 456.4 MB, free: 12.61 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.006093/0.3216, allocations: 3.927 MB / 460.3 MB, free: 8.48 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001554/0.3231, allocations: 0.555 MB / 460.9 MB, free: 7.914 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005074/0.3236, allocations: 246.9 kB / 461.1 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.672e-05/0.3237, allocations: 12.55 kB / 461.1 MB, free: 7.66 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006403/0.3243, allocations: 295.1 kB / 461.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.755e-06/0.3243, allocations: 0 / 461.4 MB, free: 7.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004867/0.3292, allocations: 2.091 MB / 463.5 MB, free: 5.18 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003037/0.3295, allocations: 479.2 kB / 464 MB, free: 4.602 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001597/0.3311, allocations: 1.101 MB / 465.1 MB, free: 3.488 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.014e-05/0.3312, allocations: 45.7 kB / 465.1 MB, free: 3.438 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005772/0.3317, allocations: 0.656 MB / 465.8 MB, free: 2.773 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.3319, allocations: 249.9 kB / 466 MB, free: 2.527 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002966/0.3322, allocations: 198.8 kB / 466.2 MB, free: 2.324 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001592/0.3324, allocations: 341.9 kB / 466.6 MB, free: 1.984 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005429/0.3329, allocations: 250.5 kB / 466.8 MB, free: 1.742 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000979/0.3339, allocations: 0.713 MB / 467.5 MB, free: 0.8164 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001386/0.3353, allocations: 0.9414 MB / 468.5 MB, free: 15.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.02e-05/0.3353, allocations: 7.938 kB / 468.5 MB, free: 15.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002142/0.3375, allocations: 1.138 MB / 469.6 MB, free: 14.54 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.001e-05/0.3375, allocations: 67.52 kB / 469.7 MB, free: 14.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3375, allocations: 12 kB / 469.7 MB, free: 14.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005939/0.3381, allocations: 161.6 kB / 469.8 MB, free: 14.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006819/0.3388, allocations: 211.6 kB / 470 MB, free: 14.08 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004528/0.3433, allocations: 3.884 MB / 473.9 MB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001028/0.3444, allocations: 63.86 kB / 474 MB, free: 9.855 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.339e-05/0.3444, allocations: 55.97 kB / 474 MB, free: 9.801 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.0004924/0.3449, allocations: 293.6 kB / 474.3 MB, free: 9.504 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001648/0.3451, allocations: 131.3 kB / 474.5 MB, free: 9.375 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001549/0.3467, allocations: 0.6998 MB / 475.2 MB, free: 8.656 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.534e-06/0.3467, allocations: 8 kB / 475.2 MB, free: 8.648 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.3467, allocations: 8.125 kB / 475.2 MB, free: 8.641 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001433/0.3481, allocations: 0.9412 MB / 476.1 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00297/0.3511, allocations: 1.79 MB / 477.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.3511, allocations: 0 / 477.9 MB, free: 5.719 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004972/0.3516, allocations: 111.8 kB / 478 MB, free: 5.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.352, allocations: 125.7 kB / 478.1 MB, free: 5.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.776e-05/0.3521, allocations: 15.98 kB / 478.1 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003724/0.3558, allocations: 3.603 MB / 481.8 MB, free: 1.586 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.118e-06/0.3558, allocations: 3.938 kB / 481.8 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001942/0.3577, allocations: 1.047 MB / 482.8 MB, free: 0.4922 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004501/0.3582, allocations: 260.2 kB / 483.1 MB, free: 224 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.3583, allocations: 20 kB / 483.1 MB, free: 204 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006069/0.3589, allocations: 35.97 kB / 483.1 MB, free: 168 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001363/0.3591, allocations: 60.55 kB / 483.2 MB, free: 108 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.571e-05/0.3591, allocations: 23.98 kB / 483.2 MB, free: 84 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001118/0.3602, allocations: 0.7445 MB / 483.9 MB, free: 15.33 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3602, allocations: 7.875 kB / 483.9 MB, free: 15.32 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001108/0.3613, allocations: 307.9 kB / 484.2 MB, free: 15.02 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.0002545/0.3616, allocations: 135.2 kB / 484.4 MB, free: 14.88 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002084/0.3637, allocations: 1.065 MB / 485.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.3637, allocations: 0 / 485.4 MB, free: 13.77 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.3648, allocations: 0.5323 MB / 486 MB, free: 13.21 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001492/0.3663, allocations: 333 kB / 486.3 MB, free: 12.89 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003844/0.3701, allocations: 2.269 MB / 488.6 MB, free: 10.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007408/0.3708, allocations: 1.082 MB / 489.7 MB, free: 9.457 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005929/0.3714, allocations: 149.8 kB / 489.8 MB, free: 9.309 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001856/0.3716, allocations: 83.44 kB / 489.9 MB, free: 9.227 MB / 398.1 MB Notification: Performance of SimCode: time 1.933e-06/0.3716, allocations: 0 / 489.9 MB, free: 9.227 MB / 398.1 MB Notification: Performance of Templates: time 0.03602/0.4076, allocations: 18.71 MB / 0.4967 GB, free: 6.734 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (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) [Timeout 480] 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.1.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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 8.105417128652334]