Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4_0_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_0_0_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.001366/0.001366, allocations: 112.1 kB / 17.06 MB, free: 5.969 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.001492/0.001492, allocations: 200 kB / 18.01 MB, free: 5.055 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.439/1.439, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 43.94 kB / 350.8 MB, free: 3.719 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2745, allocations: 49.44 MB / 400.3 MB, free: 8.402 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.01132/0.2858, allocations: 9.591 MB / 409.8 MB, free: 15.17 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.006332/0.2922, allocations: 3.111 MB / 413 MB, free: 12.04 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001422/0.2937, allocations: 27.94 kB / 413 MB, free: 12.02 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001741/0.2955, allocations: 0.5939 MB / 413.6 MB, free: 11.42 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00181/0.2973, allocations: 0.5463 MB / 414.1 MB, free: 10.87 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007934/0.2981, allocations: 319.5 kB / 414.4 MB, free: 10.55 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.002361/0.3005, allocations: 1.771 MB / 416.2 MB, free: 8.77 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009811/0.3015, allocations: 0.6297 MB / 416.8 MB, free: 8.113 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/0.3027, allocations: 0.6732 MB / 417.5 MB, free: 7.438 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001037/0.3038, allocations: 0.7506 MB / 418.3 MB, free: 6.684 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002447/0.304, allocations: 160 kB / 418.4 MB, free: 6.527 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004431/0.3045, allocations: 199.9 kB / 418.6 MB, free: 6.332 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002561/0.3047, allocations: 326.8 kB / 418.9 MB, free: 6.012 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008004/0.3055, allocations: 0.8048 MB / 419.7 MB, free: 5.203 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002068/0.3076, allocations: 1.978 MB / 421.7 MB, free: 3.219 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.3076, allocations: 3.938 kB / 421.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.3077, allocations: 0 / 421.7 MB, free: 3.215 MB / 334.1 MB Notification: Performance of Transformations before backend: time 3.421e-05/0.3077, allocations: 0 / 421.7 MB, free: 3.215 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.00339/0.3111, allocations: 1.804 MB / 423.5 MB, free: 1.34 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.542e-05/0.3112, allocations: 12.03 kB / 423.5 MB, free: 1.328 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002032/0.3114, allocations: 172.9 kB / 423.7 MB, free: 1.148 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005544/0.3119, allocations: 191 kB / 423.9 MB, free: 0.9609 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.3134, allocations: 0.8289 MB / 424.7 MB, free: 92 kB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001692/0.3136, allocations: 116.5 kB / 424.8 MB, free: 15.96 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001555/0.3137, allocations: 119.8 kB / 424.9 MB, free: 15.85 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/0.3157, allocations: 1.142 MB / 426.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.816e-05/0.3158, allocations: 4 kB / 426.1 MB, free: 14.61 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.219e-05/0.3159, allocations: 48 kB / 426.1 MB, free: 14.56 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.041e-05/0.3159, allocations: 24 kB / 426.2 MB, free: 14.54 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001537/0.3174, allocations: 0.7535 MB / 426.9 MB, free: 13.78 MB / 350.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.00622/0.3237, allocations: 3.922 MB / 430.8 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001541/0.3252, allocations: 0.5812 MB / 431.4 MB, free: 9.074 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005181/0.3258, allocations: 271 kB / 431.7 MB, free: 8.812 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.79e-05/0.3258, allocations: 8.562 kB / 431.7 MB, free: 8.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006333/0.3265, allocations: 299.4 kB / 432 MB, free: 8.5 MB / 350.1 MB Notification: Performance of pre-optimization done (n=62): time 3.296e-06/0.3265, allocations: 0 / 432 MB, free: 8.5 MB / 350.1 MB Notification: Performance of matching and sorting (n=65): time 0.004947/0.3315, allocations: 2.084 MB / 434.1 MB, free: 6.32 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000224/0.3317, allocations: 471.2 kB / 434.5 MB, free: 5.75 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001577/0.3333, allocations: 1.101 MB / 435.6 MB, free: 4.637 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.613e-05/0.3334, allocations: 45.7 kB / 435.7 MB, free: 4.586 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005353/0.334, allocations: 0.6466 MB / 436.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002115/0.3342, allocations: 224.8 kB / 436.5 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.3345, allocations: 202.6 kB / 436.7 MB, free: 3.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3346, allocations: 345.9 kB / 437.1 MB, free: 3.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000558/0.3352, allocations: 250.5 kB / 437.3 MB, free: 2.914 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008839/0.3361, allocations: 0.7091 MB / 438 MB, free: 1.996 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001375/0.3375, allocations: 0.9453 MB / 439 MB, free: 0.875 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.315e-06/0.3375, allocations: 4 kB / 439 MB, free: 0.8711 MB / 350.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.002233/0.3397, allocations: 1.142 MB / 440.1 MB, free: 15.7 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.391e-05/0.3398, allocations: 71.33 kB / 440.2 MB, free: 15.62 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.892e-05/0.3398, allocations: 12 kB / 440.2 MB, free: 15.61 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006074/0.3405, allocations: 165.7 kB / 440.4 MB, free: 15.44 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000683/0.3412, allocations: 203.7 kB / 440.6 MB, free: 15.24 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004322/0.3455, allocations: 3.888 MB / 444.5 MB, free: 11.08 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001068/0.3466, allocations: 59.88 kB / 444.5 MB, free: 11.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-05/0.3467, allocations: 51.92 kB / 444.6 MB, free: 10.97 MB / 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.0004979/0.3472, allocations: 301.6 kB / 444.9 MB, free: 10.67 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.3474, allocations: 122.5 kB / 445 MB, free: 10.55 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/0.349, allocations: 0.6999 MB / 445.7 MB, free: 9.828 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.953e-06/0.349, allocations: 8 kB / 445.7 MB, free: 9.82 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/0.349, allocations: 3.984 kB / 445.7 MB, free: 9.816 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001409/0.3504, allocations: 0.9529 MB / 446.6 MB, free: 8.754 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003222/0.3537, allocations: 1.797 MB / 448.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.4e-06/0.3537, allocations: 0 / 448.4 MB, free: 6.879 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004679/0.3542, allocations: 103.9 kB / 448.5 MB, free: 6.777 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004457/0.3546, allocations: 133.8 kB / 448.7 MB, free: 6.641 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.152e-05/0.3547, allocations: 12 kB / 448.7 MB, free: 6.629 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003754/0.3584, allocations: 3.585 MB / 452.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.3585, allocations: 160 / 452.3 MB, free: 2.762 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002242/0.3607, allocations: 1.046 MB / 453.3 MB, free: 1.672 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006547/0.3614, allocations: 255.6 kB / 453.6 MB, free: 1.402 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002647/0.3617, allocations: 19.98 kB / 453.6 MB, free: 1.383 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000737/0.3624, allocations: 39.97 kB / 453.6 MB, free: 1.344 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001766/0.3626, allocations: 64.36 kB / 453.7 MB, free: 1.281 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.101e-05/0.3627, allocations: 16 kB / 453.7 MB, free: 1.266 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001363/0.3641, allocations: 0.7406 MB / 454.4 MB, free: 0.5195 MB / 366.1 MB Notification: Performance of sort global known variables: time 3.81e-07/0.3641, allocations: 4 kB / 454.4 MB, free: 0.5156 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.001414/0.3655, allocations: 308 kB / 454.7 MB, free: 220 kB / 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.002605/0.3681, allocations: 1.636 MB / 456.4 MB, free: 14.52 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.002261/0.3704, allocations: 1.096 MB / 457.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.128e-05/0.3704, allocations: 8.062 kB / 457.5 MB, free: 13.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.3715, allocations: 0.5471 MB / 458 MB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001923/0.3734, allocations: 332.9 kB / 458.4 MB, free: 12.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0173/0.3908, allocations: 9.717 MB / 468.1 MB, free: 2.211 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008816/0.3917, allocations: 1.086 MB / 469.2 MB, free: 1.09 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0006922/0.3924, allocations: 149.8 kB / 469.3 MB, free: 0.9414 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006653/0.3931, allocations: 467.3 kB / 469.8 MB, free: 496 kB / 382.1 MB Notification: Performance of SimCode: time 1.372e-06/0.3931, allocations: 0 / 469.8 MB, free: 496 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7676/1.161, allocations: 29.68 MB / 499.4 MB, free: 3.219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 26.38/27.54, allocations: 9.656 kB / 499.5 MB, free: 3.219 MB / 414.1 MB (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_4_0_0_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Cooling/DCPM_Cooling.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches