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.001702/0.001702, allocations: 108.6 kB / 18.49 MB, free: 4.543 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.001856/0.001856, allocations: 197 kB / 21.43 MB, free: 1.609 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.494/1.494, allocations: 225.6 MB / 249.8 MB, free: 3.609 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: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 47.94 kB / 366.4 MB, free: 0.832 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1036/0.105, allocations: 52.15 MB / 418.5 MB, free: 12.59 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01129/0.1163, allocations: 9.622 MB / 428.1 MB, free: 2.922 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005563/0.1219, allocations: 3.123 MB / 431.3 MB, free: 15.79 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001057/0.1229, allocations: 35.81 kB / 431.3 MB, free: 15.75 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001521/0.1245, allocations: 0.6133 MB / 431.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001411/0.1259, allocations: 0.5815 MB / 432.5 MB, free: 14.55 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006807/0.1266, allocations: 315.5 kB / 432.8 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002022/0.1286, allocations: 1.778 MB / 434.6 MB, free: 12.45 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007419/0.1293, allocations: 445 kB / 435 MB, free: 11.99 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009289/0.1303, allocations: 0.6889 MB / 435.7 MB, free: 11.3 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008973/0.1312, allocations: 0.7428 MB / 436.4 MB, free: 10.55 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000211/0.1314, allocations: 160 kB / 436.6 MB, free: 10.4 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003476/0.1317, allocations: 196 kB / 436.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002751/0.132, allocations: 330.8 kB / 437.1 MB, free: 9.883 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007457/0.1327, allocations: 0.8087 MB / 437.9 MB, free: 9.07 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002131/0.1349, allocations: 1.988 MB / 439.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.649e-06/0.1349, allocations: 0 / 439.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.1349, allocations: 0 / 439.9 MB, free: 7.074 MB / 366.1 MB Notification: Performance of Transformations before backend: time 3.077e-05/0.1349, allocations: 4 kB / 439.9 MB, free: 7.07 MB / 366.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.003272/0.1382, allocations: 1.838 MB / 441.7 MB, free: 5.16 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1382, allocations: 12.03 kB / 441.8 MB, free: 5.148 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.484e-05/0.1382, allocations: 26.33 kB / 441.8 MB, free: 5.121 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002395/0.1385, allocations: 164.9 kB / 441.9 MB, free: 4.949 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000556/0.139, allocations: 207.9 kB / 442.1 MB, free: 4.746 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001298/0.1403, allocations: 0.8335 MB / 443 MB, free: 3.871 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000143/0.1405, allocations: 120.2 kB / 443.1 MB, free: 3.746 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.1406, allocations: 112 kB / 443.2 MB, free: 3.637 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001892/0.1425, allocations: 1.142 MB / 444.4 MB, free: 2.402 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.191e-05/0.1426, allocations: 3.953 kB / 444.4 MB, free: 2.398 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.656e-05/0.1427, allocations: 48 kB / 444.4 MB, free: 2.352 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.093e-05/0.1427, allocations: 35.98 kB / 444.4 MB, free: 2.316 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001562/0.1443, allocations: 0.7612 MB / 445.2 MB, free: 1.551 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.214/0.3582, allocations: 3.911 MB / 449.1 MB, free: 28.4 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.3597, allocations: 0.5531 MB / 449.7 MB, free: 28.37 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004517/0.3601, allocations: 245.7 kB / 449.9 MB, free: 28.36 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.117e-05/0.3602, allocations: 12.66 kB / 449.9 MB, free: 28.36 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006259/0.3608, allocations: 301.1 kB / 450.2 MB, free: 28.31 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.266e-06/0.3608, allocations: 2.625 kB / 450.2 MB, free: 28.31 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005027/0.3659, allocations: 2.087 MB / 452.3 MB, free: 27.62 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001778/0.366, allocations: 476.4 kB / 452.8 MB, free: 27.05 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00181/0.3678, allocations: 1.109 MB / 453.9 MB, free: 26.9 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.234e-05/0.3679, allocations: 42.52 kB / 453.9 MB, free: 26.87 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004995/0.3684, allocations: 0.6604 MB / 454.6 MB, free: 26.52 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000176/0.3686, allocations: 241.1 kB / 454.8 MB, free: 26.37 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000298/0.3689, allocations: 200.5 kB / 455 MB, free: 26.26 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 9.275e-05/0.369, allocations: 346.6 kB / 455.3 MB, free: 25.94 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005888/0.3696, allocations: 245.4 kB / 455.6 MB, free: 25.86 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009459/0.3705, allocations: 0.7091 MB / 456.3 MB, free: 25.2 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001459/0.372, allocations: 0.9399 MB / 457.2 MB, free: 24.47 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.372, allocations: 4.562 kB / 457.2 MB, free: 24.47 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002328/0.3743, allocations: 1.141 MB / 458.4 MB, free: 23.98 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.885e-05/0.3744, allocations: 68.8 kB / 458.4 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.074e-05/0.3744, allocations: 11.03 kB / 458.5 MB, free: 23.91 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006478/0.375, allocations: 170.2 kB / 458.6 MB, free: 23.87 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000701/0.3757, allocations: 202.3 kB / 458.8 MB, free: 23.85 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003721/0.3795, allocations: 3.882 MB / 462.7 MB, free: 20.45 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001145/0.3806, allocations: 63.09 kB / 462.8 MB, free: 20.43 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.701e-05/0.3807, allocations: 47.81 kB / 462.8 MB, free: 20.42 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.000503/0.3812, allocations: 302.8 kB / 463.1 MB, free: 20.2 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001739/0.3814, allocations: 131.7 kB / 463.2 MB, free: 20.13 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001488/0.3828, allocations: 0.7003 MB / 463.9 MB, free: 19.81 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.343e-06/0.3828, allocations: 6.438 kB / 463.9 MB, free: 19.81 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3829, allocations: 5.188 kB / 463.9 MB, free: 19.8 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001298/0.3841, allocations: 0.9525 MB / 464.9 MB, free: 19.07 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003082/0.3872, allocations: 1.786 MB / 466.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.061e-06/0.3872, allocations: 1.438 kB / 466.7 MB, free: 18.16 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004843/0.3877, allocations: 104.8 kB / 466.8 MB, free: 18.15 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004379/0.3882, allocations: 131.4 kB / 466.9 MB, free: 18.11 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.054e-05/0.3882, allocations: 15.75 kB / 466.9 MB, free: 18.1 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002795/0.391, allocations: 3.592 MB / 470.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.391, allocations: 6.75 kB / 470.5 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001885/0.3929, allocations: 1.051 MB / 471.6 MB, free: 14.25 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004525/0.3933, allocations: 259.8 kB / 471.8 MB, free: 14.04 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001321/0.3935, allocations: 16.33 kB / 471.9 MB, free: 14.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006223/0.3941, allocations: 39.59 kB / 471.9 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.3942, allocations: 60.47 kB / 471.9 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.538e-05/0.3943, allocations: 18.69 kB / 472 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001105/0.3954, allocations: 0.7402 MB / 472.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3954, allocations: 0 / 472.7 MB, free: 13.69 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001248/0.3966, allocations: 312.6 kB / 473 MB, free: 13.66 MB / 366.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.002048/0.3987, allocations: 1.634 MB / 474.6 MB, free: 12.54 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.4008, allocations: 1.065 MB / 475.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.4008, allocations: 3.969 kB / 475.7 MB, free: 11.94 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009023/0.4017, allocations: 0.5359 MB / 476.3 MB, free: 11.6 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001403/0.4031, allocations: 336.9 kB / 476.6 MB, free: 11.48 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01387/0.417, allocations: 9.778 MB / 486.4 MB, free: 5.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005076/0.4175, allocations: 1.078 MB / 487.4 MB, free: 5.094 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006571/0.4181, allocations: 151.2 kB / 487.6 MB, free: 5.027 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000424/0.4186, allocations: 478.1 kB / 488.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of SimCode: time 1.112e-06/0.4186, allocations: 0 / 488.1 MB, free: 4.629 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06889/0.4874, allocations: 29.34 MB / 0.5053 GB, free: 8.84 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.43/14.92, allocations: 6.75 kB / 0.5053 GB, free: 8.836 MB / 398.1 MB " [Timeout remaining time 645] (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 642] Reference file matches [Calling sys.exit(0), Time elapsed: 56.08765409397893]