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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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="me",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="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 102.6 kB / 17.72 MB, free: 5.359 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001674/0.001674, allocations: 187.1 kB / 18.66 MB, free: 4.434 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.368/1.368, allocations: 205.1 MB / 224.5 MB, free: 12.24 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001197, allocations: 47.94 kB / 328 MB, free: 3.789 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08461/0.08581, allocations: 46.62 MB / 374.7 MB, free: 5.055 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.1842/0.2701, allocations: 9.537 MB / 384.2 MB, free: 8.109 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.004972/0.2751, allocations: 3.118 MB / 387.3 MB, free: 6.527 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001093/0.2762, allocations: 27.22 kB / 387.3 MB, free: 6.523 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001575/0.2778, allocations: 0.5799 MB / 387.9 MB, free: 6.23 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001577/0.2794, allocations: 0.5563 MB / 388.5 MB, free: 5.828 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007478/0.2802, allocations: 324.9 kB / 388.8 MB, free: 5.637 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.001848/0.282, allocations: 1.763 MB / 390.6 MB, free: 4.711 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007912/0.2828, allocations: 0.6332 MB / 391.2 MB, free: 4.414 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001037/0.2839, allocations: 0.6753 MB / 391.9 MB, free: 4.078 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009959/0.2849, allocations: 0.7437 MB / 392.6 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002232/0.2851, allocations: 158.7 kB / 392.8 MB, free: 3.688 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004498/0.2856, allocations: 199.9 kB / 393 MB, free: 3.676 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002116/0.2858, allocations: 342.4 kB / 393.3 MB, free: 3.434 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006649/0.2865, allocations: 0.7996 MB / 394.1 MB, free: 2.945 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.2884, allocations: 1.986 MB / 396.1 MB, free: 2.172 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2884, allocations: 4.453 kB / 396.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.2885, allocations: 0 / 396.1 MB, free: 2.168 MB / 318.1 MB Notification: Performance of Transformations before backend: time 4.041e-05/0.2885, allocations: 0 / 396.1 MB, free: 2.168 MB / 318.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.003231/0.2917, allocations: 1.785 MB / 397.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.2918, allocations: 9.938 kB / 397.9 MB, free: 0.9883 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001752/0.292, allocations: 167.4 kB / 398.1 MB, free: 0.875 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005795/0.2926, allocations: 201.2 kB / 398.2 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.294, allocations: 0.8311 MB / 399.1 MB, free: 232 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001247/0.2942, allocations: 114.7 kB / 399.2 MB, free: 160 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001469/0.2943, allocations: 116.9 kB / 399.3 MB, free: 116 kB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001939/0.2963, allocations: 1.145 MB / 400.4 MB, free: 15.5 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.923e-05/0.2963, allocations: 10.36 kB / 400.5 MB, free: 15.49 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.331e-05/0.2964, allocations: 44.84 kB / 400.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.48e-05/0.2965, allocations: 25.72 kB / 400.5 MB, free: 15.46 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00155/0.298, allocations: 0.7615 MB / 401.3 MB, free: 15.19 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.006102/0.3041, allocations: 3.917 MB / 405.2 MB, free: 12.31 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001584/0.3057, allocations: 0.586 MB / 405.8 MB, free: 12.02 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005356/0.3063, allocations: 267.7 kB / 406.1 MB, free: 11.89 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.096e-05/0.3064, allocations: 12.23 kB / 406.1 MB, free: 11.88 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006372/0.307, allocations: 302.6 kB / 406.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of pre-optimization done (n=62): time 3.156e-06/0.307, allocations: 0 / 406.4 MB, free: 11.69 MB / 334.1 MB Notification: Performance of matching and sorting (n=65): time 0.005205/0.3122, allocations: 2.076 MB / 408.4 MB, free: 10.34 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002318/0.3125, allocations: 477.2 kB / 408.9 MB, free: 9.773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0016/0.3141, allocations: 1.102 MB / 410 MB, free: 9.16 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.357e-05/0.3142, allocations: 39.14 kB / 410 MB, free: 9.121 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005109/0.3147, allocations: 0.6496 MB / 410.7 MB, free: 8.539 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002015/0.3149, allocations: 238.4 kB / 410.9 MB, free: 8.332 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002768/0.3152, allocations: 195.2 kB / 411.1 MB, free: 8.211 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.000143/0.3153, allocations: 342.5 kB / 411.5 MB, free: 7.879 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005714/0.3159, allocations: 244.6 kB / 411.7 MB, free: 7.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009427/0.3169, allocations: 0.7135 MB / 412.4 MB, free: 7.031 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00142/0.3183, allocations: 0.9448 MB / 413.3 MB, free: 6.211 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.56e-05/0.3183, allocations: 4.125 kB / 413.4 MB, free: 6.211 MB / 334.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002205/0.3205, allocations: 1.142 MB / 414.5 MB, free: 5.59 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.369e-05/0.3206, allocations: 66.05 kB / 414.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.356e-05/0.3207, allocations: 13.53 kB / 414.6 MB, free: 5.523 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006054/0.3213, allocations: 172.1 kB / 414.7 MB, free: 5.445 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006888/0.322, allocations: 204 kB / 414.9 MB, free: 5.398 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00447/0.3265, allocations: 3.887 MB / 418.8 MB, free: 1.805 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001261/0.3277, allocations: 67.62 kB / 418.9 MB, free: 1.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001095/0.3279, allocations: 45.12 kB / 418.9 MB, free: 1.762 MB / 334.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.0006433/0.3285, allocations: 293.1 kB / 419.2 MB, free: 1.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002842/0.3288, allocations: 128.4 kB / 419.3 MB, free: 1.469 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001632/0.3304, allocations: 0.7091 MB / 420.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.895e-06/0.3305, allocations: 5.625 kB / 420.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.3305, allocations: 1.375 kB / 420.1 MB, free: 1.051 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001404/0.3319, allocations: 0.9603 MB / 421 MB, free: 156 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003408/0.3353, allocations: 1.785 MB / 422.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.3353, allocations: 0 / 422.8 MB, free: 14.28 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004832/0.3358, allocations: 108.1 kB / 422.9 MB, free: 14.18 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004424/0.3363, allocations: 133.6 kB / 423 MB, free: 14.04 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.587e-05/0.3363, allocations: 12 kB / 423.1 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003506/0.3398, allocations: 3.601 MB / 426.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.3399, allocations: 0 / 426.7 MB, free: 10.15 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002018/0.3419, allocations: 1.05 MB / 427.7 MB, free: 9.059 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000704/0.3426, allocations: 255.6 kB / 428 MB, free: 8.789 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000316/0.3429, allocations: 16 kB / 428 MB, free: 8.773 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008169/0.3438, allocations: 35.95 kB / 428 MB, free: 8.738 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000158/0.3439, allocations: 60.38 kB / 428.1 MB, free: 8.68 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.344, allocations: 23.98 kB / 428.1 MB, free: 8.656 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.001479/0.3455, allocations: 0.7445 MB / 428.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.3455, allocations: 0 / 428.8 MB, free: 7.906 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.00157/0.3471, allocations: 308 kB / 429.1 MB, free: 7.605 MB / 350.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.002514/0.3496, allocations: 1.624 MB / 430.8 MB, free: 5.926 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.002274/0.3519, allocations: 1.115 MB / 431.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.909e-06/0.3519, allocations: 0 / 431.9 MB, free: 4.762 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001017/0.3529, allocations: 0.545 MB / 432.4 MB, free: 4.191 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002223/0.3552, allocations: 318.6 kB / 432.7 MB, free: 3.879 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01719/0.3724, allocations: 9.723 MB / 442.5 MB, free: 9.594 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000746/0.3732, allocations: 1.086 MB / 443.5 MB, free: 8.48 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0006541/0.3738, allocations: 145.8 kB / 443.7 MB, free: 8.336 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005978/0.3745, allocations: 467.3 kB / 444.1 MB, free: 7.879 MB / 366.1 MB Notification: Performance of SimCode: time 8.71e-07/0.3745, allocations: 7.875 kB / 444.1 MB, free: 7.871 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06558/0.4401, allocations: 29.68 MB / 473.8 MB, free: 10.09 MB / 398.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 13.85/14.29, allocations: 11.72 kB / 473.8 MB, free: 10.07 MB / 398.1 MB (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 --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) 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) Reference file matches