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.001636/0.001636, allocations: 106.4 kB / 17.15 MB, free: 6.305 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.001908/0.001908, allocations: 198 kB / 18.07 MB, free: 5.41 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.975/1.975, allocations: 205.1 MB / 223.9 MB, free: 12.38 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.001288/0.001288, allocations: 51.94 kB / 280 MB, free: 3.57 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1267, allocations: 46.64 MB / 326.6 MB, free: 4.867 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start): time 0.009643/0.1364, allocations: 7.892 MB / 334.5 MB, free: 12.93 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.006113/0.1426, allocations: 2.611 MB / 337.1 MB, free: 10.3 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00174/0.1445, allocations: 27.94 kB / 337.1 MB, free: 10.28 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001944/0.1464, allocations: 494.1 kB / 337.6 MB, free: 9.793 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001758/0.1482, allocations: 389.2 kB / 338 MB, free: 9.41 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005456/0.1488, allocations: 219.8 kB / 338.2 MB, free: 9.195 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.001631/0.1504, allocations: 1.354 MB / 339.6 MB, free: 7.836 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007953/0.1512, allocations: 0.5045 MB / 340.1 MB, free: 7.309 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007563/0.152, allocations: 497.7 kB / 340.6 MB, free: 6.82 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005879/0.1526, allocations: 0.5443 MB / 341.1 MB, free: 6.273 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001348/0.1527, allocations: 84 kB / 341.2 MB, free: 6.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000334/0.1531, allocations: 120 kB / 341.3 MB, free: 6.074 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001956/0.1533, allocations: 223 kB / 341.5 MB, free: 5.855 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005992/0.1539, allocations: 0.5985 MB / 342.1 MB, free: 5.254 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001459/0.1553, allocations: 1.639 MB / 343.8 MB, free: 3.609 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.757e-06/0.1554, allocations: 4 kB / 343.8 MB, free: 3.605 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.1554, allocations: 0 / 343.8 MB, free: 3.605 MB / 286.1 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.1554, allocations: 3.938 kB / 343.8 MB, free: 3.602 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.002511/0.1579, allocations: 1.429 MB / 345.2 MB, free: 2.117 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.376e-05/0.158, allocations: 12.03 kB / 345.2 MB, free: 2.105 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005887/0.1586, allocations: 171.4 kB / 345.4 MB, free: 1.938 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001098/0.1597, allocations: 0.7106 MB / 346.1 MB, free: 1.184 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.015e-05/0.1597, allocations: 74 kB / 346.2 MB, free: 1.109 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001312/0.1599, allocations: 103.9 kB / 346.3 MB, free: 1.008 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001673/0.1616, allocations: 0.9229 MB / 347.2 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.856e-05/0.1616, allocations: 0 / 347.2 MB, free: 60 kB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.45e-05/0.1617, allocations: 40 kB / 347.2 MB, free: 20 kB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.849e-05/0.1617, allocations: 24.05 kB / 347.2 MB, free: 15.99 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001203/0.1629, allocations: 0.6284 MB / 347.9 MB, free: 15.37 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004905/0.1679, allocations: 3.913 MB / 351.8 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005874/0.1685, allocations: 343.7 kB / 352.1 MB, free: 10.85 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000278/0.1688, allocations: 151.9 kB / 352.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.46e-05/0.1688, allocations: 4 kB / 352.3 MB, free: 10.7 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.217e-05/0.1689, allocations: 42.55 kB / 352.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of pre-optimization done (n=32): time 1.983e-06/0.1689, allocations: 0 / 352.3 MB, free: 10.65 MB / 302.1 MB Notification: Performance of matching and sorting (n=35): time 0.002429/0.1713, allocations: 1.195 MB / 353.5 MB, free: 9.375 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.285e-05/0.1714, allocations: 81.11 kB / 353.6 MB, free: 9.277 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001119/0.1725, allocations: 0.8175 MB / 354.4 MB, free: 8.449 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.527e-05/0.1725, allocations: 29.7 kB / 354.4 MB, free: 8.414 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00042/0.173, allocations: 0.5679 MB / 355 MB, free: 7.836 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001073/0.1731, allocations: 134.2 kB / 355.1 MB, free: 7.703 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001716/0.1733, allocations: 126.5 kB / 355.3 MB, free: 7.57 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000145/0.1734, allocations: 334 kB / 355.6 MB, free: 7.238 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002973/0.1737, allocations: 141.9 kB / 355.7 MB, free: 7.102 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000527/0.1743, allocations: 471.9 kB / 356.2 MB, free: 6.5 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008509/0.1751, allocations: 0.6392 MB / 356.8 MB, free: 5.719 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.1751, allocations: 4 kB / 356.8 MB, free: 5.715 MB / 302.1 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001166/0.1763, allocations: 0.6807 MB / 357.5 MB, free: 5.023 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.373e-05/0.1763, allocations: 11.98 kB / 357.5 MB, free: 5.012 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.305e-05/0.1764, allocations: 12 kB / 357.5 MB, free: 5 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001633/0.1765, allocations: 32.86 kB / 357.6 MB, free: 4.965 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004726/0.177, allocations: 155.7 kB / 357.7 MB, free: 4.812 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001054/0.1781, allocations: 1.303 MB / 359 MB, free: 3.375 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004936/0.1786, allocations: 40.14 kB / 359.1 MB, free: 3.336 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.868e-05/0.1786, allocations: 32 kB / 359.1 MB, free: 3.305 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 (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.0003638/0.179, allocations: 257 kB / 359.3 MB, free: 3.047 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001148/0.1791, allocations: 86.97 kB / 359.4 MB, free: 2.961 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007479/0.1799, allocations: 385.9 kB / 359.8 MB, free: 2.57 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.1799, allocations: 8 kB / 359.8 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1799, allocations: 0 / 359.8 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/0.1799, allocations: 0 / 359.8 MB, free: 2.562 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001978/0.1819, allocations: 1.265 MB / 361.1 MB, free: 1.219 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.141e-06/0.1819, allocations: 4 kB / 361.1 MB, free: 1.215 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000313/0.1822, allocations: 75.89 kB / 361.2 MB, free: 1.141 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.834e-05/0.1823, allocations: 17.08 kB / 361.2 MB, free: 1.121 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.725e-05/0.1824, allocations: 16 kB / 361.2 MB, free: 1.105 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009582/0.1833, allocations: 1.276 MB / 362.5 MB, free: 15.7 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/0.1834, allocations: 7.969 kB / 362.5 MB, free: 15.69 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001039/0.1844, allocations: 0.6275 MB / 363.1 MB, free: 15.02 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002632/0.1847, allocations: 184.2 kB / 363.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001004/0.1848, allocations: 8 kB / 363.3 MB, free: 14.82 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003736/0.1852, allocations: 31.97 kB / 363.3 MB, free: 14.79 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.811e-05/0.1853, allocations: 27.91 kB / 363.3 MB, free: 14.76 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.283e-05/0.1853, allocations: 12 kB / 363.4 MB, free: 14.75 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.0007911/0.1861, allocations: 0.5576 MB / 363.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1861, allocations: 0 / 363.9 MB, free: 14.2 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0007505/0.1869, allocations: 195.9 kB / 364.1 MB, free: 14 MB / 318.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 (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.0002237/0.1871, allocations: 123.1 kB / 364.2 MB, free: 13.88 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.1881, allocations: 0.5119 MB / 364.7 MB, free: 13.35 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.1882, allocations: 0 / 364.7 MB, free: 13.35 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004315/0.1886, allocations: 275 kB / 365 MB, free: 13.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001156/0.1898, allocations: 199.4 kB / 365.2 MB, free: 12.88 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003279/0.193, allocations: 2.099 MB / 367.3 MB, free: 10.73 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007073/0.1938, allocations: 0.9962 MB / 368.3 MB, free: 9.703 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0004474/0.1942, allocations: 102.9 kB / 368.4 MB, free: 9.598 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001287/0.1944, allocations: 51.44 kB / 368.4 MB, free: 9.547 MB / 318.1 MB Notification: Performance of SimCode: time 6.21e-07/0.1944, allocations: 0 / 368.4 MB, free: 9.547 MB / 318.1 MB Notification: Performance of Templates: time 0.02033/0.2147, allocations: 8.995 MB / 377.4 MB, free: 0.5508 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.DCMachines.DCEE_Start.makefile (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) 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