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.001398/0.001398, allocations: 116 kB / 20.43 MB, free: 1.457 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.001824/0.001824, allocations: 209.3 kB / 23.74 MB, free: 4.672 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.483/1.483, allocations: 230.6 MB / 257.5 MB, free: 7.992 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.001727/0.001727, allocations: 47.92 kB / 377.8 MB, free: 3.102 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2667/0.2684, allocations: 53.37 MB / 431.2 MB, free: 6.844 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01328/0.2817, allocations: 9.69 MB / 440.9 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006804/0.2885, allocations: 3.158 MB / 444 MB, free: 9.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.29, allocations: 27.88 kB / 444 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002097/0.2921, allocations: 0.6183 MB / 444.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002143/0.2942, allocations: 0.5931 MB / 445.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.2953, allocations: 319.5 kB / 445.6 MB, free: 8.391 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002871/0.2981, allocations: 1.763 MB / 447.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001048/0.2992, allocations: 453.3 kB / 447.8 MB, free: 6.145 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001356/0.3005, allocations: 0.6928 MB / 448.5 MB, free: 5.449 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001351/0.3019, allocations: 0.7467 MB / 449.2 MB, free: 4.699 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0003716/0.3023, allocations: 164 kB / 449.4 MB, free: 4.539 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006767/0.3029, allocations: 196 kB / 449.6 MB, free: 4.348 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000444/0.3034, allocations: 334.8 kB / 449.9 MB, free: 4.02 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.00121/0.3046, allocations: 0.8048 MB / 450.7 MB, free: 3.211 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002651/0.3072, allocations: 1.984 MB / 452.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/0.3072, allocations: 0 / 452.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3072, allocations: 0 / 452.7 MB, free: 1.219 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.826e-05/0.3073, allocations: 4 kB / 452.7 MB, free: 1.215 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.003412/0.3107, allocations: 1.763 MB / 454.4 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.545e-05/0.3107, allocations: 12.03 kB / 454.5 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002069/0.3109, allocations: 172.9 kB / 454.6 MB, free: 15.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000603/0.3115, allocations: 203.9 kB / 454.8 MB, free: 15.01 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001534/0.3131, allocations: 0.7719 MB / 455.6 MB, free: 14.21 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001789/0.3133, allocations: 159.8 kB / 455.8 MB, free: 14.03 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.3134, allocations: 119.9 kB / 455.9 MB, free: 13.91 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001999/0.3154, allocations: 1.142 MB / 457 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.557e-05/0.3155, allocations: 4 kB / 457 MB, free: 12.68 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001068/0.3156, allocations: 48 kB / 457.1 MB, free: 12.63 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.415e-05/0.3156, allocations: 24 kB / 457.1 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001607/0.3172, allocations: 0.7574 MB / 457.8 MB, free: 11.85 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.006316/0.3235, allocations: 3.813 MB / 461.7 MB, free: 7.844 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.3251, allocations: 0.55 MB / 462.2 MB, free: 7.285 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005188/0.3256, allocations: 246.6 kB / 462.4 MB, free: 7.043 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.305e-05/0.3257, allocations: 12.48 kB / 462.5 MB, free: 7.027 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006397/0.3263, allocations: 302.2 kB / 462.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.325e-06/0.3263, allocations: 0 / 462.8 MB, free: 6.719 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004806/0.3311, allocations: 1.861 MB / 464.6 MB, free: 4.824 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002936/0.3314, allocations: 483.3 kB / 465.1 MB, free: 4.242 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001687/0.3331, allocations: 1.105 MB / 466.2 MB, free: 3.125 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.711e-05/0.3332, allocations: 41.7 kB / 466.2 MB, free: 3.078 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006087/0.3338, allocations: 0.6599 MB / 466.9 MB, free: 2.41 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002391/0.334, allocations: 246 kB / 467.1 MB, free: 2.168 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003055/0.3343, allocations: 194.8 kB / 467.3 MB, free: 1.973 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001845/0.3345, allocations: 345.9 kB / 467.7 MB, free: 1.629 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005611/0.3351, allocations: 246.5 kB / 467.9 MB, free: 1.387 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001068/0.3361, allocations: 0.7134 MB / 468.6 MB, free: 480 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001493/0.3376, allocations: 0.945 MB / 469.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.444e-06/0.3376, allocations: 4 kB / 469.6 MB, free: 15.35 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002321/0.3399, allocations: 1.142 MB / 470.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.235e-05/0.34, allocations: 71.39 kB / 470.8 MB, free: 14.1 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.847e-05/0.34, allocations: 8 kB / 470.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006084/0.3406, allocations: 164.3 kB / 470.9 MB, free: 13.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/0.3414, allocations: 207.7 kB / 471.1 MB, free: 13.72 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004804/0.3462, allocations: 3.694 MB / 474.8 MB, free: 9.805 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00111/0.3473, allocations: 63.88 kB / 474.9 MB, free: 9.742 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.736e-05/0.3474, allocations: 44 kB / 474.9 MB, free: 9.699 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.0005431/0.3479, allocations: 293.7 kB / 475.2 MB, free: 9.402 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002179/0.3481, allocations: 139.2 kB / 475.4 MB, free: 9.266 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001612/0.3497, allocations: 0.6943 MB / 476.1 MB, free: 8.555 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.564e-06/0.3497, allocations: 4 kB / 476.1 MB, free: 8.551 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.3497, allocations: 8.125 kB / 476.1 MB, free: 8.543 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001536/0.3513, allocations: 0.959 MB / 477 MB, free: 7.473 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003237/0.3545, allocations: 1.756 MB / 478.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.3545, allocations: 0 / 478.8 MB, free: 5.641 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.355, allocations: 111.8 kB / 478.9 MB, free: 5.531 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004522/0.3555, allocations: 125.8 kB / 479 MB, free: 5.402 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.412e-05/0.3555, allocations: 15.98 kB / 479 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003815/0.3593, allocations: 3.384 MB / 482.4 MB, free: 1.777 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/0.3593, allocations: 4.031 kB / 482.4 MB, free: 1.773 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.3614, allocations: 1.053 MB / 483.5 MB, free: 0.6797 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005135/0.3619, allocations: 179.2 kB / 483.7 MB, free: 0.5039 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001502/0.362, allocations: 16 kB / 483.7 MB, free: 500 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006351/0.3627, allocations: 43.95 kB / 483.7 MB, free: 456 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001333/0.3628, allocations: 60.34 kB / 483.8 MB, free: 396 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.971e-05/0.3628, allocations: 24.11 kB / 483.8 MB, free: 372 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.364, allocations: 0.7445 MB / 484.5 MB, free: 15.61 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.364, allocations: 0 / 484.5 MB, free: 15.61 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001134/0.3651, allocations: 304 kB / 484.8 MB, free: 15.32 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.002471/0.3676, allocations: 1.647 MB / 486.5 MB, free: 13.61 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002255/0.3699, allocations: 1.061 MB / 487.5 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 7.274e-06/0.3699, allocations: 4 kB / 487.5 MB, free: 12.5 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009953/0.3709, allocations: 0.5272 MB / 488.1 MB, free: 11.95 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001535/0.3724, allocations: 328.6 kB / 488.4 MB, free: 11.62 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01624/0.3886, allocations: 9.77 MB / 498.2 MB, free: 1.309 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008592/0.3895, allocations: 1.089 MB / 499.3 MB, free: 196 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006678/0.3902, allocations: 141.8 kB / 499.4 MB, free: 52 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006658/0.3908, allocations: 471.4 kB / 499.9 MB, free: 15.59 MB / 414.1 MB Notification: Performance of SimCode: time 1.273e-06/0.3908, allocations: 4 kB / 499.9 MB, free: 15.58 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0833/0.4741, allocations: 30.04 MB / 0.5175 GB, free: 1.93 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 15.58/16.05, allocations: 8.453 kB / 0.5175 GB, free: 1.93 MB / 430.1 MB " [Timeout remaining time 644] (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.69013389502652]