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.001874/0.001874, allocations: 103.6 kB / 21.18 MB, free: 0.6445 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.002433/0.002433, allocations: 211.4 kB / 24.48 MB, free: 3.934 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.535/1.535, allocations: 230.5 MB / 258.1 MB, free: 7.781 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.001962/0.001962, allocations: 75.88 kB / 379 MB, free: 2.273 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2675/0.2695, allocations: 53.42 MB / 432.4 MB, free: 6.484 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01177/0.2812, allocations: 8.453 MB / 440.9 MB, free: 14 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006276/0.2875, allocations: 2.943 MB / 443.8 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001204/0.2887, allocations: 31.88 kB / 443.8 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00185/0.2906, allocations: 0.5667 MB / 444.4 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001773/0.2923, allocations: 0.5776 MB / 445 MB, free: 9.867 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008/0.2931, allocations: 319.6 kB / 445.3 MB, free: 9.555 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002278/0.2954, allocations: 1.766 MB / 447.1 MB, free: 7.781 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007393/0.2961, allocations: 425.4 kB / 447.5 MB, free: 7.336 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001089/0.2972, allocations: 0.7005 MB / 448.2 MB, free: 6.633 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000939/0.2982, allocations: 0.6412 MB / 448.8 MB, free: 5.988 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002297/0.2984, allocations: 156 kB / 449 MB, free: 5.836 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004389/0.2988, allocations: 200 kB / 449.2 MB, free: 5.641 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/0.2991, allocations: 334.8 kB / 449.5 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007352/0.2999, allocations: 0.6611 MB / 450.2 MB, free: 4.648 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002476/0.3024, allocations: 2.004 MB / 452.2 MB, free: 2.637 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.775e-06/0.3024, allocations: 4 kB / 452.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.3024, allocations: 0 / 452.2 MB, free: 2.633 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.873e-05/0.3024, allocations: 0 / 452.2 MB, free: 2.633 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.00354/0.3059, allocations: 1.759 MB / 453.9 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.306, allocations: 11.98 kB / 453.9 MB, free: 0.8086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000625/0.3066, allocations: 207.9 kB / 454.1 MB, free: 0.6055 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001648/0.3083, allocations: 0.7642 MB / 454.9 MB, free: 15.81 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002159/0.3085, allocations: 167.8 kB / 455.1 MB, free: 15.62 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001905/0.3087, allocations: 112.1 kB / 455.2 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002527/0.3112, allocations: 1.581 MB / 456.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.966e-05/0.3112, allocations: 0 / 456.8 MB, free: 13.74 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.3113, allocations: 48 kB / 456.8 MB, free: 13.69 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.29e-05/0.3114, allocations: 28 kB / 456.8 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001636/0.313, allocations: 0.7534 MB / 457.6 MB, free: 12.91 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.006482/0.3195, allocations: 3.201 MB / 460.8 MB, free: 9.562 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001825/0.3213, allocations: 0.5423 MB / 461.3 MB, free: 9.012 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005217/0.3218, allocations: 247.4 kB / 461.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.354e-05/0.3219, allocations: 8.5 kB / 461.6 MB, free: 8.758 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007513/0.3226, allocations: 327.8 kB / 461.9 MB, free: 8.418 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.356e-06/0.3227, allocations: 0 / 461.9 MB, free: 8.418 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005498/0.3281, allocations: 1.849 MB / 463.8 MB, free: 6.535 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003215/0.3285, allocations: 471.3 kB / 464.2 MB, free: 5.965 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.33, allocations: 0.9673 MB / 465.2 MB, free: 4.977 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 9.812e-05/0.3301, allocations: 37.7 kB / 465.2 MB, free: 4.934 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006775/0.3308, allocations: 0.6751 MB / 465.9 MB, free: 4.25 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002547/0.3311, allocations: 245.9 kB / 466.1 MB, free: 4.008 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003131/0.3314, allocations: 202.8 kB / 466.3 MB, free: 3.805 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.3316, allocations: 341.9 kB / 466.7 MB, free: 3.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000631/0.3322, allocations: 305.8 kB / 467 MB, free: 3.152 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001473/0.3337, allocations: 1.169 MB / 468.1 MB, free: 1.664 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.3353, allocations: 0.9373 MB / 469.1 MB, free: 0.5547 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.276e-06/0.3353, allocations: 7.938 kB / 469.1 MB, free: 0.5469 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002806/0.3381, allocations: 1.181 MB / 470.3 MB, free: 15.32 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.117e-05/0.3381, allocations: 71.39 kB / 470.3 MB, free: 15.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.748e-05/0.3382, allocations: 12 kB / 470.3 MB, free: 15.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006232/0.3388, allocations: 165.8 kB / 470.5 MB, free: 15.06 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007184/0.3395, allocations: 203.6 kB / 470.7 MB, free: 14.86 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005229/0.3447, allocations: 3.615 MB / 474.3 MB, free: 11.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/0.3458, allocations: 60.05 kB / 474.4 MB, free: 11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.596e-05/0.3458, allocations: 52 kB / 474.4 MB, free: 10.95 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.0005911/0.3464, allocations: 305.7 kB / 474.7 MB, free: 10.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.3466, allocations: 111.3 kB / 474.8 MB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001538/0.3481, allocations: 0.6851 MB / 475.5 MB, free: 9.828 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.652e-06/0.3481, allocations: 8 kB / 475.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.3481, allocations: 0 / 475.5 MB, free: 9.82 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001474/0.3496, allocations: 0.955 MB / 476.5 MB, free: 8.754 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003142/0.3528, allocations: 1.518 MB / 478 MB, free: 7.168 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.3528, allocations: 4 kB / 478 MB, free: 7.164 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005109/0.3533, allocations: 107.8 kB / 478.1 MB, free: 7.059 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004787/0.3538, allocations: 125.8 kB / 478.2 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.812e-05/0.3538, allocations: 16 kB / 478.2 MB, free: 6.914 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.3579, allocations: 3.299 MB / 481.5 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3579, allocations: 0 / 481.5 MB, free: 3.418 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002363/0.3602, allocations: 1.045 MB / 482.6 MB, free: 2.332 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006062/0.3608, allocations: 163.3 kB / 482.8 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.361, allocations: 16.12 kB / 482.8 MB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005994/0.3616, allocations: 43.91 kB / 482.8 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001728/0.3618, allocations: 56.39 kB / 482.9 MB, free: 2.059 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.135e-05/0.3618, allocations: 27.98 kB / 482.9 MB, free: 2.031 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001058/0.3629, allocations: 0.6306 MB / 483.5 MB, free: 1.391 MB / 382.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3629, allocations: 0 / 483.5 MB, free: 1.391 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001271/0.3641, allocations: 307.9 kB / 483.8 MB, free: 1.09 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.0003063/0.3644, allocations: 143 kB / 484 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00249/0.3669, allocations: 1.134 MB / 485.1 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.3669, allocations: 0 / 485.1 MB, free: 15.75 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001012/0.3679, allocations: 0.5242 MB / 485.6 MB, free: 15.2 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001515/0.3695, allocations: 294.5 kB / 485.9 MB, free: 14.91 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004473/0.3739, allocations: 2.282 MB / 488.2 MB, free: 12.57 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006535/0.3746, allocations: 0.4968 MB / 488.7 MB, free: 12.04 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003147/0.3749, allocations: 71.44 kB / 488.8 MB, free: 11.97 MB / 398.1 MB Notification: Performance of SimCode: time 1.813e-06/0.3749, allocations: 3.938 kB / 488.8 MB, free: 11.96 MB / 398.1 MB Notification: Performance of Templates: time 0.03836/0.4133, allocations: 26.02 MB / 0.5027 GB, free: 2.004 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/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: 13.081915363203734]