Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 124.5 kB / 17.79 MB, free: 5.227 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001361/0.001361, allocations: 207.2 kB / 20.75 MB, free: 2.273 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.429/1.429, allocations: 230.6 MB / 254.1 MB, free: 15.07 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+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_4_1_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_1_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.001488/0.001488, allocations: 51.92 kB / 373 MB, free: 10.18 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1159, allocations: 53.32 MB / 426.3 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2234/0.3392, allocations: 9.647 MB / 436 MB, free: 6.289 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005315/0.3445, allocations: 3.152 MB / 439.1 MB, free: 4.758 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001284/0.3458, allocations: 34.62 kB / 439.2 MB, free: 4.746 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.3477, allocations: 0.6147 MB / 439.8 MB, free: 4.473 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001833/0.3495, allocations: 0.5885 MB / 440.4 MB, free: 4.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.3503, allocations: 308.6 kB / 440.7 MB, free: 3.91 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002369/0.3527, allocations: 1.766 MB / 442.4 MB, free: 2.977 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007446/0.3534, allocations: 456.3 kB / 442.9 MB, free: 2.707 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.3548, allocations: 0.6971 MB / 443.6 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009906/0.3558, allocations: 0.7483 MB / 444.3 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002326/0.3561, allocations: 158.5 kB / 444.5 MB, free: 1.973 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005856/0.3567, allocations: 197 kB / 444.7 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002653/0.3569, allocations: 333 kB / 445 MB, free: 1.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007682/0.3577, allocations: 0.8071 MB / 445.8 MB, free: 1.234 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002479/0.3602, allocations: 1.985 MB / 447.8 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.111e-06/0.3602, allocations: 1.094 kB / 447.8 MB, free: 472 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3602, allocations: 0 / 447.8 MB, free: 472 kB / 350.1 MB Notification: Performance of Transformations before backend: time 2.817e-05/0.3602, allocations: 0 / 447.8 MB, free: 472 kB / 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.003721/0.3639, allocations: 1.839 MB / 449.6 MB, free: 15.23 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.424e-05/0.364, allocations: 12.88 kB / 449.6 MB, free: 15.22 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002743/0.3643, allocations: 164.3 kB / 449.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007135/0.365, allocations: 206.4 kB / 450 MB, free: 15.03 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001646/0.3666, allocations: 0.8396 MB / 450.8 MB, free: 14.45 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001557/0.3668, allocations: 116.1 kB / 451 MB, free: 14.38 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.3669, allocations: 112.8 kB / 451.1 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002271/0.3692, allocations: 1.145 MB / 452.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.657e-05/0.3693, allocations: 2.781 kB / 452.2 MB, free: 13.73 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001143/0.3694, allocations: 47.94 kB / 452.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.203e-05/0.3694, allocations: 27.03 kB / 452.3 MB, free: 13.7 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001813/0.3712, allocations: 0.7616 MB / 453 MB, free: 13.43 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.007406/0.3786, allocations: 3.926 MB / 457 MB, free: 10.92 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00165/0.3803, allocations: 0.5551 MB / 457.5 MB, free: 10.62 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005162/0.3808, allocations: 242.3 kB / 457.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.246e-05/0.3808, allocations: 11.22 kB / 457.8 MB, free: 10.5 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006604/0.3815, allocations: 291.5 kB / 458.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.477e-06/0.3815, allocations: 3.938 kB / 458.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.00526/0.3868, allocations: 2.093 MB / 460.2 MB, free: 8.953 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002839/0.387, allocations: 477.5 kB / 460.6 MB, free: 8.387 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001649/0.3887, allocations: 1.107 MB / 461.7 MB, free: 7.77 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.305e-05/0.3888, allocations: 38.39 kB / 461.8 MB, free: 7.73 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005997/0.3894, allocations: 0.6638 MB / 462.4 MB, free: 7.137 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002215/0.3896, allocations: 243.2 kB / 462.7 MB, free: 6.926 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002832/0.3899, allocations: 199.5 kB / 462.9 MB, free: 6.801 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001739/0.39, allocations: 346.9 kB / 463.2 MB, free: 6.465 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000519/0.3906, allocations: 244.1 kB / 463.4 MB, free: 6.355 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009594/0.3915, allocations: 0.7089 MB / 464.2 MB, free: 5.617 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001461/0.393, allocations: 0.9414 MB / 465.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.393, allocations: 3.406 kB / 465.1 MB, free: 4.812 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002165/0.3951, allocations: 1.147 MB / 466.2 MB, free: 4.184 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.397e-05/0.3952, allocations: 66.34 kB / 466.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.883e-05/0.3952, allocations: 12.16 kB / 466.3 MB, free: 4.117 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005888/0.3958, allocations: 168.5 kB / 466.5 MB, free: 4.043 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006693/0.3965, allocations: 204 kB / 466.7 MB, free: 3.996 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004541/0.401, allocations: 3.888 MB / 470.6 MB, free: 412 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001129/0.4022, allocations: 64.05 kB / 470.6 MB, free: 380 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.109e-05/0.4022, allocations: 51.91 kB / 470.7 MB, free: 368 kB / 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.0005259/0.4028, allocations: 296.5 kB / 471 MB, free: 132 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001783/0.4029, allocations: 132.6 kB / 471.1 MB, free: 60 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00155/0.4045, allocations: 0.6927 MB / 471.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.752e-06/0.4045, allocations: 10.31 kB / 471.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.4045, allocations: 1.125 kB / 471.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00147/0.406, allocations: 0.9533 MB / 472.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003143/0.4091, allocations: 1.782 MB / 474.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.409e-06/0.4091, allocations: 0 / 474.5 MB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.4096, allocations: 109.4 kB / 474.6 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004347/0.41, allocations: 130.3 kB / 474.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.189e-05/0.4101, allocations: 20.72 kB / 474.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003804/0.4139, allocations: 3.59 MB / 478.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4139, allocations: 2.75 kB / 478.4 MB, free: 10.05 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002113/0.416, allocations: 1.051 MB / 479.4 MB, free: 9.395 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000587/0.4166, allocations: 258.7 kB / 479.7 MB, free: 9.16 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.4167, allocations: 26.86 kB / 479.7 MB, free: 9.141 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006218/0.4173, allocations: 35.06 kB / 479.8 MB, free: 9.125 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/0.4175, allocations: 56.98 kB / 479.8 MB, free: 9.094 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.822e-05/0.4175, allocations: 17.47 kB / 479.8 MB, free: 9.09 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001113/0.4186, allocations: 0.7473 MB / 480.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4186, allocations: 0 / 480.6 MB, free: 8.668 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.001246/0.4199, allocations: 318.5 kB / 480.9 MB, free: 8.531 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.002484/0.4224, allocations: 1.64 MB / 482.5 MB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00225/0.4246, allocations: 1.061 MB / 483.6 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/0.4246, allocations: 4 kB / 483.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009883/0.4256, allocations: 0.5284 MB / 484.1 MB, free: 5.168 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001592/0.4272, allocations: 333.6 kB / 484.4 MB, free: 4.859 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01579/0.443, allocations: 9.761 MB / 494.2 MB, free: 10.55 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008474/0.4438, allocations: 1.082 MB / 495.3 MB, free: 9.438 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006528/0.4445, allocations: 145.8 kB / 495.4 MB, free: 9.293 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006211/0.4451, allocations: 471.3 kB / 495.9 MB, free: 8.832 MB / 398.1 MB Notification: Performance of SimCode: time 1.282e-06/0.4451, allocations: 4 kB / 495.9 MB, free: 8.828 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07367/0.5188, allocations: 29.33 MB / 0.5129 GB, free: 11.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.07/14.58, allocations: 11.12 kB / 0.5129 GB, free: 11.89 MB / 430.1 MB " [Timeout remaining time 645] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & python3 -m fmpy simulate --output-file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv --start-time 0 --stop-time 25 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0001 Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv","/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_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable loadInertia.w in file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv. Warning: Get data of variable loadInertia.w from file Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.csv failed! " [Timeout remaining time 659] Reference file matches [Calling sys.exit(0), Time elapsed: 25.503320424002595]