Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 115.6 kB / 20.43 MB, free: 1.457 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001504/0.001504, allocations: 214.1 kB / 23.75 MB, free: 4.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.464/1.464, allocations: 230.6 MB / 257.5 MB, free: 8.012 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_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_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002119/0.002119, allocations: 51.86 kB / 378.3 MB, free: 2.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2359/0.238, allocations: 53.36 MB / 431.6 MB, free: 6.887 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01276/0.2508, allocations: 9.687 MB / 441.3 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005951/0.2567, allocations: 3.166 MB / 444.5 MB, free: 9.988 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001181/0.2579, allocations: 27.88 kB / 444.5 MB, free: 9.961 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001871/0.2598, allocations: 0.6227 MB / 445.1 MB, free: 9.336 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00179/0.2616, allocations: 0.5854 MB / 445.7 MB, free: 8.746 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008917/0.2625, allocations: 319.5 kB / 446 MB, free: 8.434 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002486/0.265, allocations: 1.763 MB / 447.8 MB, free: 6.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008404/0.2658, allocations: 449.4 kB / 448.2 MB, free: 6.191 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001145/0.2669, allocations: 0.6928 MB / 448.9 MB, free: 5.496 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001274/0.2682, allocations: 0.7428 MB / 449.7 MB, free: 4.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003204/0.2685, allocations: 160 kB / 449.8 MB, free: 4.594 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005296/0.2691, allocations: 204 kB / 450 MB, free: 4.395 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003287/0.2694, allocations: 334.8 kB / 450.4 MB, free: 4.066 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001096/0.2705, allocations: 0.8048 MB / 451.2 MB, free: 3.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002437/0.2729, allocations: 1.992 MB / 453.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.2729, allocations: 0 / 453.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.243e-06/0.2729, allocations: 0 / 453.2 MB, free: 1.258 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.716e-05/0.273, allocations: 4 kB / 453.2 MB, free: 1.254 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.0037/0.2767, allocations: 1.755 MB / 454.9 MB, free: 15.44 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.2767, allocations: 16.03 kB / 454.9 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000602/0.2773, allocations: 211.8 kB / 455.1 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001486/0.2788, allocations: 0.7678 MB / 455.9 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001821/0.279, allocations: 167.8 kB / 456.1 MB, free: 14.24 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001608/0.2791, allocations: 112.1 kB / 456.2 MB, free: 14.13 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001979/0.2811, allocations: 1.146 MB / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.498e-05/0.2812, allocations: 4 kB / 457.3 MB, free: 12.89 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.567e-05/0.2813, allocations: 44 kB / 457.4 MB, free: 12.85 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.045e-05/0.2813, allocations: 28 kB / 457.4 MB, free: 12.82 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.2829, allocations: 0.7573 MB / 458.2 MB, free: 12.06 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.006022/0.2889, allocations: 3.813 MB / 462 MB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.2905, allocations: 0.5405 MB / 462.5 MB, free: 7.512 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005187/0.291, allocations: 242.7 kB / 462.8 MB, free: 7.273 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.907e-05/0.2911, allocations: 20.48 kB / 462.8 MB, free: 7.25 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000622/0.2917, allocations: 302.7 kB / 463.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.354e-06/0.2917, allocations: 0 / 463.1 MB, free: 6.941 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004661/0.2964, allocations: 1.861 MB / 464.9 MB, free: 5.047 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002636/0.2967, allocations: 487.3 kB / 465.4 MB, free: 4.461 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001505/0.2982, allocations: 1.101 MB / 466.5 MB, free: 3.348 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.865e-05/0.2982, allocations: 45.7 kB / 466.6 MB, free: 3.297 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005571/0.2988, allocations: 0.6521 MB / 467.2 MB, free: 2.637 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002073/0.299, allocations: 246 kB / 467.4 MB, free: 2.395 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002781/0.2993, allocations: 194.9 kB / 467.6 MB, free: 2.199 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.2994, allocations: 345.9 kB / 468 MB, free: 1.855 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006422/0.3001, allocations: 250.5 kB / 468.2 MB, free: 1.609 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.3011, allocations: 0.7095 MB / 468.9 MB, free: 0.6953 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001581/0.3027, allocations: 0.9373 MB / 469.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.091e-05/0.3027, allocations: 7.938 kB / 469.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002229/0.3049, allocations: 1.146 MB / 471 MB, free: 14.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.579e-05/0.305, allocations: 61.91 kB / 471.1 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.27e-05/0.305, allocations: 16 kB / 471.1 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006282/0.3056, allocations: 175 kB / 471.3 MB, free: 14.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000726/0.3064, allocations: 203.8 kB / 471.5 MB, free: 13.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004873/0.3112, allocations: 3.688 MB / 475.2 MB, free: 10.03 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000901/0.3121, allocations: 71.8 kB / 475.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.866e-05/0.3122, allocations: 44 kB / 475.3 MB, free: 9.914 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.0005213/0.3127, allocations: 297.7 kB / 475.6 MB, free: 9.613 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001979/0.3129, allocations: 127.2 kB / 475.7 MB, free: 9.488 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00162/0.3146, allocations: 0.706 MB / 476.4 MB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.448e-06/0.3146, allocations: 8 kB / 476.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.3146, allocations: 0 / 476.4 MB, free: 8.758 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001606/0.3162, allocations: 0.9512 MB / 477.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003528/0.3197, allocations: 1.752 MB / 479.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.13e-06/0.3197, allocations: 0 / 479.1 MB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.3202, allocations: 103.9 kB / 479.2 MB, free: 5.766 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004573/0.3207, allocations: 137.4 kB / 479.3 MB, free: 5.629 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.464e-05/0.3207, allocations: 16.12 kB / 479.3 MB, free: 5.613 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003927/0.3247, allocations: 3.386 MB / 482.7 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.3247, allocations: 0 / 482.7 MB, free: 2 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002065/0.3267, allocations: 1.057 MB / 483.8 MB, free: 0.9023 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005033/0.3272, allocations: 183.1 kB / 484 MB, free: 0.7227 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001878/0.3274, allocations: 19.94 kB / 484 MB, free: 0.7031 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006771/0.3281, allocations: 35.97 kB / 484 MB, free: 0.668 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000137/0.3282, allocations: 64.33 kB / 484.1 MB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.801e-05/0.3283, allocations: 20 kB / 484.1 MB, free: 0.5859 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001237/0.3295, allocations: 0.7445 MB / 484.9 MB, free: 15.84 MB / 398.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3295, allocations: 0 / 484.9 MB, free: 15.84 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00111/0.3306, allocations: 308 kB / 485.2 MB, free: 15.54 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.0002438/0.3309, allocations: 147 kB / 485.3 MB, free: 15.38 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002181/0.333, allocations: 1.076 MB / 486.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.998e-06/0.333, allocations: 0 / 486.4 MB, free: 14.26 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.3341, allocations: 0.5319 MB / 486.9 MB, free: 13.7 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001405/0.3355, allocations: 335.6 kB / 487.2 MB, free: 13.37 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004022/0.3395, allocations: 2.253 MB / 489.5 MB, free: 11.07 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008406/0.3403, allocations: 1.085 MB / 490.6 MB, free: 9.957 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005218/0.3409, allocations: 157.8 kB / 490.7 MB, free: 9.801 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001909/0.341, allocations: 79.38 kB / 490.8 MB, free: 9.723 MB / 398.1 MB Notification: Performance of SimCode: time 4.61e-07/0.3411, allocations: 0 / 490.8 MB, free: 9.723 MB / 398.1 MB Notification: Performance of Templates: time 0.0358/0.3768, allocations: 18.98 MB / 0.4978 GB, free: 6.984 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_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_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.11930374498479]