Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_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.001834/0.001834, allocations: 109.1 kB / 21.22 MB, free: 0.7539 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.002281/0.002281, allocations: 217.6 kB / 24.53 MB, free: 4.008 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 230.5 MB / 258.2 MB, free: 8.004 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002249/0.002249, allocations: 59.91 kB / 378.6 MB, free: 2.988 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3564, allocations: 53.41 MB / 432 MB, free: 6.688 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01238/0.3688, allocations: 9.685 MB / 441.7 MB, free: 12.96 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007654/0.3764, allocations: 3.162 MB / 444.8 MB, free: 9.793 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.3782, allocations: 27.88 kB / 444.9 MB, free: 9.766 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002586/0.3808, allocations: 0.626 MB / 445.5 MB, free: 9.137 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003379/0.3842, allocations: 0.5815 MB / 446.1 MB, free: 8.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001648/0.3858, allocations: 319.4 kB / 446.4 MB, free: 8.238 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00392/0.3898, allocations: 1.767 MB / 448.2 MB, free: 6.465 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001179/0.3909, allocations: 453.3 kB / 448.6 MB, free: 5.992 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001451/0.3924, allocations: 0.6967 MB / 449.3 MB, free: 5.293 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001571/0.394, allocations: 0.7467 MB / 450 MB, free: 4.543 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005365/0.3945, allocations: 160 kB / 450.2 MB, free: 4.387 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007583/0.3953, allocations: 196 kB / 450.4 MB, free: 4.195 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004741/0.3957, allocations: 342.7 kB / 450.7 MB, free: 3.859 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001258/0.397, allocations: 0.8009 MB / 451.5 MB, free: 3.055 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002766/0.3998, allocations: 1.992 MB / 453.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.043e-06/0.3998, allocations: 0 / 453.5 MB, free: 1.055 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.877e-06/0.3998, allocations: 4 kB / 453.5 MB, free: 1.051 MB / 350.1 MB Notification: Performance of Transformations before backend: time 9.86e-05/0.3999, allocations: 0 / 453.5 MB, free: 1.051 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.004375/0.4042, allocations: 1.755 MB / 455.3 MB, free: 15.24 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.4043, allocations: 16.03 kB / 455.3 MB, free: 15.23 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.787e-05/0.4043, allocations: 26.33 kB / 455.3 MB, free: 15.2 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001903/0.4045, allocations: 172.9 kB / 455.5 MB, free: 15.02 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005823/0.4051, allocations: 203.9 kB / 455.7 MB, free: 14.82 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001495/0.4066, allocations: 0.7718 MB / 456.5 MB, free: 14.02 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001828/0.4068, allocations: 175.5 kB / 456.6 MB, free: 13.83 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001631/0.4069, allocations: 104 kB / 456.7 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002107/0.409, allocations: 1.142 MB / 457.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.592e-05/0.4091, allocations: 4 kB / 457.9 MB, free: 12.49 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001254/0.4092, allocations: 47.98 kB / 457.9 MB, free: 12.44 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.412e-05/0.4092, allocations: 28 kB / 458 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0017/0.4109, allocations: 0.7574 MB / 458.7 MB, free: 11.66 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.006896/0.4178, allocations: 3.813 MB / 462.5 MB, free: 7.652 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001633/0.4195, allocations: 0.5486 MB / 463.1 MB, free: 7.098 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/0.42, allocations: 243.4 kB / 463.3 MB, free: 6.859 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.029e-05/0.42, allocations: 8.5 kB / 463.3 MB, free: 6.848 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006459/0.4207, allocations: 298.5 kB / 463.6 MB, free: 6.543 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.926e-06/0.4207, allocations: 4 kB / 463.6 MB, free: 6.539 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004963/0.4256, allocations: 1.872 MB / 465.5 MB, free: 4.633 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000334/0.426, allocations: 475.3 kB / 465.9 MB, free: 4.059 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001745/0.4277, allocations: 1.105 MB / 467.1 MB, free: 2.941 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 5.675e-05/0.4278, allocations: 37.7 kB / 467.1 MB, free: 2.898 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006033/0.4284, allocations: 0.6599 MB / 467.7 MB, free: 2.23 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.4286, allocations: 242 kB / 468 MB, free: 1.992 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002953/0.4289, allocations: 202.9 kB / 468.2 MB, free: 1.789 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002118/0.4291, allocations: 345.9 kB / 468.5 MB, free: 1.445 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005558/0.4297, allocations: 242.5 kB / 468.8 MB, free: 1.207 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001016/0.4307, allocations: 0.7095 MB / 469.5 MB, free: 300 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001458/0.4321, allocations: 0.9412 MB / 470.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.034e-06/0.4321, allocations: 4 kB / 470.4 MB, free: 15.18 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00217/0.4343, allocations: 1.146 MB / 471.6 MB, free: 14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.169e-05/0.4344, allocations: 67.39 kB / 471.6 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.942e-05/0.4344, allocations: 12 kB / 471.6 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006581/0.435, allocations: 172.5 kB / 471.8 MB, free: 13.74 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007054/0.4358, allocations: 207.6 kB / 472 MB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/0.4403, allocations: 3.69 MB / 475.7 MB, free: 9.625 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001098/0.4414, allocations: 63.88 kB / 475.8 MB, free: 9.562 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/0.4415, allocations: 48 kB / 475.8 MB, free: 9.516 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.0006035/0.4421, allocations: 301.7 kB / 476.1 MB, free: 9.211 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001893/0.4423, allocations: 127.2 kB / 476.2 MB, free: 9.086 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001518/0.4438, allocations: 0.6983 MB / 476.9 MB, free: 8.371 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/0.4438, allocations: 8 kB / 476.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.4438, allocations: 0 / 476.9 MB, free: 8.363 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001521/0.4453, allocations: 0.955 MB / 477.9 MB, free: 7.297 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.4484, allocations: 1.752 MB / 479.6 MB, free: 5.469 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.4484, allocations: 7.984 kB / 479.6 MB, free: 5.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004841/0.4489, allocations: 99.89 kB / 479.7 MB, free: 5.363 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.4494, allocations: 129.8 kB / 479.9 MB, free: 5.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.176e-05/0.4494, allocations: 23.86 kB / 479.9 MB, free: 5.207 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00368/0.4531, allocations: 3.381 MB / 483.3 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4531, allocations: 0 / 483.3 MB, free: 1.602 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002034/0.4551, allocations: 1.053 MB / 484.3 MB, free: 0.5078 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005329/0.4556, allocations: 183.1 kB / 484.5 MB, free: 336 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001491/0.4558, allocations: 27.98 kB / 484.5 MB, free: 308 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006014/0.4564, allocations: 35.97 kB / 484.6 MB, free: 272 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001533/0.4566, allocations: 60.27 kB / 484.6 MB, free: 212 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.125e-05/0.4566, allocations: 20 kB / 484.6 MB, free: 192 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001219/0.4578, allocations: 0.7446 MB / 485.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4578, allocations: 0 / 485.4 MB, free: 15.43 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001282/0.4591, allocations: 312 kB / 485.7 MB, free: 15.13 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.002464/0.4616, allocations: 1.639 MB / 487.3 MB, free: 13.43 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002204/0.4638, allocations: 1.069 MB / 488.4 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.4638, allocations: 0 / 488.4 MB, free: 12.32 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001002/0.4648, allocations: 0.532 MB / 488.9 MB, free: 11.76 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001641/0.4664, allocations: 332.1 kB / 489.3 MB, free: 11.43 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01732/0.4837, allocations: 9.761 MB / 499 MB, free: 1.129 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008616/0.4846, allocations: 1.082 MB / 0.4884 GB, free: 20 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0008068/0.4854, allocations: 145.8 kB / 0.4885 GB, free: 15.88 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006636/0.4861, allocations: 475.3 kB / 0.489 GB, free: 15.41 MB / 414.1 MB Notification: Performance of SimCode: time 2.144e-06/0.4861, allocations: 4 kB / 0.489 GB, free: 15.41 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08554/0.5716, allocations: 30.06 MB / 0.5183 GB, free: 1.684 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.56/16.14, allocations: 18.81 kB / 0.5183 GB, free: 1.668 MB / 430.1 MB " [Timeout remaining time 644] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 642] Reference file matches [Calling sys.exit(0), Time elapsed: 56.69707533402834]