Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.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.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource,tolerance=1e-06,outputFormat="mat",numberOfIntervals=40000,variableFilter="time|smee.is.1.|smee.is.2.|inertiaLoad.w|speedSensor.flange.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001249/0.001249, allocations: 108.4 kB / 18.36 MB, free: 4.77 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.001299/0.001299, allocations: 191 kB / 19.29 MB, free: 3.848 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.635/1.635, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.001264/0.001264, allocations: 51.92 kB / 282.1 MB, free: 2.461 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1144, allocations: 46.63 MB / 328.7 MB, free: 3.754 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource): time 0.01383/0.1284, allocations: 10.88 MB / 339.6 MB, free: 8.816 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.008615/0.1371, allocations: 3.677 MB / 343.3 MB, free: 5.121 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0035/0.1406, allocations: 55.75 kB / 343.4 MB, free: 5.066 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003547/0.1443, allocations: 0.8111 MB / 344.2 MB, free: 4.25 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005962/0.1503, allocations: 0.8658 MB / 345 MB, free: 3.379 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002276/0.1526, allocations: 463.3 kB / 345.5 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005321/0.1579, allocations: 2.944 MB / 348.4 MB, free: 15.97 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.004644/0.1626, allocations: 2.687 MB / 351.1 MB, free: 13.22 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.1655, allocations: 1.367 MB / 352.5 MB, free: 11.85 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004021/0.1696, allocations: 1.752 MB / 354.2 MB, free: 10.09 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001531/0.1711, allocations: 376 kB / 354.6 MB, free: 9.727 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002171/0.1733, allocations: 471.8 kB / 355.1 MB, free: 9.266 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.002123/0.1755, allocations: 1.075 MB / 356.1 MB, free: 8.188 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004553/0.18, allocations: 1.672 MB / 357.8 MB, free: 6.508 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007329/0.1874, allocations: 4.883 MB / 362.7 MB, free: 1.609 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.226e-06/0.1874, allocations: 0 / 362.7 MB, free: 1.609 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.835e-06/0.1875, allocations: 0 / 362.7 MB, free: 1.609 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001497/0.1876, allocations: 4 kB / 362.7 MB, free: 1.605 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: 660 * Number of variables: 660 Notification: Performance of Generate backend data structure: time 0.008807/0.1964, allocations: 3.379 MB / 366.1 MB, free: 14.16 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1965, allocations: 12.03 kB / 366.1 MB, free: 14.15 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009281/0.1974, allocations: 337.1 kB / 366.4 MB, free: 13.82 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003449/0.2009, allocations: 1.706 MB / 368.1 MB, free: 12.05 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001656/0.2011, allocations: 193.4 kB / 368.3 MB, free: 11.86 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003928/0.2015, allocations: 251.8 kB / 368.6 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006198/0.2077, allocations: 3.279 MB / 371.8 MB, free: 8.258 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.528e-05/0.2078, allocations: 8 kB / 371.8 MB, free: 8.25 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002515/0.2081, allocations: 100 kB / 371.9 MB, free: 8.152 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001774/0.2083, allocations: 128.9 kB / 372.1 MB, free: 8.023 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004828/0.2131, allocations: 2.744 MB / 374.8 MB, free: 5.266 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3179/0.531, allocations: 10.39 MB / 385.2 MB, free: 45.82 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002376/0.5335, allocations: 1.347 MB / 386.6 MB, free: 45.5 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001455/0.5349, allocations: 0.7792 MB / 387.3 MB, free: 45.25 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003546/0.5353, allocations: 203 kB / 387.5 MB, free: 45.06 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.905e-05/0.5354, allocations: 48.2 kB / 387.6 MB, free: 45.01 MB / 318.1 MB Notification: Performance of pre-optimization done (n=97): time 4.708e-06/0.5354, allocations: 1.969 kB / 387.6 MB, free: 45.01 MB / 318.1 MB Notification: Performance of matching and sorting (n=122): time 0.01684/0.5522, allocations: 7.026 MB / 394.6 MB, free: 42.52 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.525e-05/0.5523, allocations: 65.22 kB / 394.7 MB, free: 42.46 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002785/0.5551, allocations: 1.794 MB / 396.5 MB, free: 41.79 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.756e-05/0.5552, allocations: 50.45 kB / 396.5 MB, free: 41.74 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007128/0.556, allocations: 1.281 MB / 397.8 MB, free: 40.74 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002454/0.5562, allocations: 420.6 kB / 398.2 MB, free: 40.39 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003873/0.5566, allocations: 293.3 kB / 398.5 MB, free: 40.22 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.5567, allocations: 307.4 kB / 398.8 MB, free: 39.92 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009191/0.5576, allocations: 0.7756 MB / 399.6 MB, free: 39.54 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.5587, allocations: 1.296 MB / 400.9 MB, free: 38.48 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002221/0.5609, allocations: 2.215 MB / 403.1 MB, free: 36.93 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.206e-06/0.5609, allocations: 3.812 kB / 403.1 MB, free: 36.93 MB / 318.1 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.003177/0.5641, allocations: 2.477 MB / 405.6 MB, free: 35.66 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.932e-05/0.5642, allocations: 11.31 kB / 405.6 MB, free: 35.66 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.824e-05/0.5642, allocations: 18.69 kB / 405.6 MB, free: 35.66 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005667/0.5648, allocations: 244.7 kB / 405.8 MB, free: 35.54 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001293/0.5661, allocations: 417.2 kB / 406.2 MB, free: 35.43 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002011/0.5681, allocations: 3.238 MB / 409.5 MB, free: 32.31 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001311/0.5694, allocations: 127.2 kB / 409.6 MB, free: 32.2 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001016/0.5695, allocations: 80.05 kB / 409.7 MB, free: 32.12 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (198): * Single equations (assignments): 194 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001216/0.5708, allocations: 0.8211 MB / 410.5 MB, free: 31.29 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00025/0.571, allocations: 185.7 kB / 410.7 MB, free: 31.11 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/0.5736, allocations: 2.035 MB / 412.7 MB, free: 29.05 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/0.5736, allocations: 12 kB / 412.7 MB, free: 29.04 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.5736, allocations: 3.938 kB / 412.7 MB, free: 29.03 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.5736, allocations: 4.875 kB / 412.7 MB, free: 29.03 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006746/0.5804, allocations: 4.744 MB / 417.5 MB, free: 24.21 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.5804, allocations: 4 kB / 417.5 MB, free: 24.21 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009592/0.5814, allocations: 259.6 kB / 417.7 MB, free: 23.95 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004449/0.5819, allocations: 203.2 kB / 417.9 MB, free: 23.74 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.7e-05/0.5819, allocations: 24 kB / 418 MB, free: 23.72 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001786/0.5837, allocations: 3.217 MB / 421.2 MB, free: 20.24 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.5837, allocations: 4 kB / 421.2 MB, free: 20.23 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003559/0.5873, allocations: 3.135 MB / 424.3 MB, free: 17.05 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009063/0.5882, allocations: 426.6 kB / 424.7 MB, free: 16.61 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002236/0.5885, allocations: 24 kB / 424.8 MB, free: 16.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008626/0.5893, allocations: 91.88 kB / 424.8 MB, free: 16.5 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/0.5895, allocations: 80.83 kB / 424.9 MB, free: 16.42 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.943e-05/0.5896, allocations: 40.05 kB / 425 MB, free: 16.38 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001445/0.591, allocations: 1.22 MB / 426.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.91e-07/0.591, allocations: 0 / 426.2 MB, free: 15.17 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001494/0.5925, allocations: 485.1 kB / 426.7 MB, free: 14.7 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 2 (smpm.inertiaRotor.w,quadraticSpeedDependentTorque.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 (120): * Single equations (assignments): 116 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(2,1,100.0%), (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.0003542/0.5929, allocations: 201.8 kB / 426.9 MB, free: 14.5 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.002986/0.5959, allocations: 2.345 MB / 429.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 6.522e-06/0.5959, allocations: 0 / 429.2 MB, free: 12.09 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001562/0.5975, allocations: 1.336 MB / 430.5 MB, free: 10.68 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.5994, allocations: 499.5 kB / 431 MB, free: 10.21 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006571/0.606, allocations: 4.858 MB / 435.9 MB, free: 5.312 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001224/0.6072, allocations: 2.01 MB / 437.9 MB, free: 3.27 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 0.001207/0.6085, allocations: 0.4963 MB / 438.4 MB, free: 2.77 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003735/0.6088, allocations: 135.4 kB / 438.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6089, allocations: 0 / 438.5 MB, free: 2.637 MB / 318.1 MB Notification: Performance of Templates: time 0.04839/0.6572, allocations: 25.7 MB / 464.2 MB, free: 8.934 MB / 350.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_CurrentSource/SMPM_CurrentSource.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_CurrentSource.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches