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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00174/0.00174, allocations: 109.1 kB / 21.17 MB, free: 0.7617 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.002115/0.002115, allocations: 214.4 kB / 24.46 MB, free: 4.207 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.411/1.411, allocations: 230.5 MB / 258.1 MB, free: 8.133 MB / 206.1 MB " [Timeout remaining time 178] 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=250000,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=250000,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") [Timeout 660] "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.001922/0.001922, allocations: 71.81 kB / 378.8 MB, free: 2.867 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2543, allocations: 53.31 MB / 432.1 MB, free: 7.379 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01142/0.2657, allocations: 9.688 MB / 441.8 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005594/0.2713, allocations: 3.162 MB / 444.9 MB, free: 10.48 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008698/0.2722, allocations: 27.94 kB / 445 MB, free: 10.45 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001496/0.2736, allocations: 0.6173 MB / 445.6 MB, free: 9.832 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001297/0.2749, allocations: 0.5776 MB / 446.1 MB, free: 9.25 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006591/0.2756, allocations: 319.5 kB / 446.5 MB, free: 8.938 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002014/0.2776, allocations: 1.758 MB / 448.2 MB, free: 7.168 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007168/0.2783, allocations: 452.9 kB / 448.7 MB, free: 6.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009088/0.2792, allocations: 0.6732 MB / 449.3 MB, free: 6.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009599/0.2802, allocations: 0.7545 MB / 450.1 MB, free: 5.266 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002008/0.2804, allocations: 159.9 kB / 450.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003879/0.2808, allocations: 200 kB / 450.4 MB, free: 4.914 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002887/0.2811, allocations: 330.8 kB / 450.8 MB, free: 4.59 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000794/0.2819, allocations: 0.8126 MB / 451.6 MB, free: 3.773 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002336/0.2842, allocations: 1.988 MB / 453.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.2842, allocations: 0 / 453.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.402e-06/0.2842, allocations: 0 / 453.6 MB, free: 1.777 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.755e-05/0.2842, allocations: 0 / 453.6 MB, free: 1.777 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.003389/0.2876, allocations: 1.838 MB / 455.4 MB, free: 15.87 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.657e-05/0.2877, allocations: 8.031 kB / 455.4 MB, free: 15.86 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005783/0.2882, allocations: 211.9 kB / 455.6 MB, free: 15.65 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001447/0.2897, allocations: 0.8374 MB / 456.5 MB, free: 14.77 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001523/0.2898, allocations: 116.4 kB / 456.6 MB, free: 14.65 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.29, allocations: 116.1 kB / 456.7 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001916/0.2919, allocations: 1.139 MB / 457.8 MB, free: 13.31 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/0.292, allocations: 7.984 kB / 457.8 MB, free: 13.3 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.725e-05/0.2921, allocations: 44 kB / 457.9 MB, free: 13.26 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.2921, allocations: 28 kB / 457.9 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001564/0.2936, allocations: 0.7574 MB / 458.7 MB, free: 12.47 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.006014/0.2997, allocations: 3.927 MB / 462.6 MB, free: 8.348 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.3012, allocations: 0.5468 MB / 463.1 MB, free: 7.789 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000507/0.3017, allocations: 250.8 kB / 463.4 MB, free: 7.543 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.094e-05/0.3018, allocations: 9.109 kB / 463.4 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006163/0.3024, allocations: 299 kB / 463.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.514e-06/0.3024, allocations: 0 / 463.7 MB, free: 7.234 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004723/0.3071, allocations: 2.094 MB / 465.8 MB, free: 5.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002654/0.3074, allocations: 479.2 kB / 466.2 MB, free: 4.469 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.3089, allocations: 1.105 MB / 467.3 MB, free: 3.352 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.64e-05/0.309, allocations: 41.7 kB / 467.4 MB, free: 3.305 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005514/0.3096, allocations: 0.6561 MB / 468 MB, free: 2.641 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.3098, allocations: 245.9 kB / 468.3 MB, free: 2.398 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002724/0.31, allocations: 194.9 kB / 468.5 MB, free: 2.203 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.3102, allocations: 345.9 kB / 468.8 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005459/0.3107, allocations: 246.5 kB / 469 MB, free: 1.617 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009453/0.3117, allocations: 0.7169 MB / 469.8 MB, free: 0.6914 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001431/0.3131, allocations: 0.9336 MB / 470.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.877e-06/0.3131, allocations: 7.938 kB / 470.7 MB, free: 15.59 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002177/0.3153, allocations: 1.146 MB / 471.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.508e-05/0.3154, allocations: 63.41 kB / 471.9 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.725e-05/0.3154, allocations: 15.94 kB / 471.9 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005832/0.316, allocations: 170.9 kB / 472.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006882/0.3167, allocations: 203.7 kB / 472.3 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004502/0.3212, allocations: 3.884 MB / 476.2 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.3221, allocations: 71.97 kB / 476.2 MB, free: 9.719 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.169e-05/0.3222, allocations: 44.12 kB / 476.3 MB, free: 9.676 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.0004855/0.3227, allocations: 293.6 kB / 476.6 MB, free: 9.379 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000171/0.3229, allocations: 135.2 kB / 476.7 MB, free: 9.246 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001532/0.3244, allocations: 0.6999 MB / 477.4 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.122e-06/0.3244, allocations: 4 kB / 477.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.725e-06/0.3244, allocations: 0 / 477.4 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001448/0.3259, allocations: 0.9529 MB / 478.4 MB, free: 7.461 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002934/0.3288, allocations: 1.789 MB / 480.2 MB, free: 5.586 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.553e-06/0.3288, allocations: 4 kB / 480.2 MB, free: 5.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004883/0.3293, allocations: 112 kB / 480.3 MB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004196/0.3297, allocations: 121.6 kB / 480.4 MB, free: 5.348 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.813e-05/0.3298, allocations: 16 kB / 480.4 MB, free: 5.332 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003667/0.3334, allocations: 3.602 MB / 484 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.3334, allocations: 0 / 484 MB, free: 1.457 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001956/0.3354, allocations: 1.055 MB / 485.1 MB, free: 364 kB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004566/0.3358, allocations: 260.2 kB / 485.3 MB, free: 84 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.336, allocations: 24.11 kB / 485.3 MB, free: 60 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006319/0.3366, allocations: 39.97 kB / 485.4 MB, free: 20 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000135/0.3368, allocations: 56.42 kB / 485.4 MB, free: 15.96 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.681e-05/0.3368, allocations: 20 kB / 485.5 MB, free: 15.95 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001083/0.3379, allocations: 0.7484 MB / 486.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3379, allocations: 0 / 486.2 MB, free: 15.19 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001033/0.3389, allocations: 307.9 kB / 486.5 MB, free: 14.89 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.0002563/0.3392, allocations: 135.1 kB / 486.6 MB, free: 14.75 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002044/0.3412, allocations: 1.049 MB / 487.7 MB, free: 13.65 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.073e-06/0.3412, allocations: 12.81 kB / 487.7 MB, free: 13.64 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009389/0.3422, allocations: 0.5278 MB / 488.2 MB, free: 13.08 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001335/0.3435, allocations: 336.5 kB / 488.6 MB, free: 12.76 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003676/0.3472, allocations: 2.314 MB / 490.9 MB, free: 10.39 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/0.3479, allocations: 1.089 MB / 492 MB, free: 9.27 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002254/0.3481, allocations: 79.44 kB / 492 MB, free: 9.191 MB / 398.1 MB Notification: Performance of SimCode: time 5.81e-07/0.3481, allocations: 0 / 492 MB, free: 9.191 MB / 398.1 MB Notification: Performance of Templates: time 0.03606/0.3842, allocations: 26.42 MB / 0.5063 GB, free: 14.86 MB / 430.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (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) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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_2/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) [Timeout 660] "" [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 12.426742627285421]