Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") translateModel(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|dcee.airGapDC.psi_e|dcee.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001715/0.001716, allocations: 100.1 kB / 16.94 MB, free: 5.984 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.001977/0.001977, allocations: 179.5 kB / 17.82 MB, free: 5.652 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.954/1.954, allocations: 205.4 MB / 224 MB, free: 13.16 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.0007215/0.0007218, allocations: 16 kB / 280.8 MB, free: 3.738 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1479/0.1487, allocations: 47.58 MB / 328.3 MB, free: 4.094 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009076/0.1578, allocations: 6.358 MB / 334.7 MB, free: 13.7 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006194/0.1641, allocations: 2.505 MB / 337.2 MB, free: 11.19 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001271/0.1654, allocations: 19.94 kB / 337.2 MB, free: 11.17 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.1671, allocations: 469.8 kB / 337.7 MB, free: 10.71 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001859/0.169, allocations: 474.6 kB / 338.1 MB, free: 10.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00054/0.1695, allocations: 147.8 kB / 338.3 MB, free: 10.1 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002163/0.1717, allocations: 0.9988 MB / 339.3 MB, free: 9.102 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006921/0.1724, allocations: 431.2 kB / 339.7 MB, free: 8.664 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007579/0.1732, allocations: 418.3 kB / 340.1 MB, free: 8.254 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006349/0.1738, allocations: 461.8 kB / 340.6 MB, free: 7.801 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000102/0.1739, allocations: 60 kB / 340.6 MB, free: 7.742 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004105/0.1743, allocations: 107.9 kB / 340.7 MB, free: 7.637 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001564/0.1745, allocations: 175.2 kB / 340.9 MB, free: 7.465 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003572/0.1749, allocations: 253.1 kB / 341.1 MB, free: 7.211 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00132/0.1762, allocations: 1.289 MB / 342.4 MB, free: 5.918 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.1762, allocations: 0 / 342.4 MB, free: 5.918 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.304e-06/0.1762, allocations: 0 / 342.4 MB, free: 5.918 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.772e-05/0.1763, allocations: 0 / 342.4 MB, free: 5.918 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: 246 * Number of variables: 246 Notification: Performance of Generate backend data structure: time 0.002372/0.1786, allocations: 1.227 MB / 343.7 MB, free: 4.637 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/0.1787, allocations: 8.031 kB / 343.7 MB, free: 4.629 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000479/0.1792, allocations: 158.4 kB / 343.8 MB, free: 4.473 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00116/0.1804, allocations: 0.6912 MB / 344.5 MB, free: 3.738 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.635e-05/0.1804, allocations: 74 kB / 344.6 MB, free: 3.664 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001307/0.1806, allocations: 96 kB / 344.7 MB, free: 3.57 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001647/0.1822, allocations: 0.919 MB / 345.6 MB, free: 2.625 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.062e-05/0.1823, allocations: 7.891 kB / 345.6 MB, free: 2.617 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.282e-05/0.1824, allocations: 36 kB / 345.6 MB, free: 2.582 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.427e-05/0.1824, allocations: 24 kB / 345.7 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001349/0.1838, allocations: 0.6363 MB / 346.3 MB, free: 1.922 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00654/0.1903, allocations: 3.878 MB / 350.2 MB, free: 13.81 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007113/0.1911, allocations: 359.6 kB / 350.5 MB, free: 13.43 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.385e-05/0.1912, allocations: 8.531 kB / 350.5 MB, free: 13.42 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.379e-05/0.1912, allocations: 38.56 kB / 350.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 3.687e-06/0.1912, allocations: 0 / 350.6 MB, free: 13.38 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.003095/0.1943, allocations: 1.225 MB / 351.8 MB, free: 12.07 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.915e-05/0.1944, allocations: 81.11 kB / 351.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001179/0.1956, allocations: 0.7627 MB / 352.6 MB, free: 11.2 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 3.408e-05/0.1957, allocations: 29.7 kB / 352.7 MB, free: 11.17 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005226/0.1962, allocations: 0.5718 MB / 353.2 MB, free: 10.59 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001403/0.1963, allocations: 134.2 kB / 353.4 MB, free: 10.45 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.262e-05/0.1964, allocations: 12 kB / 353.4 MB, free: 10.44 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0002028/0.1966, allocations: 334 kB / 353.7 MB, free: 10.11 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003504/0.1969, allocations: 145.9 kB / 353.9 MB, free: 9.969 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006504/0.1976, allocations: 464 kB / 354.3 MB, free: 9.375 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004626/0.1981, allocations: 231.4 kB / 354.5 MB, free: 9.148 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.225e-06/0.1981, allocations: 4 kB / 354.5 MB, free: 9.145 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001281/0.1994, allocations: 0.6963 MB / 355.2 MB, free: 8.438 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.683e-05/0.1994, allocations: 12 kB / 355.2 MB, free: 8.426 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.783e-05/0.1995, allocations: 8 kB / 355.3 MB, free: 8.418 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000224/0.1997, allocations: 41.22 kB / 355.3 MB, free: 8.375 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005489/0.2003, allocations: 159.7 kB / 355.4 MB, free: 8.219 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001377/0.2016, allocations: 1.295 MB / 356.7 MB, free: 6.785 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.2022, allocations: 35.98 kB / 356.8 MB, free: 6.75 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.008e-05/0.2023, allocations: 35.94 kB / 356.8 MB, free: 6.715 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006174/0.2029, allocations: 269.7 kB / 357.1 MB, free: 6.441 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001429/0.2031, allocations: 86.95 kB / 357.2 MB, free: 6.355 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008718/0.2039, allocations: 390.1 kB / 357.5 MB, free: 5.961 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.841e-06/0.204, allocations: 4 kB / 357.5 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.204, allocations: 0 / 357.5 MB, free: 5.957 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.217e-06/0.204, allocations: 3.984 kB / 357.6 MB, free: 5.953 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002349/0.2063, allocations: 1.246 MB / 358.8 MB, free: 4.629 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.362e-06/0.2064, allocations: 4 kB / 358.8 MB, free: 4.625 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003261/0.2067, allocations: 71.91 kB / 358.9 MB, free: 4.555 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001021/0.2068, allocations: 20.84 kB / 358.9 MB, free: 4.531 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.904e-05/0.2068, allocations: 12 kB / 358.9 MB, free: 4.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001031/0.2079, allocations: 1.288 MB / 360.2 MB, free: 3.102 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.2079, allocations: 3.938 kB / 360.2 MB, free: 3.098 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001139/0.209, allocations: 0.7216 MB / 360.9 MB, free: 2.289 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002614/0.2093, allocations: 180.1 kB / 361.1 MB, free: 2.094 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.181e-05/0.2094, allocations: 11.98 kB / 361.1 MB, free: 2.082 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003174/0.2097, allocations: 31.98 kB / 361.1 MB, free: 2.051 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.822e-05/0.2098, allocations: 27.92 kB / 361.2 MB, free: 2.023 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.031e-05/0.2098, allocations: 15.94 kB / 361.2 MB, free: 2.008 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0007065/0.2106, allocations: 0.5107 MB / 361.7 MB, free: 1.504 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.91e-07/0.2106, allocations: 0 / 361.7 MB, free: 1.504 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.001034/0.2116, allocations: 188 kB / 361.9 MB, free: 1.32 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (dcee.inertiaRotor.w,dcee.la.i,dcee.airGapDC.psi_e,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 (34): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003347/0.212, allocations: 131.2 kB / 362 MB, free: 1.18 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.001204/0.2132, allocations: 0.5193 MB / 362.5 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.2132, allocations: 0 / 362.5 MB, free: 0.6484 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004741/0.2137, allocations: 275.6 kB / 362.8 MB, free: 376 kB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/0.2147, allocations: 190.6 kB / 363 MB, free: 188 kB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00366/0.2183, allocations: 2.079 MB / 365.1 MB, free: 14.05 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007972/0.2192, allocations: 1.02 MB / 366.1 MB, free: 13.01 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004905/0.2197, allocations: 102.7 kB / 366.2 MB, free: 12.9 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001225/0.2198, allocations: 55.38 kB / 366.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of SimCode: time 1.363e-06/0.2198, allocations: 0 / 366.2 MB, free: 12.85 MB / 318.1 MB Notification: Performance of Templates: time 0.01878/0.2386, allocations: 8.092 MB / 374.3 MB, free: 4.758 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_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/DCEE_Start/DCEE_Start.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches