Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.001678/0.001678, allocations: 118.3 kB / 19.16 MB, free: 3.996 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.002033/0.002033, allocations: 209.7 kB / 22.12 MB, free: 1.055 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.414/1.414, allocations: 207.6 MB / 232.5 MB, free: 11.5 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001672/0.001672, allocations: 59.92 kB / 343 MB, free: 12.26 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2469/0.2486, allocations: 49.12 MB / 392.1 MB, free: 8.676 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.008626/0.2572, allocations: 9.59 MB / 401.7 MB, free: 1.848 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.005692/0.2629, allocations: 3.129 MB / 404.9 MB, free: 15.54 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001645/0.2646, allocations: 38.41 kB / 404.9 MB, free: 15.53 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001819/0.2664, allocations: 0.6076 MB / 405.5 MB, free: 15.21 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001987/0.2684, allocations: 0.591 MB / 406.1 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008587/0.2692, allocations: 316.3 kB / 406.4 MB, free: 14.6 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002374/0.2716, allocations: 1.764 MB / 408.2 MB, free: 13.67 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000745/0.2723, allocations: 457.4 kB / 408.6 MB, free: 13.4 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001119/0.2735, allocations: 0.6831 MB / 409.3 MB, free: 13.07 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009542/0.2744, allocations: 0.7524 MB / 410 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001818/0.2746, allocations: 158.1 kB / 410.2 MB, free: 12.68 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003843/0.275, allocations: 196.6 kB / 410.4 MB, free: 12.67 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002968/0.2753, allocations: 331.9 kB / 410.7 MB, free: 12.43 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008208/0.2761, allocations: 0.8112 MB / 411.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.2786, allocations: 1.987 MB / 413.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.2786, allocations: 0 / 413.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.683e-06/0.2786, allocations: 0 / 413.5 MB, free: 10.7 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.261e-05/0.2786, allocations: 1.719 kB / 413.5 MB, free: 10.7 MB / 334.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.00335/0.282, allocations: 1.84 MB / 415.4 MB, free: 9.285 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.282, allocations: 12.81 kB / 415.4 MB, free: 9.281 MB / 334.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.065e-05/0.2821, allocations: 28.08 kB / 415.4 MB, free: 9.277 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001895/0.2823, allocations: 170.5 kB / 415.6 MB, free: 9.137 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006026/0.2829, allocations: 204.8 kB / 415.8 MB, free: 9.043 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.2844, allocations: 0.8373 MB / 416.6 MB, free: 8.363 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001661/0.2845, allocations: 116.4 kB / 416.7 MB, free: 8.289 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/0.2847, allocations: 111.1 kB / 416.8 MB, free: 8.25 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.2867, allocations: 1.144 MB / 418 MB, free: 7.465 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.677e-05/0.2867, allocations: 6.25 kB / 418 MB, free: 7.461 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.884e-05/0.2868, allocations: 46.75 kB / 418 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.997e-05/0.2868, allocations: 26.47 kB / 418 MB, free: 7.426 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00153/0.2884, allocations: 0.7583 MB / 418.8 MB, free: 7.059 MB / 334.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.00592/0.2943, allocations: 3.924 MB / 422.7 MB, free: 3.867 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001535/0.2958, allocations: 0.5549 MB / 423.3 MB, free: 3.578 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.2964, allocations: 245.8 kB / 423.5 MB, free: 3.457 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.045e-05/0.2964, allocations: 11.38 kB / 423.5 MB, free: 3.453 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000639/0.297, allocations: 291.8 kB / 423.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 3.035e-06/0.297, allocations: 0 / 423.8 MB, free: 3.273 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.004998/0.302, allocations: 2.1 MB / 425.9 MB, free: 1.898 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003253/0.3024, allocations: 477 kB / 426.4 MB, free: 1.332 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001636/0.304, allocations: 1.107 MB / 427.5 MB, free: 284 kB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 5.804e-05/0.3041, allocations: 41.7 kB / 427.5 MB, free: 236 kB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005581/0.3046, allocations: 0.6522 MB / 428.2 MB, free: 15.57 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002067/0.3048, allocations: 246 kB / 428.4 MB, free: 15.33 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002861/0.3051, allocations: 198.8 kB / 428.6 MB, free: 15.12 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.000165/0.3053, allocations: 345.9 kB / 429 MB, free: 14.78 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005403/0.3058, allocations: 254.4 kB / 429.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009183/0.3067, allocations: 0.7053 MB / 429.9 MB, free: 13.62 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/0.3081, allocations: 0.9375 MB / 430.8 MB, free: 12.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.453e-06/0.3081, allocations: 4 kB / 430.9 MB, free: 12.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002154/0.3103, allocations: 1.142 MB / 432 MB, free: 11.34 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.3103, allocations: 63.39 kB / 432.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.598e-05/0.3104, allocations: 12 kB / 432.1 MB, free: 11.25 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006132/0.311, allocations: 173.7 kB / 432.2 MB, free: 11.08 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006832/0.3116, allocations: 203.7 kB / 432.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00455/0.3162, allocations: 3.894 MB / 436.3 MB, free: 6.707 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001164/0.3174, allocations: 63.92 kB / 436.4 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.019e-05/0.3174, allocations: 51.98 kB / 436.4 MB, free: 6.594 MB / 350.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.0005346/0.318, allocations: 293.7 kB / 436.7 MB, free: 6.297 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001864/0.3182, allocations: 127.2 kB / 436.9 MB, free: 6.172 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001521/0.3197, allocations: 0.7076 MB / 437.6 MB, free: 5.449 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.814e-06/0.3197, allocations: 8 kB / 437.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.3197, allocations: 0 / 437.6 MB, free: 5.441 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001437/0.3211, allocations: 0.949 MB / 438.5 MB, free: 4.379 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003088/0.3242, allocations: 1.789 MB / 440.3 MB, free: 2.504 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.298e-06/0.3242, allocations: 3.938 kB / 440.3 MB, free: 2.5 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.3247, allocations: 107.9 kB / 440.4 MB, free: 2.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004499/0.3251, allocations: 125.8 kB / 440.5 MB, free: 2.266 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.854e-05/0.3252, allocations: 12 kB / 440.6 MB, free: 2.254 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003685/0.3289, allocations: 3.596 MB / 444.1 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-06/0.3289, allocations: 7.875 kB / 444.2 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002048/0.3309, allocations: 1.055 MB / 445.2 MB, free: 13.28 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005112/0.3314, allocations: 260.2 kB / 445.5 MB, free: 13 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001387/0.3316, allocations: 24 kB / 445.5 MB, free: 12.98 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006356/0.3322, allocations: 31.97 kB / 445.5 MB, free: 12.95 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00012/0.3323, allocations: 60.42 kB / 445.6 MB, free: 12.89 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.412e-05/0.3324, allocations: 19.94 kB / 445.6 MB, free: 12.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001046/0.3334, allocations: 0.7484 MB / 446.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of sort global known variables: time 8e-08/0.3334, allocations: 0 / 446.3 MB, free: 12.12 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001092/0.3345, allocations: 315.9 kB / 446.7 MB, free: 11.81 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.002401/0.3369, allocations: 1.621 MB / 448.3 MB, free: 10.13 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002049/0.339, allocations: 1.061 MB / 449.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.339, allocations: 0 / 449.3 MB, free: 9.02 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009407/0.3399, allocations: 0.5392 MB / 449.9 MB, free: 8.453 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001351/0.3412, allocations: 341.3 kB / 450.2 MB, free: 8.117 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01505/0.3563, allocations: 9.744 MB / 460 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008277/0.3571, allocations: 1.086 MB / 461 MB, free: 12.7 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005952/0.3577, allocations: 145.8 kB / 461.2 MB, free: 12.56 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/0.3583, allocations: 471.3 kB / 461.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of SimCode: time 7.52e-07/0.3583, allocations: 0 / 461.6 MB, free: 12.1 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06936/0.4277, allocations: 29.34 MB / 491 MB, free: 14.65 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/14.24, allocations: 20 kB / 491 MB, free: 14.63 MB / 414.1 MB " [Timeout remaining time 646] (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --stepSize=0.0001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_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.56280215497827]