Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.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_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start",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.001358/0.001358, allocations: 101.1 kB / 17.31 MB, free: 6.395 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.00155/0.00155, allocations: 179.6 kB / 18.21 MB, free: 5.547 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.508/1.508, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005135/0.0005134, allocations: 8 kB / 281.5 MB, free: 3.316 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1148/0.1153, allocations: 47.58 MB / 329.1 MB, free: 3.664 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.006848/0.1222, allocations: 6.607 MB / 335.7 MB, free: 13.02 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004007/0.1262, allocations: 2.342 MB / 338 MB, free: 10.66 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004455/0.1267, allocations: 19.94 kB / 338 MB, free: 10.64 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001167/0.1279, allocations: 441.7 kB / 338.5 MB, free: 10.21 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007645/0.1287, allocations: 329.6 kB / 338.8 MB, free: 9.883 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003491/0.129, allocations: 179.9 kB / 339 MB, free: 9.707 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001011/0.13, allocations: 1.151 MB / 340.1 MB, free: 8.555 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005916/0.1306, allocations: 430.7 kB / 340.5 MB, free: 8.113 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004294/0.1311, allocations: 390.2 kB / 340.9 MB, free: 7.73 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004023/0.1315, allocations: 425.8 kB / 341.3 MB, free: 7.312 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 8.505e-05/0.1316, allocations: 56 kB / 341.4 MB, free: 7.258 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002299/0.1318, allocations: 87.97 kB / 341.5 MB, free: 7.172 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001415/0.132, allocations: 167.2 kB / 341.6 MB, free: 7.008 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003991/0.1324, allocations: 499.2 kB / 342.1 MB, free: 6.512 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001135/0.1335, allocations: 1.354 MB / 343.5 MB, free: 5.152 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.1335, allocations: 0 / 343.5 MB, free: 5.152 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.544e-06/0.1335, allocations: 4 kB / 343.5 MB, free: 5.148 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.247e-05/0.1336, allocations: 0 / 343.5 MB, free: 5.148 MB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 200 * Number of variables: 200 Notification: Performance of Generate backend data structure: time 0.001748/0.1353, allocations: 1.087 MB / 344.6 MB, free: 4.012 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.785e-05/0.1354, allocations: 8.031 kB / 344.6 MB, free: 4.004 MB / 286.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001399/0.1355, allocations: 127.1 kB / 344.7 MB, free: 3.871 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.136, allocations: 151.6 kB / 344.8 MB, free: 3.723 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008591/0.1369, allocations: 0.6377 MB / 345.5 MB, free: 3.039 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.417e-05/0.1369, allocations: 58.38 kB / 345.5 MB, free: 2.984 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.137, allocations: 88.02 kB / 345.6 MB, free: 2.898 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001293/0.1383, allocations: 0.7832 MB / 346.4 MB, free: 2.082 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.839e-05/0.1384, allocations: 7.938 kB / 346.4 MB, free: 2.074 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.261e-05/0.1384, allocations: 32 kB / 346.5 MB, free: 2.043 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.011e-05/0.1385, allocations: 20 kB / 346.5 MB, free: 2.023 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009967/0.1395, allocations: 0.5309 MB / 347 MB, free: 1.496 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003873/0.1434, allocations: 3.411 MB / 350.4 MB, free: 13.88 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004821/0.1438, allocations: 242.5 kB / 350.7 MB, free: 13.63 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002419/0.1441, allocations: 116.8 kB / 350.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/0.1441, allocations: 4 kB / 350.8 MB, free: 13.51 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.1442, allocations: 42.56 kB / 350.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.834e-06/0.1442, allocations: 0 / 350.8 MB, free: 13.46 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.001995/0.1462, allocations: 1.078 MB / 351.9 MB, free: 12.3 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.22e-05/0.1463, allocations: 81.11 kB / 352 MB, free: 12.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008981/0.1472, allocations: 0.7426 MB / 352.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.1472, allocations: 33.69 kB / 352.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003327/0.1475, allocations: 494.2 kB / 353.2 MB, free: 10.93 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.672e-05/0.1476, allocations: 110.5 kB / 353.3 MB, free: 10.82 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.705e-05/0.1477, allocations: 53.69 kB / 353.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001608/0.1479, allocations: 382.8 kB / 353.8 MB, free: 10.38 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002706/0.1481, allocations: 125.2 kB / 353.9 MB, free: 10.25 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004552/0.1486, allocations: 430.1 kB / 354.3 MB, free: 9.695 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007469/0.1494, allocations: 0.5871 MB / 354.9 MB, free: 8.973 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.14e-06/0.1494, allocations: 7.938 kB / 354.9 MB, free: 8.965 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.00102/0.1504, allocations: 0.6225 MB / 355.5 MB, free: 8.332 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.1504, allocations: 8.562 kB / 355.5 MB, free: 8.324 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.623e-05/0.1505, allocations: 15.98 kB / 355.5 MB, free: 8.309 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001548/0.1506, allocations: 32.86 kB / 355.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004165/0.1511, allocations: 139.8 kB / 355.7 MB, free: 8.137 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009604/0.152, allocations: 1.295 MB / 357 MB, free: 6.711 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004066/0.1524, allocations: 39.89 kB / 357 MB, free: 6.672 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.568e-05/0.1525, allocations: 31.94 kB / 357.1 MB, free: 6.641 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 44 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003064/0.1528, allocations: 249.6 kB / 357.3 MB, free: 6.387 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.938e-05/0.1529, allocations: 67.16 kB / 357.4 MB, free: 6.32 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006493/0.1536, allocations: 333.4 kB / 357.7 MB, free: 5.984 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.252e-06/0.1536, allocations: 8 kB / 357.7 MB, free: 5.977 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.1536, allocations: 3.938 kB / 357.7 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.1536, allocations: 0 / 357.7 MB, free: 5.973 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001519/0.1551, allocations: 1.117 MB / 358.8 MB, free: 4.773 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.1551, allocations: 3.984 kB / 358.8 MB, free: 4.77 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.1554, allocations: 59.91 kB / 358.9 MB, free: 4.711 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.659e-05/0.1555, allocations: 24.84 kB / 358.9 MB, free: 4.684 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.1555, allocations: 8 kB / 358.9 MB, free: 4.676 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008172/0.1563, allocations: 1.264 MB / 360.2 MB, free: 3.277 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.809e-06/0.1563, allocations: 7.969 kB / 360.2 MB, free: 3.27 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008503/0.1572, allocations: 0.5834 MB / 360.8 MB, free: 2.645 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001831/0.1574, allocations: 180.2 kB / 361 MB, free: 2.449 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.148e-05/0.1575, allocations: 8 kB / 361 MB, free: 2.441 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003022/0.1578, allocations: 20.08 kB / 361 MB, free: 2.422 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.114e-05/0.1578, allocations: 27.95 kB / 361 MB, free: 2.395 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.594e-05/0.1579, allocations: 8 kB / 361 MB, free: 2.387 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0006331/0.1585, allocations: 0.5069 MB / 361.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1585, allocations: 0 / 361.5 MB, free: 1.883 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0006135/0.1591, allocations: 163.9 kB / 361.7 MB, free: 1.723 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 3 (dcpm.inertiaRotor.w,dcpm.la.i,loadInertia.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001205/0.1603, allocations: 1.133 MB / 362.8 MB, free: 0.5391 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0008477/0.1612, allocations: 476.4 kB / 363.3 MB, free: 64 kB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.468e-06/0.1612, allocations: 0 / 363.3 MB, free: 64 kB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003703/0.1616, allocations: 247.2 kB / 363.5 MB, free: 15.81 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001111/0.1627, allocations: 175 kB / 363.7 MB, free: 15.64 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009564/0.1723, allocations: 7.052 MB / 370.8 MB, free: 8.18 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005217/0.1729, allocations: 0.9411 MB / 371.7 MB, free: 7.211 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003612/0.1732, allocations: 90.02 kB / 371.8 MB, free: 7.121 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000347/0.1736, allocations: 299.3 kB / 372.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.1736, allocations: 0 / 372.1 MB, free: 6.828 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2266/0.4002, allocations: 14.38 MB / 386.5 MB, free: 50.98 MB / 318.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001998/0.4005, allocations: 234.1 kB / 386.7 MB, free: 50.73 MB / 318.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.102/2.502, allocations: 0.7812 kB / 386.7 MB, free: 50.73 MB / 318.1 MB (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Electrical_Machines_Examples_DCMachines_DCPM_Start.fmu > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start_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_Start/DCPM_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches