Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001859/0.001859, allocations: 120.9 kB / 18.41 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002231/0.002231, allocations: 190.9 kB / 21.35 MB, free: 1.75 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.408/1.408, allocations: 222.9 MB / 247 MB, free: 4.223 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001543/0.001543, allocations: 43.92 kB / 358.7 MB, free: 8.352 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09112/0.09268, allocations: 49.44 MB / 408.1 MB, free: 6.871 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01141/0.1041, allocations: 9.591 MB / 417.7 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00615/0.1103, allocations: 3.115 MB / 420.8 MB, free: 10.11 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001102/0.1115, allocations: 27.94 kB / 420.9 MB, free: 10.09 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001663/0.1132, allocations: 0.5783 MB / 421.4 MB, free: 9.504 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001479/0.1147, allocations: 0.5542 MB / 422 MB, free: 8.945 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007133/0.1154, allocations: 315.5 kB / 422.3 MB, free: 8.637 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.1176, allocations: 1.775 MB / 424.1 MB, free: 6.848 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009204/0.1185, allocations: 0.6336 MB / 424.7 MB, free: 6.188 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009224/0.1194, allocations: 0.6655 MB / 425.4 MB, free: 5.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009657/0.1204, allocations: 0.7467 MB / 426.1 MB, free: 4.77 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000222/0.1206, allocations: 160 kB / 426.3 MB, free: 4.613 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004033/0.1211, allocations: 196 kB / 426.5 MB, free: 4.422 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002921/0.1214, allocations: 334.8 kB / 426.8 MB, free: 4.094 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008098/0.1222, allocations: 0.7971 MB / 427.6 MB, free: 3.293 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002155/0.1243, allocations: 1.996 MB / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.1244, allocations: 0 / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.724e-06/0.1244, allocations: 0 / 429.6 MB, free: 1.289 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.086e-05/0.1244, allocations: 0 / 429.6 MB, free: 1.289 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.1922/0.3166, allocations: 1.829 MB / 431.4 MB, free: 22.33 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.834e-05/0.3167, allocations: 9.438 kB / 431.4 MB, free: 22.33 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005478/0.3172, allocations: 209.5 kB / 431.6 MB, free: 22.24 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001207/0.3184, allocations: 0.8382 MB / 432.5 MB, free: 21.95 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001229/0.3186, allocations: 112.8 kB / 432.6 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001335/0.3187, allocations: 113.1 kB / 432.7 MB, free: 21.91 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001693/0.3204, allocations: 1.142 MB / 433.8 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.653e-05/0.3205, allocations: 12.78 kB / 433.8 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.077e-05/0.3206, allocations: 44 kB / 433.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.077e-05/0.3206, allocations: 26.84 kB / 433.9 MB, free: 21.66 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001387/0.322, allocations: 0.7592 MB / 434.7 MB, free: 21.66 MB / 350.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.005414/0.3274, allocations: 3.929 MB / 438.6 MB, free: 20.23 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.3289, allocations: 0.5863 MB / 439.2 MB, free: 20.19 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000474/0.3294, allocations: 267.1 kB / 439.4 MB, free: 20.18 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.962e-05/0.3294, allocations: 14.55 kB / 439.5 MB, free: 20.18 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005889/0.33, allocations: 294.4 kB / 439.7 MB, free: 20.12 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 2.605e-06/0.33, allocations: 0 / 439.7 MB, free: 20.12 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004388/0.3344, allocations: 2.103 MB / 441.8 MB, free: 19.36 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.745e-05/0.3345, allocations: 480 kB / 442.3 MB, free: 18.79 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.3359, allocations: 1.104 MB / 443.4 MB, free: 18.63 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 4.387e-05/0.336, allocations: 41.08 kB / 443.5 MB, free: 18.6 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003573/0.3363, allocations: 0.6606 MB / 444.1 MB, free: 18.3 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.3364, allocations: 241.8 kB / 444.4 MB, free: 18.15 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.3367, allocations: 200.6 kB / 444.6 MB, free: 18.09 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 6.312e-05/0.3368, allocations: 350 kB / 444.9 MB, free: 17.76 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004943/0.3373, allocations: 244.8 kB / 445.1 MB, free: 17.68 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007096/0.338, allocations: 0.7092 MB / 445.8 MB, free: 17 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001177/0.3392, allocations: 0.9393 MB / 446.8 MB, free: 16.22 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.3392, allocations: 3.156 kB / 446.8 MB, free: 16.22 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002092/0.3413, allocations: 1.145 MB / 447.9 MB, free: 15.69 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.486e-05/0.3414, allocations: 72.08 kB / 448 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.3414, allocations: 12 kB / 448 MB, free: 15.62 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007113/0.3421, allocations: 175.9 kB / 448.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006974/0.3428, allocations: 199.2 kB / 448.4 MB, free: 15.55 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003716/0.3466, allocations: 3.89 MB / 452.3 MB, free: 12.15 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.3478, allocations: 65.77 kB / 452.3 MB, free: 12.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.755e-05/0.3478, allocations: 46.81 kB / 452.4 MB, free: 12.12 MB / 350.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.000472/0.3483, allocations: 302.6 kB / 452.7 MB, free: 11.88 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001774/0.3485, allocations: 129.6 kB / 452.8 MB, free: 11.82 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001475/0.35, allocations: 0.7064 MB / 453.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-06/0.35, allocations: 6.906 kB / 453.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.35, allocations: 1.094 kB / 453.5 MB, free: 11.49 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001235/0.3513, allocations: 0.9581 MB / 454.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003057/0.3543, allocations: 1.798 MB / 456.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.452e-06/0.3544, allocations: 1.953 kB / 456.3 MB, free: 9.836 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004795/0.3548, allocations: 104.3 kB / 456.4 MB, free: 9.828 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004244/0.3553, allocations: 132.1 kB / 456.5 MB, free: 9.781 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.882e-05/0.3553, allocations: 14.08 kB / 456.5 MB, free: 9.773 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002699/0.358, allocations: 3.589 MB / 460.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.3581, allocations: 2.141 kB / 460.1 MB, free: 6.496 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00181/0.3599, allocations: 1.055 MB / 461.2 MB, free: 5.922 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004229/0.3603, allocations: 261.7 kB / 461.4 MB, free: 5.715 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001397/0.3605, allocations: 14.97 kB / 461.4 MB, free: 5.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005995/0.3611, allocations: 39.88 kB / 461.5 MB, free: 5.695 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001269/0.3612, allocations: 59.53 kB / 461.5 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.745e-05/0.3612, allocations: 19.72 kB / 461.6 MB, free: 5.676 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0009813/0.3622, allocations: 0.7537 MB / 462.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3622, allocations: 0 / 462.3 MB, free: 5.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001169/0.3634, allocations: 305.8 kB / 462.6 MB, free: 5.219 MB / 350.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.0002213/0.3636, allocations: 144.9 kB / 462.7 MB, free: 5.098 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001765/0.3654, allocations: 1.096 MB / 463.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.529e-06/0.3654, allocations: 0 / 463.8 MB, free: 4.391 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00075/0.3662, allocations: 0.5469 MB / 464.4 MB, free: 4.008 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001292/0.3675, allocations: 338.2 kB / 464.7 MB, free: 3.848 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003176/0.3707, allocations: 2.29 MB / 467 MB, free: 2.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.3712, allocations: 1.083 MB / 468.1 MB, free: 1.527 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002291/0.3714, allocations: 82.94 kB / 468.2 MB, free: 1.52 MB / 350.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3714, allocations: 3.938 kB / 468.2 MB, free: 1.516 MB / 350.1 MB Notification: Performance of Templates: time 0.03435/0.4058, allocations: 26.32 MB / 494.5 MB, free: 8.004 MB / 382.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.0.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: 12.790948744048364]