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.001418/0.001418, allocations: 124.4 kB / 17.79 MB, free: 5.266 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.001704/0.001704, allocations: 199.3 kB / 20.74 MB, free: 2.32 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.464/1.464, allocations: 230.6 MB / 254.1 MB, free: 15.08 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.002087/0.002087, allocations: 47.92 kB / 373 MB, free: 10.19 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1253/0.1274, allocations: 53.33 MB / 426.3 MB, free: 4.766 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.2407/0.368, allocations: 9.648 MB / 436 MB, free: 6.262 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.005967/0.374, allocations: 3.145 MB / 439.1 MB, free: 4.73 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001957/0.376, allocations: 30.44 kB / 439.2 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00193/0.3779, allocations: 0.6261 MB / 439.8 MB, free: 4.441 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0026/0.3805, allocations: 0.5753 MB / 440.4 MB, free: 4.082 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.3816, allocations: 323 kB / 440.7 MB, free: 3.891 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002595/0.3842, allocations: 1.762 MB / 442.4 MB, free: 2.957 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007246/0.3849, allocations: 456.5 kB / 442.9 MB, free: 2.688 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001253/0.3862, allocations: 0.693 MB / 443.6 MB, free: 2.352 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009221/0.3871, allocations: 0.7447 MB / 444.3 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002259/0.3873, allocations: 163.3 kB / 444.5 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005376/0.3878, allocations: 196.3 kB / 444.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002402/0.3881, allocations: 337.1 kB / 445 MB, free: 1.711 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007206/0.3888, allocations: 0.8026 MB / 445.8 MB, free: 1.219 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002533/0.3913, allocations: 1.99 MB / 447.8 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.3913, allocations: 0 / 447.8 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.3913, allocations: 0 / 447.8 MB, free: 452 kB / 350.1 MB Notification: Performance of Transformations before backend: time 4.128e-05/0.3914, allocations: 0 / 447.8 MB, free: 452 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.003729/0.3951, allocations: 1.835 MB / 449.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.727e-05/0.3952, allocations: 9.812 kB / 449.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002268/0.3954, allocations: 163.3 kB / 449.8 MB, free: 15.1 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006377/0.396, allocations: 210.5 kB / 450 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001692/0.3977, allocations: 0.8452 MB / 450.8 MB, free: 14.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001593/0.3979, allocations: 114.4 kB / 451 MB, free: 14.36 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001796/0.3981, allocations: 112.7 kB / 451.1 MB, free: 14.32 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002118/0.4002, allocations: 1.145 MB / 452.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.4002, allocations: 3.016 kB / 452.2 MB, free: 13.71 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001031/0.4003, allocations: 48.36 kB / 452.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.4003, allocations: 25.97 kB / 452.3 MB, free: 13.67 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00166/0.402, allocations: 0.7575 MB / 453 MB, free: 13.41 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.006924/0.4089, allocations: 3.928 MB / 457 MB, free: 10.91 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001708/0.4106, allocations: 0.5412 MB / 457.5 MB, free: 10.63 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005292/0.4112, allocations: 240.7 kB / 457.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.171e-05/0.4112, allocations: 12.02 kB / 457.8 MB, free: 10.51 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007046/0.4119, allocations: 304 kB / 458.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 3.676e-06/0.4119, allocations: 1.969 kB / 458.1 MB, free: 10.32 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.005431/0.4173, allocations: 2.097 MB / 460.2 MB, free: 8.945 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000322/0.4177, allocations: 480.5 kB / 460.6 MB, free: 8.375 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.4198, allocations: 1.102 MB / 461.7 MB, free: 7.762 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001014/0.4199, allocations: 47.92 kB / 461.8 MB, free: 7.715 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006668/0.4206, allocations: 0.6507 MB / 462.4 MB, free: 7.133 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002645/0.4209, allocations: 250.7 kB / 462.7 MB, free: 6.914 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000333/0.4212, allocations: 197.2 kB / 462.9 MB, free: 6.793 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002036/0.4214, allocations: 342.9 kB / 463.2 MB, free: 6.461 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005924/0.422, allocations: 248 kB / 463.4 MB, free: 6.348 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001084/0.4231, allocations: 0.7084 MB / 464.2 MB, free: 5.609 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001636/0.4247, allocations: 0.9452 MB / 465.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.81e-05/0.4247, allocations: 4.531 kB / 465.1 MB, free: 4.801 MB / 366.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002603/0.4273, allocations: 1.138 MB / 466.2 MB, free: 4.18 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.916e-05/0.4274, allocations: 67.12 kB / 466.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.4274, allocations: 11.47 kB / 466.3 MB, free: 4.113 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.4281, allocations: 172.7 kB / 466.5 MB, free: 4.035 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007007/0.4288, allocations: 204.4 kB / 466.7 MB, free: 3.988 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/0.4341, allocations: 3.894 MB / 470.6 MB, free: 404 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001396/0.4355, allocations: 64.16 kB / 470.6 MB, free: 372 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001397/0.4357, allocations: 50.53 kB / 470.7 MB, free: 360 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.0008009/0.4365, allocations: 292 kB / 471 MB, free: 128 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004192/0.4369, allocations: 133 kB / 471.1 MB, free: 56 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00188/0.4388, allocations: 0.693 MB / 471.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.035e-05/0.4388, allocations: 8.562 kB / 471.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.4388, allocations: 4 kB / 471.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001589/0.4404, allocations: 0.9552 MB / 472.8 MB, free: 14.85 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004136/0.4445, allocations: 1.784 MB / 474.5 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.684e-06/0.4445, allocations: 2.656 kB / 474.6 MB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004778/0.445, allocations: 103.8 kB / 474.7 MB, free: 13.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004886/0.4455, allocations: 135 kB / 474.8 MB, free: 13.48 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.387e-05/0.4455, allocations: 13.03 kB / 474.8 MB, free: 13.47 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004064/0.4496, allocations: 3.591 MB / 478.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.578e-06/0.4496, allocations: 3.594 kB / 478.4 MB, free: 10.04 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.4518, allocations: 1.05 MB / 479.4 MB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007423/0.4526, allocations: 262.8 kB / 479.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003567/0.4529, allocations: 23.53 kB / 479.7 MB, free: 9.137 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008331/0.4538, allocations: 34.91 kB / 479.8 MB, free: 9.121 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001512/0.4539, allocations: 65.11 kB / 479.8 MB, free: 9.082 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.037e-05/0.454, allocations: 18.09 kB / 479.8 MB, free: 9.078 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001496/0.4555, allocations: 0.7468 MB / 480.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4555, allocations: 0 / 480.6 MB, free: 8.656 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.00158/0.457, allocations: 310.7 kB / 480.9 MB, free: 8.527 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.0027/0.4597, allocations: 1.635 MB / 482.5 MB, free: 6.844 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002397/0.4621, allocations: 1.06 MB / 483.6 MB, free: 5.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/0.4622, allocations: 4.938 kB / 483.6 MB, free: 5.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001075/0.4632, allocations: 0.5354 MB / 484.1 MB, free: 5.16 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.4654, allocations: 327.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.01829/0.4837, allocations: 9.761 MB / 494.2 MB, free: 10.56 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009427/0.4847, allocations: 1.082 MB / 495.3 MB, free: 9.449 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0007071/0.4854, allocations: 149.8 kB / 495.4 MB, free: 9.301 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006837/0.486, allocations: 475.3 kB / 495.9 MB, free: 8.836 MB / 398.1 MB Notification: Performance of SimCode: time 1.162e-06/0.486, allocations: 0 / 495.9 MB, free: 8.836 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08342/0.5695, allocations: 29.33 MB / 0.5129 GB, free: 11.9 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.71/15.28, allocations: 3.938 kB / 0.5129 GB, free: 11.9 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_4_1_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 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.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_4.1.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 650] Reference file matches [Calling sys.exit(0), Time elapsed: 40.42979878094047]