Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.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.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") translateModel(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|armatureInverter.iDCFilter.y|armatureInverter.iMotFilter.y|armatureInverter.idealDcDc.deadTime.y|armatureInverter.idealDcDc.powerController.y|armatureInverter.vDCFilter.y|armatureInverter.vMotFilter.y|currentController.integrator.y|dcpm.la.i|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001647/0.001647, allocations: 97.17 kB / 16.94 MB, free: 5.98 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.001721/0.001721, allocations: 183 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.761/1.761, allocations: 205.4 MB / 224 MB, free: 13.18 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.0004528/0.0004528, allocations: 8 kB / 280.8 MB, free: 3.742 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1294/0.1298, allocations: 47.59 MB / 328.3 MB, free: 4.086 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM): time 0.01257/0.1425, allocations: 11.34 MB / 339.7 MB, free: 8.703 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009735/0.1523, allocations: 4.987 MB / 344.7 MB, free: 3.703 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002597/0.1549, allocations: 55.75 kB / 344.7 MB, free: 3.648 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002486/0.1574, allocations: 0.8238 MB / 345.5 MB, free: 2.82 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003044/0.1605, allocations: 0.849 MB / 346.4 MB, free: 1.969 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001795/0.1623, allocations: 0.5149 MB / 346.9 MB, free: 1.453 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.002739/0.165, allocations: 1.468 MB / 348.4 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001129/0.1662, allocations: 0.7561 MB / 349.1 MB, free: 15.19 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007987/0.167, allocations: 0.5757 MB / 349.7 MB, free: 14.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006981/0.1677, allocations: 0.6686 MB / 350.4 MB, free: 13.94 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001369/0.1678, allocations: 92 kB / 350.5 MB, free: 13.85 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.1682, allocations: 132 kB / 350.6 MB, free: 13.72 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002136/0.1684, allocations: 274.8 kB / 350.9 MB, free: 13.45 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000291/0.1687, allocations: 360.8 kB / 351.2 MB, free: 13.09 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001928/0.1706, allocations: 2.158 MB / 353.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.1706, allocations: 4 kB / 353.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.1706, allocations: 0 / 353.4 MB, free: 10.93 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.099e-05/0.1707, allocations: 0 / 353.4 MB, free: 10.93 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: 379 * Number of variables: 379 Notification: Performance of Generate backend data structure: time 0.00335/0.174, allocations: 1.762 MB / 355.1 MB, free: 9.105 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.219e-05/0.1741, allocations: 8.031 kB / 355.1 MB, free: 9.098 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000746/0.1749, allocations: 249.6 kB / 355.4 MB, free: 8.852 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001564/0.1764, allocations: 1.004 MB / 356.4 MB, free: 7.805 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.78e-05/0.1765, allocations: 111 kB / 356.5 MB, free: 7.695 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001789/0.1767, allocations: 151.9 kB / 356.7 MB, free: 7.547 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.1791, allocations: 1.419 MB / 358.1 MB, free: 6.07 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.176e-05/0.1792, allocations: 3.984 kB / 358.1 MB, free: 6.066 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001212/0.1793, allocations: 64 kB / 358.1 MB, free: 6.004 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.252e-05/0.1793, allocations: 36 kB / 358.2 MB, free: 5.969 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001823/0.1812, allocations: 0.9634 MB / 359.1 MB, free: 5 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008066/0.1892, allocations: 6.167 MB / 365.3 MB, free: 14.53 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001074/0.1903, allocations: 0.6599 MB / 366 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.891e-05/0.1904, allocations: 4.438 kB / 366 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.527e-05/0.1904, allocations: 39 kB / 366 MB, free: 13.77 MB / 318.1 MB Notification: Performance of pre-optimization done (n=51): time 2.605e-06/0.1904, allocations: 0 / 366 MB, free: 13.77 MB / 318.1 MB Notification: Performance of matching and sorting (n=54): time 0.003154/0.1936, allocations: 1.754 MB / 367.8 MB, free: 11.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.178e-05/0.1937, allocations: 89.5 kB / 367.8 MB, free: 11.84 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001463/0.1951, allocations: 1.096 MB / 368.9 MB, free: 10.73 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.1952, allocations: 41.7 kB / 369 MB, free: 10.68 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005532/0.1958, allocations: 0.813 MB / 369.8 MB, free: 9.859 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.00015/0.1959, allocations: 201.1 kB / 370 MB, free: 9.66 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.191e-05/0.196, allocations: 20 kB / 370 MB, free: 9.641 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001442/0.1961, allocations: 345.9 kB / 370.4 MB, free: 9.297 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004279/0.1965, allocations: 241.9 kB / 370.6 MB, free: 9.062 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006941/0.1972, allocations: 0.6251 MB / 371.2 MB, free: 8.254 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005537/0.1978, allocations: 342 kB / 371.5 MB, free: 7.922 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.46e-06/0.1978, allocations: 4 kB / 371.6 MB, free: 7.918 MB / 318.1 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.001575/0.1994, allocations: 1.006 MB / 372.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.002236/0.2016, allocations: 5.149 MB / 377.7 MB, free: 1.355 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.945e-05/0.2017, allocations: 12 kB / 377.7 MB, free: 1.344 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001849/0.2019, allocations: 44.84 kB / 377.8 MB, free: 1.297 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007268/0.2026, allocations: 231.6 kB / 378 MB, free: 1.07 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2197/0.4223, allocations: 1.29 MB / 379.3 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001156/0.4235, allocations: 56.61 kB / 379.3 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.804e-05/0.4236, allocations: 50.92 kB / 379.4 MB, free: 49.85 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.074e-05/0.4236, allocations: 4.125 kB / 379.4 MB, free: 49.85 MB / 318.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001516/0.4251, allocations: 0.8095 MB / 380.2 MB, free: 49.81 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.709e-05/0.4252, allocations: 20.38 kB / 380.2 MB, free: 49.81 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001192/0.4253, allocations: 44.2 kB / 380.3 MB, free: 49.8 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006846/0.426, allocations: 213.8 kB / 380.5 MB, free: 49.78 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000727/0.4267, allocations: 1.292 MB / 381.8 MB, free: 48.53 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005834/0.4273, allocations: 43.98 kB / 381.8 MB, free: 48.52 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.41e-05/0.4274, allocations: 51.62 kB / 381.9 MB, free: 48.52 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 2 (currentController.integrator.local_reset,armatureInverter.idealDcDc.powerController.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (122): * Single equations (assignments): 121 * 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.0006917/0.4281, allocations: 416.9 kB / 382.3 MB, free: 48.32 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001402/0.4282, allocations: 116.7 kB / 382.4 MB, free: 48.32 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001169/0.4294, allocations: 0.5775 MB / 383 MB, free: 48.25 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.518e-06/0.4294, allocations: 9.828 kB / 383 MB, free: 48.25 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.4295, allocations: 0.7969 kB / 383 MB, free: 48.25 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.115e-06/0.4295, allocations: 3.547 kB / 383 MB, free: 48.25 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002733/0.4322, allocations: 1.867 MB / 384.8 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-06/0.4322, allocations: 2 kB / 384.8 MB, free: 47.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004818/0.4327, allocations: 112.3 kB / 384.9 MB, free: 47.7 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.905e-05/0.4328, allocations: 27.22 kB / 385 MB, free: 47.68 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.22e-05/0.4328, allocations: 15.36 kB / 385 MB, free: 47.68 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006478/0.4335, allocations: 1.283 MB / 386.3 MB, free: 46.38 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.57e-06/0.4335, allocations: 6.484 kB / 386.3 MB, free: 46.37 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001398/0.4349, allocations: 1.021 MB / 387.3 MB, free: 45.82 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003027/0.4352, allocations: 246.2 kB / 387.5 MB, free: 45.68 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.4354, allocations: 14.08 kB / 387.6 MB, free: 45.67 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004804/0.4358, allocations: 42.61 kB / 387.6 MB, free: 45.66 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.862e-05/0.4359, allocations: 38.22 kB / 387.6 MB, free: 45.65 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-05/0.436, allocations: 17.75 kB / 387.6 MB, free: 45.64 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001073/0.4371, allocations: 0.7403 MB / 388.4 MB, free: 45.32 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4371, allocations: 0 / 388.4 MB, free: 45.32 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001549/0.4386, allocations: 467.4 kB / 388.8 MB, free: 45.28 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 10 (loadInertia.w,dcpm.la.i,armatureInverter.vDCFilter.y,armatureInverter.iMotFilter.y,armatureInverter.idealDcDc.deadTime.y,armatureInverter.idealDcDc.powerController.y,armatureInverter.vMotFilter.y,armatureInverter.iDCFilter.y,currentController.integrator.y,loadTorque.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 (53): * Single equations (assignments): 52 * 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.0002749/0.4389, allocations: 127.9 kB / 389 MB, free: 45.18 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.00224/0.4412, allocations: 1.255 MB / 390.2 MB, free: 44.63 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.4412, allocations: 1.281 kB / 390.2 MB, free: 44.63 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005081/0.4417, allocations: 363.7 kB / 390.6 MB, free: 44.44 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001075/0.4428, allocations: 265.2 kB / 390.8 MB, free: 44.36 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004037/0.4468, allocations: 3.066 MB / 393.9 MB, free: 42.48 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007155/0.4476, allocations: 1.203 MB / 395.1 MB, free: 41.75 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.0006831/0.4482, allocations: 167 kB / 395.3 MB, free: 41.7 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001945/0.4484, allocations: 78.33 kB / 395.3 MB, free: 41.69 MB / 318.1 MB Notification: Performance of SimCode: time 3.51e-07/0.4485, allocations: 0 / 395.3 MB, free: 41.69 MB / 318.1 MB Notification: Performance of Templates: time 0.01858/0.467, allocations: 11.88 MB / 407.2 MB, free: 34.09 MB / 318.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.pipe 2>&1) Environment - environmentSimulation: diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/ControlledDCDrives/CurrentControlledDCPM/CurrentControlledDCPM.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.ControlledDCDrives.CurrentControlledDCPM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches