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.0009438/0.0009439, allocations: 91.86 kB / 16.65 MB, free: 6.59 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.001174/0.001174, allocations: 182.8 kB / 17.56 MB, free: 6.203 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.346/1.346, allocations: 223.3 MB / 241.6 MB, free: 120 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002944/0.0002944, allocations: 12 kB / 301.5 MB, free: 6.016 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0993/0.09962, allocations: 50.42 MB / 352 MB, free: 3.59 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009732/0.1094, allocations: 9.02 MB / 361 MB, free: 10.52 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.005706/0.1151, allocations: 3.018 MB / 364 MB, free: 7.492 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001033/0.1162, allocations: 23.94 kB / 364 MB, free: 7.469 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001499/0.1177, allocations: 0.5206 MB / 364.5 MB, free: 6.945 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001545/0.1193, allocations: 492.5 kB / 365 MB, free: 6.461 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00067/0.12, allocations: 271.7 kB / 365.3 MB, free: 6.195 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.001786/0.1218, allocations: 1.669 MB / 367 MB, free: 4.523 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007566/0.1225, allocations: 0.5415 MB / 367.5 MB, free: 3.953 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007115/0.1232, allocations: 0.5717 MB / 368.1 MB, free: 3.379 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006648/0.1239, allocations: 0.657 MB / 368.7 MB, free: 2.719 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001358/0.1241, allocations: 88 kB / 368.8 MB, free: 2.633 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.1244, allocations: 124 kB / 368.9 MB, free: 2.512 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001837/0.1246, allocations: 250.8 kB / 369.2 MB, free: 2.266 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.1252, allocations: 0.744 MB / 369.9 MB, free: 1.512 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2122/0.3373, allocations: 1.855 MB / 371.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.862e-06/0.3374, allocations: 1.156 kB / 371.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of FrontEnd: time 3.406e-06/0.3374, allocations: 0 / 371.8 MB, free: 13.55 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.816e-05/0.3375, allocations: 0 / 371.8 MB, free: 13.55 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.004242/0.3418, allocations: 1.553 MB / 373.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.176e-05/0.3418, allocations: 10.5 kB / 373.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005142/0.3423, allocations: 166.4 kB / 373.5 MB, free: 12.62 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007859/0.3431, allocations: 200.7 kB / 373.7 MB, free: 12.54 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00145/0.3446, allocations: 0.8219 MB / 374.5 MB, free: 12.19 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001522/0.3448, allocations: 115.9 kB / 374.6 MB, free: 12.16 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001587/0.3449, allocations: 112.2 kB / 374.7 MB, free: 12.15 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002167/0.3471, allocations: 1.155 MB / 375.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.814e-05/0.3472, allocations: 6.125 kB / 375.9 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.296e-05/0.3473, allocations: 46.66 kB / 376 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.6e-05/0.3473, allocations: 25.69 kB / 376 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/0.3489, allocations: 0.7726 MB / 376.7 MB, free: 11.89 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.006021/0.355, allocations: 3.96 MB / 380.7 MB, free: 10.42 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001568/0.3566, allocations: 0.6101 MB / 381.3 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005116/0.3571, allocations: 275.9 kB / 381.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.587e-05/0.3571, allocations: 10.61 kB / 381.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006576/0.3578, allocations: 308.1 kB / 381.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 2.845e-06/0.3578, allocations: 0 / 381.9 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.00467/0.3625, allocations: 2.137 MB / 384 MB, free: 9.488 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001119/0.3626, allocations: 477.8 kB / 384.5 MB, free: 8.922 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.3641, allocations: 1.106 MB / 385.6 MB, free: 8.461 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.546e-05/0.3642, allocations: 40.95 kB / 385.6 MB, free: 8.422 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004148/0.3646, allocations: 0.6427 MB / 386.3 MB, free: 7.91 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001637/0.3648, allocations: 232.9 kB / 386.5 MB, free: 7.734 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/0.3649, allocations: 84.27 kB / 386.6 MB, free: 7.688 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 7.937e-05/0.365, allocations: 343.4 kB / 386.9 MB, free: 7.367 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000541/0.3655, allocations: 258.9 kB / 387.2 MB, free: 7.285 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007856/0.3663, allocations: 0.7151 MB / 387.9 MB, free: 6.602 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001224/0.3676, allocations: 0.9635 MB / 388.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.973e-06/0.3676, allocations: 5.562 kB / 388.9 MB, free: 5.871 MB / 302.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00206/0.3696, allocations: 1.163 MB / 390 MB, free: 5.406 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.319e-05/0.3697, allocations: 65.25 kB / 390.1 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.044e-05/0.3697, allocations: 11.56 kB / 390.1 MB, free: 5.344 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005894/0.3703, allocations: 171 kB / 390.3 MB, free: 5.297 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006895/0.371, allocations: 211.7 kB / 390.5 MB, free: 5.285 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003535/0.3746, allocations: 3.554 MB / 394 MB, free: 2.199 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.3757, allocations: 82.27 kB / 394.1 MB, free: 2.172 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.385e-05/0.3758, allocations: 51.92 kB / 394.2 MB, free: 2.164 MB / 302.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.0005469/0.3763, allocations: 294.6 kB / 394.5 MB, free: 1.949 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001793/0.3765, allocations: 128.5 kB / 394.6 MB, free: 1.883 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001477/0.378, allocations: 0.7258 MB / 395.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.808e-06/0.378, allocations: 7.75 kB / 395.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.378, allocations: 3.938 kB / 395.3 MB, free: 1.566 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001256/0.3793, allocations: 0.9702 MB / 396.3 MB, free: 0.8477 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003227/0.3825, allocations: 1.816 MB / 398.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.3826, allocations: 1.219 kB / 398.1 MB, free: 15.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004846/0.383, allocations: 118.4 kB / 398.2 MB, free: 15.68 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004369/0.3835, allocations: 130.2 kB / 398.4 MB, free: 15.61 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.099e-05/0.3836, allocations: 14.88 kB / 398.4 MB, free: 15.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003351/0.3869, allocations: 3.281 MB / 401.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.434e-06/0.3869, allocations: 0 / 401.6 MB, free: 12.49 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00189/0.3888, allocations: 1.076 MB / 402.7 MB, free: 11.86 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005772/0.3894, allocations: 256.5 kB / 403 MB, free: 11.62 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002772/0.3897, allocations: 20.52 kB / 403 MB, free: 11.61 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007788/0.3905, allocations: 47.31 kB / 403 MB, free: 11.59 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001356/0.3906, allocations: 61.36 kB / 403.1 MB, free: 11.56 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.367e-05/0.3907, allocations: 20.88 kB / 403.1 MB, free: 11.55 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001218/0.3919, allocations: 0.7485 MB / 403.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.3919, allocations: 0 / 403.9 MB, free: 11.13 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001377/0.3933, allocations: 309.8 kB / 404.2 MB, free: 10.96 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.002208/0.3955, allocations: 1.66 MB / 405.8 MB, free: 9.25 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002102/0.3976, allocations: 1.101 MB / 406.9 MB, free: 8.141 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.3976, allocations: 4.188 kB / 406.9 MB, free: 8.137 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009065/0.3986, allocations: 0.5627 MB / 407.5 MB, free: 7.566 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00187/0.4004, allocations: 314 kB / 407.8 MB, free: 7.27 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/0.4172, allocations: 11.38 MB / 419.2 MB, free: 11.16 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007/0.418, allocations: 1.082 MB / 420.3 MB, free: 10.05 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0006793/0.4187, allocations: 141.8 kB / 420.4 MB, free: 9.906 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005761/0.4193, allocations: 475.3 kB / 420.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.4193, allocations: 0 / 420.9 MB, free: 9.445 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2103/0.6296, allocations: 27.23 MB / 448.1 MB, free: 14.72 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002948/0.6299, allocations: 250.2 kB / 448.3 MB, free: 14.47 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.87/3.5, allocations: 6.188 kB / 448.3 MB, free: 14.46 MB / 366.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