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.001576/0.001576, allocations: 108.2 kB / 20.43 MB, free: 1.473 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.001885/0.001885, allocations: 185.2 kB / 23.72 MB, free: 4.719 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.413/1.413, allocations: 225.6 MB / 252.5 MB, free: 13.01 MB / 206.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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001648/0.001648, allocations: 47.92 kB / 370.5 MB, free: 9.82 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2659/0.2676, allocations: 52.19 MB / 422.7 MB, free: 14.59 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01269/0.2803, allocations: 9.675 MB / 432.3 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006084/0.2864, allocations: 3.123 MB / 435.5 MB, free: 1.738 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.2876, allocations: 27.88 kB / 435.5 MB, free: 1.711 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001924/0.2895, allocations: 0.6251 MB / 436.1 MB, free: 1.082 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001909/0.2914, allocations: 0.5776 MB / 436.7 MB, free: 0.5 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009547/0.2923, allocations: 319.5 kB / 437 MB, free: 192 kB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002624/0.295, allocations: 1.774 MB / 438.8 MB, free: 14.41 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000829/0.2958, allocations: 449.4 kB / 439.2 MB, free: 13.94 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00105/0.2969, allocations: 0.7005 MB / 439.9 MB, free: 13.24 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009574/0.2978, allocations: 0.7467 MB / 440.7 MB, free: 12.49 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002005/0.298, allocations: 156 kB / 440.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003649/0.2984, allocations: 200 kB / 441 MB, free: 12.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002762/0.2987, allocations: 330.8 kB / 441.3 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007676/0.2994, allocations: 0.801 MB / 442.1 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00221/0.3016, allocations: 1.992 MB / 444.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.08e-06/0.3016, allocations: 0 / 444.1 MB, free: 9.012 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.673e-06/0.3016, allocations: 4 kB / 444.1 MB, free: 9.008 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.247e-05/0.3017, allocations: 0 / 444.1 MB, free: 9.008 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.003253/0.3049, allocations: 1.759 MB / 445.9 MB, free: 7.195 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.305, allocations: 8.031 kB / 445.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001943/0.3051, allocations: 164.9 kB / 446.1 MB, free: 7.016 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005682/0.3057, allocations: 207.9 kB / 446.3 MB, free: 6.812 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001429/0.3071, allocations: 0.7641 MB / 447 MB, free: 6.02 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001914/0.3073, allocations: 167.8 kB / 447.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001641/0.3075, allocations: 115.9 kB / 447.3 MB, free: 5.723 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001918/0.3094, allocations: 1.142 MB / 448.4 MB, free: 4.488 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.697e-05/0.3095, allocations: 3.953 kB / 448.4 MB, free: 4.484 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.552e-05/0.3096, allocations: 48 kB / 448.5 MB, free: 4.438 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.8e-05/0.3096, allocations: 28 kB / 448.5 MB, free: 4.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001582/0.3112, allocations: 0.7651 MB / 449.3 MB, free: 3.641 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.00582/0.317, allocations: 3.813 MB / 453.1 MB, free: 15.63 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001527/0.3185, allocations: 0.5506 MB / 453.6 MB, free: 15.07 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005109/0.319, allocations: 248.8 kB / 453.9 MB, free: 14.83 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.664e-05/0.3191, allocations: 4.5 kB / 453.9 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006319/0.3197, allocations: 290.5 kB / 454.2 MB, free: 14.53 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.154e-06/0.3197, allocations: 4 kB / 454.2 MB, free: 14.52 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004467/0.3242, allocations: 1.872 MB / 456.1 MB, free: 12.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003603/0.3245, allocations: 475.3 kB / 456.5 MB, free: 12.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001609/0.3261, allocations: 1.109 MB / 457.6 MB, free: 10.93 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.935e-05/0.3262, allocations: 41.7 kB / 457.7 MB, free: 10.88 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007053/0.3269, allocations: 0.656 MB / 458.3 MB, free: 10.21 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002795/0.3272, allocations: 238 kB / 458.6 MB, free: 9.98 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004116/0.3276, allocations: 206.8 kB / 458.8 MB, free: 9.773 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000217/0.3278, allocations: 345.9 kB / 459.1 MB, free: 9.43 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007982/0.3286, allocations: 242.5 kB / 459.3 MB, free: 9.191 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.3299, allocations: 0.7095 MB / 460 MB, free: 8.277 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002209/0.3321, allocations: 0.945 MB / 461 MB, free: 7.156 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.3321, allocations: 4 kB / 461 MB, free: 7.152 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.003282/0.3354, allocations: 1.146 MB / 462.1 MB, free: 5.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.3355, allocations: 66.69 kB / 462.2 MB, free: 5.906 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.279e-05/0.3355, allocations: 12 kB / 462.2 MB, free: 5.895 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007997/0.3363, allocations: 169.8 kB / 462.4 MB, free: 5.723 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00109/0.3374, allocations: 203.7 kB / 462.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006365/0.3438, allocations: 3.689 MB / 466.3 MB, free: 1.605 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001493/0.3453, allocations: 59.92 kB / 466.3 MB, free: 1.547 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001059/0.3454, allocations: 56.08 kB / 466.4 MB, free: 1.492 MB / 366.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.0007471/0.3461, allocations: 289.6 kB / 466.7 MB, free: 1.199 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002553/0.3464, allocations: 131.2 kB / 466.8 MB, free: 1.07 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002103/0.3485, allocations: 0.7021 MB / 467.5 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.3485, allocations: 8 kB / 467.5 MB, free: 356 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.3485, allocations: 3.984 kB / 467.5 MB, free: 352 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002163/0.3506, allocations: 0.9551 MB / 468.5 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004308/0.355, allocations: 1.748 MB / 470.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.355, allocations: 0 / 470.2 MB, free: 13.46 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006934/0.3557, allocations: 103.9 kB / 470.3 MB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005978/0.3563, allocations: 129.8 kB / 470.4 MB, free: 13.22 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.934e-05/0.3563, allocations: 19.98 kB / 470.5 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005128/0.3614, allocations: 3.388 MB / 473.8 MB, free: 9.59 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/0.3614, allocations: 4 kB / 473.8 MB, free: 9.586 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002726/0.3642, allocations: 1.049 MB / 474.9 MB, free: 8.492 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006593/0.3648, allocations: 187.2 kB / 475.1 MB, free: 8.309 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002086/0.365, allocations: 16 kB / 475.1 MB, free: 8.293 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009273/0.366, allocations: 39.95 kB / 475.1 MB, free: 8.254 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002134/0.3662, allocations: 64.28 kB / 475.2 MB, free: 8.191 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.965e-05/0.3662, allocations: 19.98 kB / 475.2 MB, free: 8.172 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001694/0.3679, allocations: 0.7445 MB / 476 MB, free: 7.422 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3679, allocations: 4 kB / 476 MB, free: 7.418 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001892/0.3698, allocations: 304 kB / 476.3 MB, free: 7.121 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.003388/0.3732, allocations: 1.635 MB / 477.9 MB, free: 5.43 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.003149/0.3764, allocations: 1.068 MB / 479 MB, free: 4.312 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 5.501e-06/0.3764, allocations: 3.938 kB / 479 MB, free: 4.309 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001344/0.3777, allocations: 0.5361 MB / 479.5 MB, free: 3.75 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002075/0.3798, allocations: 327.5 kB / 479.8 MB, free: 3.43 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02159/0.4014, allocations: 9.771 MB / 489.6 MB, free: 9.105 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000914/0.4023, allocations: 1.089 MB / 490.7 MB, free: 7.984 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005937/0.4029, allocations: 145.8 kB / 490.8 MB, free: 7.84 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005958/0.4035, allocations: 471.3 kB / 491.3 MB, free: 7.379 MB / 398.1 MB Notification: Performance of SimCode: time 1.342e-06/0.4035, allocations: 0 / 491.3 MB, free: 7.379 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08849/0.492, allocations: 30 MB / 0.5091 GB, free: 9.77 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.34/15.84, allocations: 14.95 kB / 0.5091 GB, free: 9.758 MB / 430.1 MB " [Timeout remaining time 644] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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/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 649] Reference file matches [Calling sys.exit(0), Time elapsed: 41.55326086003333]