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.008655/0.008655, allocations: 106.2 kB / 21.98 MB, free: 5.223 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.002023/0.002023, allocations: 211.9 kB / 25.29 MB, free: 3.203 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.462/1.462, allocations: 230.6 MB / 259 MB, free: 8.281 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.00198/0.00198, allocations: 68.77 kB / 379.8 MB, free: 2.688 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2489, allocations: 53.37 MB / 433.2 MB, free: 6.992 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01153/0.2605, allocations: 9.684 MB / 442.9 MB, free: 13.27 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006274/0.2667, allocations: 3.162 MB / 446 MB, free: 10.1 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001215/0.268, allocations: 35.81 kB / 446.1 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.2696, allocations: 0.6173 MB / 446.7 MB, free: 9.445 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001607/0.2712, allocations: 0.5815 MB / 447.3 MB, free: 8.859 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007122/0.2719, allocations: 319.4 kB / 447.6 MB, free: 8.547 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002586/0.2745, allocations: 1.771 MB / 449.4 MB, free: 6.77 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008023/0.2753, allocations: 453.4 kB / 449.8 MB, free: 6.297 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001187/0.2765, allocations: 0.6928 MB / 450.5 MB, free: 5.602 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001125/0.2776, allocations: 0.7467 MB / 451.2 MB, free: 4.852 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002373/0.2779, allocations: 160 kB / 451.4 MB, free: 4.695 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004225/0.2783, allocations: 196 kB / 451.6 MB, free: 4.504 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000288/0.2786, allocations: 330.8 kB / 451.9 MB, free: 4.18 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008517/0.2794, allocations: 0.8048 MB / 452.7 MB, free: 3.371 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002554/0.282, allocations: 1.992 MB / 454.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.282, allocations: 0 / 454.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.873e-06/0.282, allocations: 0 / 454.7 MB, free: 1.371 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.61e-05/0.2821, allocations: 4 kB / 454.7 MB, free: 1.367 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.003621/0.2857, allocations: 1.765 MB / 456.5 MB, free: 15.55 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.1e-05/0.2857, allocations: 8.031 kB / 456.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006314/0.2863, allocations: 207.8 kB / 456.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001587/0.2879, allocations: 0.7641 MB / 457.5 MB, free: 14.54 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001552/0.2881, allocations: 112.4 kB / 457.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.2883, allocations: 117.8 kB / 457.7 MB, free: 14.31 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002352/0.2906, allocations: 1.139 MB / 458.8 MB, free: 13.08 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.669e-05/0.2907, allocations: 15.88 kB / 458.8 MB, free: 13.07 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-05/0.2907, allocations: 44 kB / 458.9 MB, free: 13.02 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.49e-05/0.2908, allocations: 28 kB / 458.9 MB, free: 13 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001638/0.2924, allocations: 0.7651 MB / 459.7 MB, free: 12.23 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.00672/0.2991, allocations: 3.809 MB / 463.5 MB, free: 8.23 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00173/0.3009, allocations: 0.55 MB / 464 MB, free: 7.672 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006981/0.3016, allocations: 243.7 kB / 464.3 MB, free: 7.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.591e-05/0.3016, allocations: 4.5 kB / 464.3 MB, free: 7.426 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007133/0.3023, allocations: 302.1 kB / 464.6 MB, free: 7.117 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 4.118e-06/0.3023, allocations: 0 / 464.6 MB, free: 7.117 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005114/0.3074, allocations: 1.868 MB / 466.4 MB, free: 5.215 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002928/0.3077, allocations: 479.3 kB / 466.9 MB, free: 4.637 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001772/0.3095, allocations: 1.109 MB / 468 MB, free: 3.516 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001154/0.3096, allocations: 37.7 kB / 468 MB, free: 3.473 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000633/0.3103, allocations: 0.6599 MB / 468.7 MB, free: 2.805 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002486/0.3105, allocations: 238 kB / 468.9 MB, free: 2.57 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003045/0.3108, allocations: 202.8 kB / 469.1 MB, free: 2.367 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001904/0.311, allocations: 345.9 kB / 469.5 MB, free: 2.023 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005789/0.3116, allocations: 246.4 kB / 469.7 MB, free: 1.781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001021/0.3126, allocations: 0.7087 MB / 470.4 MB, free: 0.8711 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001521/0.3141, allocations: 0.9412 MB / 471.4 MB, free: 15.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.3141, allocations: 4 kB / 471.4 MB, free: 15.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002414/0.3165, allocations: 1.142 MB / 472.5 MB, free: 14.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.337e-05/0.3166, allocations: 63.41 kB / 472.6 MB, free: 14.51 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.585e-05/0.3166, allocations: 19.98 kB / 472.6 MB, free: 14.49 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006512/0.3173, allocations: 169.7 kB / 472.8 MB, free: 14.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006971/0.318, allocations: 207.6 kB / 473 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004781/0.3228, allocations: 3.692 MB / 476.7 MB, free: 10.2 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001245/0.324, allocations: 59.92 kB / 476.7 MB, free: 10.14 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.385e-05/0.3241, allocations: 48 kB / 476.8 MB, free: 10.09 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.0006237/0.3247, allocations: 306.2 kB / 477.1 MB, free: 9.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002244/0.325, allocations: 127.2 kB / 477.2 MB, free: 9.66 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001596/0.3266, allocations: 0.706 MB / 477.9 MB, free: 8.938 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.007e-05/0.3266, allocations: 8 kB / 477.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.3266, allocations: 0 / 477.9 MB, free: 8.93 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001479/0.3281, allocations: 0.9512 MB / 478.8 MB, free: 7.867 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00326/0.3313, allocations: 1.756 MB / 480.6 MB, free: 6.035 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.124e-06/0.3313, allocations: 4 kB / 480.6 MB, free: 6.031 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005014/0.3318, allocations: 103.9 kB / 480.7 MB, free: 5.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004625/0.3323, allocations: 129.8 kB / 480.8 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.27e-05/0.3323, allocations: 16.12 kB / 480.8 MB, free: 5.781 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00395/0.3363, allocations: 3.384 MB / 484.2 MB, free: 2.172 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.3363, allocations: 3.938 kB / 484.2 MB, free: 2.168 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002231/0.3385, allocations: 1.053 MB / 485.3 MB, free: 1.074 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005049/0.339, allocations: 179.2 kB / 485.5 MB, free: 0.8984 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001546/0.3392, allocations: 31.88 kB / 485.5 MB, free: 0.8672 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006337/0.3398, allocations: 35.95 kB / 485.5 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.34, allocations: 56.34 kB / 485.6 MB, free: 0.7773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.32e-05/0.34, allocations: 23.98 kB / 485.6 MB, free: 0.7539 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001193/0.3412, allocations: 0.7406 MB / 486.3 MB, free: 8 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3412, allocations: 4 kB / 486.4 MB, free: 4 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.001144/0.3423, allocations: 312 kB / 486.7 MB, free: 15.7 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.0002596/0.3426, allocations: 131 kB / 486.8 MB, free: 15.56 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002342/0.3449, allocations: 1.079 MB / 487.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.528e-06/0.3449, allocations: 0 / 487.9 MB, free: 14.43 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00105/0.346, allocations: 0.5331 MB / 488.4 MB, free: 13.87 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.3475, allocations: 325.6 kB / 488.7 MB, free: 13.55 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004253/0.3518, allocations: 2.298 MB / 491 MB, free: 11.2 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008405/0.3526, allocations: 1.085 MB / 492.1 MB, free: 10.09 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003162/0.3529, allocations: 83.42 kB / 492.2 MB, free: 10 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.3529, allocations: 0 / 492.2 MB, free: 10 MB / 398.1 MB Notification: Performance of Templates: time 0.03778/0.3907, allocations: 26.45 MB / 0.5065 GB, free: 15.66 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/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_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 658] Reference file matches [Calling sys.exit(0), Time elapsed: 13.426475445972756]