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.001374/0.001374, allocations: 112.2 kB / 21.22 MB, free: 0.7305 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.001534/0.001534, allocations: 216.2 kB / 24.53 MB, free: 4.066 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.452/1.452, allocations: 230.6 MB / 258.3 MB, free: 7.996 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="cs",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="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 47.92 kB / 378.6 MB, free: 3.113 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2547/0.2561, allocations: 53.36 MB / 431.9 MB, free: 6.855 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.0117/0.2678, allocations: 9.7 MB / 441.6 MB, free: 13.12 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.006139/0.2739, allocations: 3.154 MB / 444.8 MB, free: 9.957 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00102/0.275, allocations: 35.81 kB / 444.8 MB, free: 9.922 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001668/0.2766, allocations: 0.6212 MB / 445.5 MB, free: 9.297 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001603/0.2782, allocations: 0.5776 MB / 446 MB, free: 8.715 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007438/0.279, allocations: 323.4 kB / 446.3 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.002201/0.2812, allocations: 1.765 MB / 448.1 MB, free: 6.625 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007453/0.2819, allocations: 453.3 kB / 448.6 MB, free: 6.152 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001132/0.283, allocations: 0.6967 MB / 449.3 MB, free: 5.453 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000935/0.284, allocations: 0.7467 MB / 450 MB, free: 4.703 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002041/0.2842, allocations: 160 kB / 450.2 MB, free: 4.547 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003597/0.2845, allocations: 192 kB / 450.3 MB, free: 4.359 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003364/0.2849, allocations: 338.8 kB / 450.7 MB, free: 4.027 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000797/0.2857, allocations: 0.8009 MB / 451.5 MB, free: 3.223 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002447/0.2881, allocations: 1.988 MB / 453.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.1e-06/0.2881, allocations: 0 / 453.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2881, allocations: 0 / 453.5 MB, free: 1.227 MB / 350.1 MB Notification: Performance of Transformations before backend: time 2.51e-05/0.2882, allocations: 0 / 453.5 MB, free: 1.227 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.003308/0.2915, allocations: 1.771 MB / 455.2 MB, free: 15.4 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.239e-05/0.2915, allocations: 15.97 kB / 455.2 MB, free: 15.39 MB / 366.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.492e-05/0.2915, allocations: 26.33 kB / 455.3 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001813/0.2917, allocations: 161 kB / 455.4 MB, free: 15.19 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006569/0.2924, allocations: 211.9 kB / 455.6 MB, free: 14.98 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0014/0.2938, allocations: 0.7641 MB / 456.4 MB, free: 14.19 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001773/0.294, allocations: 171.5 kB / 456.6 MB, free: 14 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001506/0.2941, allocations: 108 kB / 456.7 MB, free: 13.9 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.296, allocations: 1.153 MB / 457.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.2961, allocations: 0 / 457.8 MB, free: 12.66 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.589e-05/0.2962, allocations: 48 kB / 457.9 MB, free: 12.61 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.471e-05/0.2962, allocations: 28 kB / 457.9 MB, free: 12.58 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0016/0.2978, allocations: 0.7574 MB / 458.7 MB, free: 11.82 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.006174/0.304, allocations: 3.805 MB / 462.5 MB, free: 7.828 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.3055, allocations: 0.5499 MB / 463 MB, free: 7.27 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004904/0.306, allocations: 238.7 kB / 463.2 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.371e-05/0.306, allocations: 12.48 kB / 463.3 MB, free: 7.02 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000641/0.3067, allocations: 310.1 kB / 463.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of pre-optimization done (n=62): time 2.335e-06/0.3067, allocations: 0 / 463.6 MB, free: 6.703 MB / 366.1 MB Notification: Performance of matching and sorting (n=65): time 0.004722/0.3114, allocations: 1.865 MB / 465.4 MB, free: 4.805 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002562/0.3117, allocations: 483.3 kB / 465.9 MB, free: 4.223 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001475/0.3131, allocations: 1.105 MB / 467 MB, free: 3.105 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 6.505e-05/0.3132, allocations: 41.69 kB / 467 MB, free: 3.059 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005603/0.3138, allocations: 0.6638 MB / 467.7 MB, free: 2.387 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001988/0.314, allocations: 234 kB / 467.9 MB, free: 2.156 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002973/0.3143, allocations: 202.8 kB / 468.1 MB, free: 1.953 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001757/0.3144, allocations: 345.9 kB / 468.5 MB, free: 1.609 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006363/0.3151, allocations: 254.4 kB / 468.7 MB, free: 1.359 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009166/0.316, allocations: 0.7056 MB / 469.4 MB, free: 460 kB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001454/0.3174, allocations: 0.9411 MB / 470.4 MB, free: 15.34 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.192e-06/0.3174, allocations: 4 kB / 470.4 MB, free: 15.33 MB / 382.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002152/0.3196, allocations: 1.138 MB / 471.5 MB, free: 14.17 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.381e-05/0.3197, allocations: 71.44 kB / 471.6 MB, free: 14.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.628e-05/0.3197, allocations: 12 kB / 471.6 MB, free: 14.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005676/0.3202, allocations: 165.6 kB / 471.8 MB, free: 13.91 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006538/0.3209, allocations: 203.7 kB / 472 MB, free: 13.71 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004511/0.3254, allocations: 3.691 MB / 475.6 MB, free: 9.789 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009787/0.3264, allocations: 63.88 kB / 475.7 MB, free: 9.727 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.032e-05/0.3265, allocations: 51.98 kB / 475.8 MB, free: 9.676 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.0004794/0.3269, allocations: 292.3 kB / 476 MB, free: 9.383 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.3271, allocations: 135.2 kB / 476.2 MB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001536/0.3286, allocations: 0.6983 MB / 476.9 MB, free: 8.535 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.025e-06/0.3287, allocations: 8 kB / 476.9 MB, free: 8.527 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.3287, allocations: 4.125 kB / 476.9 MB, free: 8.523 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/0.3302, allocations: 0.9473 MB / 477.8 MB, free: 7.465 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.3334, allocations: 1.764 MB / 479.6 MB, free: 5.625 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.533e-06/0.3334, allocations: 4 kB / 479.6 MB, free: 5.621 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004714/0.3339, allocations: 107.8 kB / 479.7 MB, free: 5.516 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000545/0.3344, allocations: 125.8 kB / 479.8 MB, free: 5.387 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.761e-05/0.3344, allocations: 16 kB / 479.8 MB, free: 5.371 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003731/0.3382, allocations: 3.385 MB / 483.2 MB, free: 1.762 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/0.3382, allocations: 4 kB / 483.2 MB, free: 1.758 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001993/0.3402, allocations: 1.053 MB / 484.3 MB, free: 0.6641 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005176/0.3407, allocations: 183.2 kB / 484.5 MB, free: 496 kB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001474/0.3408, allocations: 20 kB / 484.5 MB, free: 476 kB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005956/0.3414, allocations: 31.97 kB / 484.5 MB, free: 444 kB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.3416, allocations: 68.27 kB / 484.6 MB, free: 376 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.016e-05/0.3416, allocations: 24.12 kB / 484.6 MB, free: 352 kB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001178/0.3428, allocations: 0.7446 MB / 485.3 MB, free: 15.59 MB / 398.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3428, allocations: 0 / 485.3 MB, free: 15.59 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.001109/0.3439, allocations: 308 kB / 485.6 MB, free: 15.29 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.002398/0.3463, allocations: 1.646 MB / 487.3 MB, free: 13.59 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.002068/0.3483, allocations: 1.064 MB / 488.4 MB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/0.3484, allocations: 0.9375 kB / 488.4 MB, free: 12.47 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.3494, allocations: 0.535 MB / 488.9 MB, free: 11.91 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001353/0.3508, allocations: 331.1 kB / 489.2 MB, free: 11.59 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01497/0.3657, allocations: 9.765 MB / 499 MB, free: 1.281 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009625/0.3667, allocations: 1.082 MB / 0.4883 GB, free: 176 kB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0005843/0.3673, allocations: 145.8 kB / 0.4885 GB, free: 28 kB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006193/0.3679, allocations: 471.4 kB / 0.4889 GB, free: 15.56 MB / 414.1 MB Notification: Performance of SimCode: time 8.41e-07/0.3679, allocations: 0 / 0.4889 GB, free: 15.56 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07805/0.4459, allocations: 30.07 MB / 0.5183 GB, free: 1.887 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 14.97/15.41, allocations: 14.36 kB / 0.5183 GB, free: 1.879 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 642] Reference file matches [Calling sys.exit(0), Time elapsed: 54.41235599596985]