Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling,fileNamePrefix="Modelica_trunk_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 trunk/package.mo): time 0.0009472/0.000952, allocations: 95.19 kB / 17.35 MB, free: 6.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009733/0.0009734, allocations: 202.2 kB / 18.28 MB, free: 5.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.227/1.227, allocations: 227.7 MB / 246.8 MB, free: 11.44 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0001966/0.0001966, allocations: 4 kB / 307.8 MB, free: 0.7461 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07854/0.07876, allocations: 51.53 MB / 359.4 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.0082/0.08698, allocations: 9.045 MB / 368.4 MB, free: 4.129 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.004338/0.09134, allocations: 3.042 MB / 371.5 MB, free: 1.074 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004731/0.09184, allocations: 23.94 kB / 371.5 MB, free: 1.051 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001114/0.09296, allocations: 0.5244 MB / 372 MB, free: 0.5234 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008415/0.09381, allocations: 492.5 kB / 372.5 MB, free: 40 kB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.1366/0.2304, allocations: 269.3 kB / 372.7 MB, free: 10.28 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.002195/0.2326, allocations: 1.672 MB / 374.4 MB, free: 10.27 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009406/0.2336, allocations: 0.55 MB / 375 MB, free: 10.17 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001091/0.2347, allocations: 0.5746 MB / 375.5 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001038/0.2357, allocations: 0.6589 MB / 376.2 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002483/0.236, allocations: 83.94 kB / 376.3 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005102/0.2365, allocations: 120.7 kB / 376.4 MB, free: 9.922 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002117/0.2367, allocations: 253.1 kB / 376.7 MB, free: 9.867 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008962/0.2376, allocations: 0.7375 MB / 377.4 MB, free: 9.621 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001848/0.2395, allocations: 1.861 MB / 379.2 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.378e-06/0.2395, allocations: 5.5 kB / 379.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.694e-06/0.2395, allocations: 0 / 379.3 MB, free: 9.34 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.315e-05/0.2395, allocations: 4 kB / 379.3 MB, free: 9.336 MB / 302.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.002382/0.2419, allocations: 1.551 MB / 380.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.554e-05/0.242, allocations: 10 kB / 380.8 MB, free: 8.41 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001698/0.2421, allocations: 166.8 kB / 381 MB, free: 8.367 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005013/0.2427, allocations: 203.3 kB / 381.2 MB, free: 8.285 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009833/0.2436, allocations: 0.8219 MB / 382 MB, free: 7.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001033/0.2438, allocations: 109.1 kB / 382.1 MB, free: 7.895 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001299/0.2439, allocations: 114.6 kB / 382.2 MB, free: 7.891 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.2456, allocations: 1.159 MB / 383.4 MB, free: 7.633 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.2456, allocations: 6.547 kB / 383.4 MB, free: 7.629 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.483e-05/0.2457, allocations: 48.12 kB / 383.4 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.076e-05/0.2458, allocations: 26.84 kB / 383.5 MB, free: 7.625 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.2472, allocations: 0.7775 MB / 384.2 MB, free: 7.367 MB / 302.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.004371/0.2516, allocations: 3.972 MB / 388.2 MB, free: 4.91 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001342/0.2529, allocations: 0.5978 MB / 388.8 MB, free: 4.676 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004433/0.2534, allocations: 279 kB / 389.1 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.606e-05/0.2534, allocations: 7.594 kB / 389.1 MB, free: 4.574 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005311/0.2539, allocations: 309.6 kB / 389.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 1.973e-06/0.254, allocations: 0 / 389.4 MB, free: 4.438 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.003917/0.2579, allocations: 2.133 MB / 391.5 MB, free: 3.176 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.227e-05/0.258, allocations: 477 kB / 392 MB, free: 2.609 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.2592, allocations: 1.102 MB / 393.1 MB, free: 1.996 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 4.362e-05/0.2593, allocations: 39.36 kB / 393.1 MB, free: 1.957 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003299/0.2596, allocations: 0.6413 MB / 393.8 MB, free: 1.387 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.2597, allocations: 239.9 kB / 394 MB, free: 1.184 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.572e-05/0.2598, allocations: 83.02 kB / 394.1 MB, free: 1.125 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 5.561e-05/0.2599, allocations: 342.6 kB / 394.4 MB, free: 0.793 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004922/0.2604, allocations: 254 kB / 394.7 MB, free: 0.6836 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000694/0.2611, allocations: 0.7219 MB / 395.4 MB, free: 15.94 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001327/0.2624, allocations: 0.9633 MB / 396.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.522e-06/0.2624, allocations: 4.219 kB / 396.4 MB, free: 15.13 MB / 318.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.001946/0.2644, allocations: 1.167 MB / 397.5 MB, free: 14.5 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.3e-05/0.2645, allocations: 65.89 kB / 397.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.2645, allocations: 10.81 kB / 397.6 MB, free: 14.44 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004854/0.265, allocations: 169.5 kB / 397.8 MB, free: 14.36 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006004/0.2656, allocations: 211.5 kB / 398 MB, free: 14.31 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003506/0.2691, allocations: 3.547 MB / 401.5 MB, free: 11.04 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007863/0.2699, allocations: 92.2 kB / 401.6 MB, free: 10.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.579e-05/0.27, allocations: 46.44 kB / 401.7 MB, free: 10.98 MB / 318.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.0003647/0.2703, allocations: 290.2 kB / 401.9 MB, free: 10.75 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001306/0.2705, allocations: 132 kB / 402.1 MB, free: 10.68 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001333/0.2718, allocations: 0.7266 MB / 402.8 MB, free: 10.27 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.03e-06/0.2718, allocations: 14.16 kB / 402.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.2718, allocations: 3.188 kB / 402.8 MB, free: 10.26 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001263/0.2731, allocations: 0.9758 MB / 403.8 MB, free: 9.461 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002471/0.2756, allocations: 1.805 MB / 405.6 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.2756, allocations: 1.938 kB / 405.6 MB, free: 8.191 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004488/0.2761, allocations: 114.6 kB / 405.7 MB, free: 8.082 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003757/0.2764, allocations: 125.6 kB / 405.8 MB, free: 7.953 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.597e-05/0.2765, allocations: 19.98 kB / 405.8 MB, free: 7.934 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002877/0.2794, allocations: 3.289 MB / 409.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2794, allocations: 0 / 409.1 MB, free: 4.383 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00171/0.2811, allocations: 1.073 MB / 410.2 MB, free: 3.27 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003179/0.2814, allocations: 251.6 kB / 410.5 MB, free: 3.004 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001318/0.2816, allocations: 16 kB / 410.5 MB, free: 2.988 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006165/0.2822, allocations: 63.8 kB / 410.5 MB, free: 2.926 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001157/0.2823, allocations: 60.36 kB / 410.6 MB, free: 2.867 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.201e-05/0.2824, allocations: 20 kB / 410.6 MB, free: 2.848 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0009275/0.2833, allocations: 0.7445 MB / 411.4 MB, free: 2.098 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.2833, allocations: 4 kB / 411.4 MB, free: 2.094 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0009279/0.2842, allocations: 308 kB / 411.7 MB, free: 1.793 MB / 318.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.002043/0.2863, allocations: 1.653 MB / 413.3 MB, free: 88 kB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00178/0.2881, allocations: 1.097 MB / 414.4 MB, free: 14.94 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2881, allocations: 4.812 kB / 414.4 MB, free: 14.93 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008552/0.289, allocations: 0.5629 MB / 415 MB, free: 14.35 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001547/0.2905, allocations: 311.1 kB / 415.3 MB, free: 14.05 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01471/0.3052, allocations: 11.4 MB / 426.7 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005923/0.3058, allocations: 1.086 MB / 427.8 MB, free: 0.7305 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0005504/0.3064, allocations: 149.8 kB / 427.9 MB, free: 0.582 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004968/0.3069, allocations: 467.3 kB / 428.4 MB, free: 128 kB / 334.1 MB Notification: Performance of SimCode: time 4.71e-07/0.3069, allocations: 0 / 428.4 MB, free: 128 kB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04283/0.3498, allocations: 27.23 MB / 455.6 MB, free: 5.336 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.35, allocations: 247.3 kB / 455.8 MB, free: 5.082 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.367/2.717, allocations: 0 / 455.8 MB, free: 5.082 MB / 366.1 MB (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling_res.mat --tempDir=temp_Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling_fmu --startTime=0 --stopTime=25 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Cooling.fmu > Modelica_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.pipe 2>&1) diffSimulationResults("Modelica_trunk_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_trunk_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches