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: translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001337/0.001336, allocations: 102.9 kB / 17.58 MB, free: 5.453 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.001256/0.001257, allocations: 187.9 kB / 18.51 MB, free: 4.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.825/1.825, allocations: 205.1 MB / 224.4 MB, free: 12.32 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.001322/0.001322, allocations: 55.92 kB / 280.7 MB, free: 3.18 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.138, allocations: 46.63 MB / 327.3 MB, free: 4.477 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start): time 0.01008/0.1481, allocations: 7.083 MB / 334.4 MB, free: 13.34 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.004886/0.153, allocations: 2.392 MB / 336.8 MB, free: 10.94 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001009/0.1542, allocations: 16 kB / 336.8 MB, free: 10.92 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001533/0.1557, allocations: 0.4892 MB / 337.3 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001192/0.1569, allocations: 377 kB / 337.6 MB, free: 10.06 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004643/0.1574, allocations: 211.7 kB / 337.8 MB, free: 9.852 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001218/0.1586, allocations: 1.199 MB / 339 MB, free: 8.648 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006853/0.1593, allocations: 0.4959 MB / 339.5 MB, free: 8.133 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005664/0.1599, allocations: 466.1 kB / 340 MB, free: 7.676 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004865/0.1604, allocations: 489.8 kB / 340.5 MB, free: 7.195 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001446/0.1606, allocations: 116 kB / 340.6 MB, free: 7.082 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003208/0.1609, allocations: 156 kB / 340.7 MB, free: 6.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001739/0.1611, allocations: 223.2 kB / 341 MB, free: 6.711 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004906/0.1616, allocations: 0.5443 MB / 341.5 MB, free: 6.164 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001366/0.1629, allocations: 1.413 MB / 342.9 MB, free: 4.746 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.163, allocations: 3.938 kB / 342.9 MB, free: 4.742 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.734e-06/0.163, allocations: 4 kB / 342.9 MB, free: 4.738 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.609e-05/0.163, allocations: 4 kB / 342.9 MB, free: 4.734 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.002115/0.1651, allocations: 1.25 MB / 344.2 MB, free: 3.43 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.909e-05/0.1652, allocations: 15.89 kB / 344.2 MB, free: 3.414 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000503/0.1657, allocations: 143.7 kB / 344.3 MB, free: 3.273 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009407/0.1666, allocations: 0.6338 MB / 345 MB, free: 2.602 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.719e-05/0.1667, allocations: 58.38 kB / 345 MB, free: 2.543 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001221/0.1668, allocations: 84.38 kB / 345.1 MB, free: 2.461 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001257/0.1681, allocations: 0.7793 MB / 345.9 MB, free: 1.652 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.063e-05/0.1681, allocations: 7.906 kB / 345.9 MB, free: 1.645 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.311e-05/0.1682, allocations: 32 kB / 345.9 MB, free: 1.613 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.257e-05/0.1682, allocations: 20 kB / 345.9 MB, free: 1.594 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009677/0.1692, allocations: 0.5231 MB / 346.5 MB, free: 1.07 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004262/0.1735, allocations: 3.391 MB / 349.9 MB, free: 13.47 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005043/0.174, allocations: 230.5 kB / 350.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000247/0.1743, allocations: 116.8 kB / 350.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.692e-05/0.1743, allocations: 0 / 350.2 MB, free: 13.12 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.782e-05/0.1743, allocations: 42.56 kB / 350.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of pre-optimization done (n=25): time 1.212e-06/0.1744, allocations: 0 / 350.2 MB, free: 13.07 MB / 302.1 MB Notification: Performance of matching and sorting (n=28): time 0.002182/0.1765, allocations: 1.043 MB / 351.3 MB, free: 11.95 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.223e-05/0.1766, allocations: 81.11 kB / 351.4 MB, free: 11.85 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009816/0.1776, allocations: 0.7425 MB / 352.1 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.761e-05/0.1776, allocations: 33.7 kB / 352.1 MB, free: 11.06 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003418/0.178, allocations: 498.2 kB / 352.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.426e-05/0.1781, allocations: 102.5 kB / 352.7 MB, free: 10.46 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001519/0.1782, allocations: 118.2 kB / 352.8 MB, free: 10.34 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001953/0.1784, allocations: 378.8 kB / 353.2 MB, free: 9.961 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002688/0.1787, allocations: 133.2 kB / 353.3 MB, free: 9.832 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000503/0.1792, allocations: 414.2 kB / 353.7 MB, free: 9.289 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008118/0.1801, allocations: 0.5678 MB / 354.3 MB, free: 8.586 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.504e-06/0.1801, allocations: 4 kB / 354.3 MB, free: 8.582 MB / 302.1 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.001089/0.1812, allocations: 0.6107 MB / 354.9 MB, free: 7.961 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.596e-05/0.1812, allocations: 8 kB / 354.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.753e-05/0.1812, allocations: 12 kB / 354.9 MB, free: 7.941 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001914/0.1814, allocations: 29.25 kB / 355 MB, free: 7.91 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004206/0.1819, allocations: 143.8 kB / 355.1 MB, free: 7.77 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001125/0.183, allocations: 1.39 MB / 356.5 MB, free: 6.242 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000457/0.1835, allocations: 31.98 kB / 356.5 MB, free: 6.211 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.663e-05/0.1835, allocations: 32 kB / 356.6 MB, free: 6.18 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.0003693/0.1839, allocations: 241.6 kB / 356.8 MB, free: 5.934 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001198/0.184, allocations: 75.06 kB / 356.9 MB, free: 5.859 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006884/0.1847, allocations: 321.6 kB / 357.2 MB, free: 5.531 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.646e-06/0.1847, allocations: 8.031 kB / 357.2 MB, free: 5.523 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.032e-06/0.1847, allocations: 7.938 kB / 357.2 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.031e-06/0.1848, allocations: 0 / 357.2 MB, free: 5.516 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00192/0.1867, allocations: 1.102 MB / 358.3 MB, free: 4.332 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.769e-06/0.1867, allocations: 4 kB / 358.3 MB, free: 4.328 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000258/0.187, allocations: 59.91 kB / 358.4 MB, free: 4.27 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.084e-05/0.1871, allocations: 24.84 kB / 358.4 MB, free: 4.242 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.138e-05/0.1871, allocations: 8 kB / 358.4 MB, free: 4.234 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009667/0.1881, allocations: 1.359 MB / 359.8 MB, free: 2.734 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.25e-06/0.1881, allocations: 8.094 kB / 359.8 MB, free: 2.727 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008449/0.1889, allocations: 0.5637 MB / 360.3 MB, free: 2.121 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001975/0.1891, allocations: 176.2 kB / 360.5 MB, free: 1.93 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.473e-05/0.1892, allocations: 8 kB / 360.5 MB, free: 1.922 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003011/0.1895, allocations: 19.98 kB / 360.5 MB, free: 1.902 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.65e-05/0.1896, allocations: 27.91 kB / 360.6 MB, free: 1.875 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.508e-05/0.1896, allocations: 11.94 kB / 360.6 MB, free: 1.863 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007228/0.1904, allocations: 0.5029 MB / 361.1 MB, free: 1.367 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1904, allocations: 0 / 361.1 MB, free: 1.367 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0007532/0.1911, allocations: 160 kB / 361.2 MB, free: 1.211 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.0003001/0.1915, allocations: 119.2 kB / 361.3 MB, free: 1.086 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001017/0.1925, allocations: 462.8 kB / 361.8 MB, free: 0.6211 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/0.1925, allocations: 5.812 kB / 361.8 MB, free: 0.6172 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004019/0.1929, allocations: 242.9 kB / 362 MB, free: 376 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009534/0.1939, allocations: 198.8 kB / 362.2 MB, free: 176 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002659/0.1966, allocations: 1.435 MB / 363.7 MB, free: 14.68 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006285/0.1972, allocations: 0.9411 MB / 364.6 MB, free: 13.71 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0003647/0.1976, allocations: 90.02 kB / 364.7 MB, free: 13.62 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001044/0.1977, allocations: 47.44 kB / 364.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of SimCode: time 1.042e-06/0.1977, allocations: 0 / 364.7 MB, free: 13.58 MB / 318.1 MB Notification: Performance of Templates: time 0.02179/0.2195, allocations: 8.115 MB / 372.9 MB, free: 5.465 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start.makefile (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 & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCPM_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/DCMachines/DCPM_Start/DCPM_Start.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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