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.0008125/0.0008126, allocations: 95.69 kB / 17.3 MB, free: 6.344 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.0008341/0.0008342, allocations: 178.2 kB / 18.2 MB, free: 5.531 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.32/1.32, allocations: 205.4 MB / 224.4 MB, free: 13.06 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.0004747/0.0004747, allocations: 12.22 kB / 281.5 MB, free: 3.32 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.083/0.08349, allocations: 47.58 MB / 329.1 MB, free: 3.668 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Cooling): time 0.009894/0.09343, allocations: 8.989 MB / 338 MB, free: 10.62 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.005295/0.09876, allocations: 3 MB / 341 MB, free: 7.613 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009972/0.0998, allocations: 31.94 kB / 341.1 MB, free: 7.582 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001583/0.1014, allocations: 0.5127 MB / 341.6 MB, free: 7.066 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001447/0.1029, allocations: 0.4925 MB / 342.1 MB, free: 6.57 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006592/0.1035, allocations: 275.7 kB / 342.4 MB, free: 6.301 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001852/0.1054, allocations: 1.669 MB / 344 MB, free: 4.625 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000914/0.1063, allocations: 0.5493 MB / 344.6 MB, free: 4.051 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001154/0.1075, allocations: 0.5677 MB / 345.1 MB, free: 3.48 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008692/0.1084, allocations: 0.6609 MB / 345.8 MB, free: 2.816 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.1085, allocations: 84 kB / 345.9 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003948/0.1089, allocations: 124 kB / 346 MB, free: 2.613 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002594/0.1092, allocations: 262.7 kB / 346.3 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008136/0.11, allocations: 0.7401 MB / 347 MB, free: 1.605 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.112, allocations: 1.86 MB / 348.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.112, allocations: 0 / 348.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.284e-06/0.112, allocations: 0 / 348.9 MB, free: 15.74 MB / 302.1 MB Notification: Performance of Transformations before backend: time 2.706e-05/0.112, allocations: 0 / 348.9 MB, free: 15.74 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.00296/0.115, allocations: 1.555 MB / 350.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.718e-05/0.115, allocations: 8.031 kB / 350.4 MB, free: 14.11 MB / 302.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002474/0.1153, allocations: 161 kB / 350.6 MB, free: 13.94 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006012/0.1159, allocations: 207 kB / 350.8 MB, free: 13.73 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00134/0.1173, allocations: 0.8172 MB / 351.6 MB, free: 12.87 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001392/0.1174, allocations: 116.4 kB / 351.7 MB, free: 12.75 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/0.1176, allocations: 115.8 kB / 351.8 MB, free: 12.64 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001912/0.1196, allocations: 1.15 MB / 353 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.117e-05/0.1196, allocations: 0 / 353 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.04e-05/0.1197, allocations: 48 kB / 353 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.192e-05/0.1197, allocations: 24 kB / 353 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001645/0.1214, allocations: 0.7805 MB / 353.8 MB, free: 10.55 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.005503/0.1269, allocations: 3.965 MB / 357.8 MB, free: 6.383 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001478/0.1284, allocations: 0.6085 MB / 358.4 MB, free: 5.766 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004912/0.1289, allocations: 278.9 kB / 358.7 MB, free: 5.492 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.303e-05/0.129, allocations: 12.55 kB / 358.7 MB, free: 5.48 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006271/0.1296, allocations: 307.3 kB / 359 MB, free: 5.164 MB / 302.1 MB Notification: Performance of pre-optimization done (n=62): time 3.627e-06/0.1296, allocations: 0 / 359 MB, free: 5.164 MB / 302.1 MB Notification: Performance of matching and sorting (n=65): time 0.004359/0.134, allocations: 2.131 MB / 361.1 MB, free: 2.938 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002639/0.1342, allocations: 483.2 kB / 361.6 MB, free: 2.355 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001376/0.1356, allocations: 1.101 MB / 362.7 MB, free: 1.242 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.1357, allocations: 37.7 kB / 362.7 MB, free: 1.199 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/0.1362, allocations: 0.6467 MB / 363.4 MB, free: 0.543 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.1364, allocations: 232.7 kB / 363.6 MB, free: 320 kB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001027/0.1365, allocations: 85.67 kB / 363.7 MB, free: 228 kB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001506/0.1366, allocations: 341.9 kB / 364 MB, free: 15.88 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005538/0.1372, allocations: 262.5 kB / 364.3 MB, free: 15.63 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008505/0.1381, allocations: 0.7209 MB / 365 MB, free: 14.7 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001414/0.1395, allocations: 0.9648 MB / 366 MB, free: 13.55 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-05/0.1395, allocations: 4 kB / 366 MB, free: 13.55 MB / 318.1 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.00217/0.1417, allocations: 1.161 MB / 367.1 MB, free: 12.36 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.655e-05/0.1418, allocations: 67.39 kB / 367.2 MB, free: 12.29 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/0.1418, allocations: 12.16 kB / 367.2 MB, free: 12.27 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000539/0.1423, allocations: 161.6 kB / 367.4 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006507/0.143, allocations: 219.6 kB / 367.6 MB, free: 11.89 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003769/0.1468, allocations: 3.548 MB / 371.1 MB, free: 8.086 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.1478, allocations: 87.92 kB / 371.2 MB, free: 8 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.312e-05/0.1479, allocations: 44 kB / 371.3 MB, free: 7.957 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.0004797/0.1484, allocations: 301.5 kB / 371.5 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001448/0.1485, allocations: 122.6 kB / 371.7 MB, free: 7.531 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001448/0.15, allocations: 0.7232 MB / 372.4 MB, free: 6.785 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.15, allocations: 8 kB / 372.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.895e-06/0.15, allocations: 0 / 372.4 MB, free: 6.777 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001321/0.1513, allocations: 0.9763 MB / 373.4 MB, free: 5.691 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00288/0.1542, allocations: 1.813 MB / 375.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1542, allocations: 0 / 375.2 MB, free: 3.797 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004673/0.1547, allocations: 111.9 kB / 375.3 MB, free: 3.688 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004133/0.1551, allocations: 130 kB / 375.4 MB, free: 3.555 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.695e-05/0.1552, allocations: 15.98 kB / 375.4 MB, free: 3.539 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1448/0.3, allocations: 3.285 MB / 378.7 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.209e-06/0.3, allocations: 1.812 kB / 378.7 MB, free: 50.64 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002203/0.3022, allocations: 1.079 MB / 379.8 MB, free: 50.44 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004682/0.3027, allocations: 253.9 kB / 380.1 MB, free: 50.34 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.3029, allocations: 17.47 kB / 380.1 MB, free: 50.34 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006508/0.3035, allocations: 46.38 kB / 380.1 MB, free: 50.34 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001718/0.3037, allocations: 59.48 kB / 380.2 MB, free: 50.34 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.715e-05/0.3037, allocations: 19.67 kB / 380.2 MB, free: 50.34 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001329/0.3051, allocations: 0.7483 MB / 380.9 MB, free: 50.23 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3051, allocations: 0 / 380.9 MB, free: 50.23 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001089/0.3062, allocations: 311 kB / 381.2 MB, free: 50.23 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.002197/0.3084, allocations: 1.653 MB / 382.9 MB, free: 49.49 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002112/0.3105, allocations: 1.103 MB / 384 MB, free: 49.11 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.112e-06/0.3105, allocations: 5.531 kB / 384 MB, free: 49.11 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009052/0.3115, allocations: 0.5568 MB / 384.6 MB, free: 48.86 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002008/0.3135, allocations: 314.5 kB / 384.9 MB, free: 48.84 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01768/0.3312, allocations: 11.38 MB / 396.3 MB, free: 41.66 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008806/0.3321, allocations: 1.087 MB / 397.3 MB, free: 40.94 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.000818/0.3329, allocations: 148.5 kB / 397.5 MB, free: 40.9 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.3335, allocations: 475.6 kB / 398 MB, free: 40.54 MB / 318.1 MB Notification: Performance of SimCode: time 1.032e-06/0.3335, allocations: 0 / 398 MB, free: 40.54 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0413/0.3748, allocations: 27.22 MB / 425.2 MB, free: 16.19 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002236/0.3751, allocations: 250.5 kB / 425.4 MB, free: 15.93 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.545/2.92, allocations: 0 / 425.4 MB, free: 15.93 MB / 318.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","../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