Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.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_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001367/0.001367, allocations: 114.5 kB / 17.73 MB, free: 5.324 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.001399/0.0014, allocations: 187 kB / 18.66 MB, free: 4.398 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.651/1.651, allocations: 205.1 MB / 224.5 MB, free: 12.23 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.00216/0.00216, allocations: 48.41 kB / 328.5 MB, free: 3.301 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1451/0.1473, allocations: 46.62 MB / 375.1 MB, free: 4.566 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.2129/0.3602, allocations: 8.962 MB / 384.1 MB, free: 8.465 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.006482/0.3668, allocations: 3.209 MB / 387.3 MB, free: 6.746 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00168/0.3685, allocations: 35.41 kB / 387.4 MB, free: 6.738 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002257/0.3708, allocations: 0.7112 MB / 388.1 MB, free: 6.359 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002634/0.3735, allocations: 0.7425 MB / 388.8 MB, free: 5.883 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001022/0.3745, allocations: 324.7 kB / 389.1 MB, free: 5.688 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.002803/0.3773, allocations: 2.104 MB / 391.2 MB, free: 4.633 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001863/0.3792, allocations: 1.402 MB / 392.6 MB, free: 4.035 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001495/0.3807, allocations: 0.9172 MB / 393.5 MB, free: 3.59 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001942/0.3827, allocations: 1.128 MB / 394.7 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006565/0.3833, allocations: 231.8 kB / 394.9 MB, free: 3.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00115/0.3845, allocations: 327.1 kB / 395.2 MB, free: 3.031 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0009423/0.3854, allocations: 0.6756 MB / 395.9 MB, free: 2.672 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.3875, allocations: 1.08 MB / 397 MB, free: 1.977 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004033/0.3915, allocations: 3.11 MB / 400.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.21e-06/0.3915, allocations: 0 / 400.1 MB, free: 0.8711 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.3915, allocations: 4 kB / 400.1 MB, free: 0.8672 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.818e-05/0.3916, allocations: 1.875 kB / 400.1 MB, free: 0.8672 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004864/0.3965, allocations: 2.263 MB / 402.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.3966, allocations: 9.594 kB / 402.4 MB, free: 15.27 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006071/0.3972, allocations: 230.1 kB / 402.6 MB, free: 15.15 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001926/0.3991, allocations: 1.148 MB / 403.7 MB, free: 14.29 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001039/0.3992, allocations: 117.4 kB / 403.9 MB, free: 14.23 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/0.3995, allocations: 160.6 kB / 404 MB, free: 14.18 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003316/0.4028, allocations: 2.005 MB / 406 MB, free: 12.98 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.734e-05/0.4029, allocations: 19.36 kB / 406 MB, free: 12.96 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001659/0.4031, allocations: 61.88 kB / 406.1 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.233e-05/0.4032, allocations: 76.14 kB / 406.2 MB, free: 12.9 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002747/0.4059, allocations: 1.652 MB / 407.8 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009817/0.4157, allocations: 6.888 MB / 414.7 MB, free: 6.605 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.4166, allocations: 454.8 kB / 415.2 MB, free: 6.383 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003716/0.417, allocations: 259.8 kB / 415.4 MB, free: 6.262 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000219/0.4172, allocations: 119.5 kB / 415.5 MB, free: 6.152 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.603e-05/0.4172, allocations: 45.53 kB / 415.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of pre-optimization done (n=47): time 2.224e-06/0.4172, allocations: 0 / 415.6 MB, free: 6.102 MB / 334.1 MB Notification: Performance of matching and sorting (n=63): time 0.00707/0.4243, allocations: 3.286 MB / 418.9 MB, free: 3.316 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002438/0.4268, allocations: 2.333 MB / 421.2 MB, free: 0.8164 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002492/0.4293, allocations: 1.612 MB / 422.8 MB, free: 15.2 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 7.941e-05/0.4294, allocations: 37.7 kB / 422.8 MB, free: 15.15 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007115/0.4301, allocations: 1.026 MB / 423.9 MB, free: 14.11 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001881/0.4303, allocations: 236.8 kB / 424.1 MB, free: 13.88 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004134/0.4307, allocations: 323.1 kB / 424.4 MB, free: 13.56 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 9.17e-05/0.4308, allocations: 301.1 kB / 424.7 MB, free: 13.26 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00081/0.4316, allocations: 0.5192 MB / 425.2 MB, free: 12.74 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001494/0.4331, allocations: 1.461 MB / 426.7 MB, free: 10.81 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002358/0.4355, allocations: 2.138 MB / 428.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.616e-05/0.4355, allocations: 11.94 kB / 428.8 MB, free: 8.195 MB / 350.1 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.003577/0.4391, allocations: 2.161 MB / 431 MB, free: 6.016 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.41e-05/0.4392, allocations: 24.22 kB / 431 MB, free: 5.992 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.788e-05/0.4392, allocations: 32 kB / 431 MB, free: 5.961 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005488/0.4398, allocations: 218.4 kB / 431.3 MB, free: 5.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001163/0.4409, allocations: 403.6 kB / 431.7 MB, free: 5.344 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00174/0.4427, allocations: 1.848 MB / 433.5 MB, free: 3.348 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/0.4444, allocations: 143.4 kB / 433.6 MB, free: 3.207 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001352/0.4445, allocations: 92 kB / 433.7 MB, free: 3.117 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 152 * 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 (204): * Single equations (assignments): 201 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * 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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00104/0.4455, allocations: 0.5867 MB / 434.3 MB, free: 2.52 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002924/0.4458, allocations: 154.1 kB / 434.5 MB, free: 2.367 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001936/0.4478, allocations: 1.114 MB / 435.6 MB, free: 1.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.556e-06/0.4478, allocations: 8 kB / 435.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.056e-06/0.4478, allocations: 0 / 435.6 MB, free: 1.227 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.388e-06/0.4478, allocations: 3.984 kB / 435.6 MB, free: 1.223 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005345/0.4532, allocations: 3.398 MB / 439 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.203e-06/0.4532, allocations: 4 kB / 439 MB, free: 13.67 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004353/0.4537, allocations: 111.8 kB / 439.1 MB, free: 13.56 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006304/0.4543, allocations: 226.7 kB / 439.3 MB, free: 13.33 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.883e-05/0.4544, allocations: 23.98 kB / 439.4 MB, free: 13.3 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003986/0.4583, allocations: 4.046 MB / 443.4 MB, free: 8.969 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002052/0.4604, allocations: 2.169 MB / 445.6 MB, free: 6.648 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0027/0.4631, allocations: 1.743 MB / 447.3 MB, free: 4.812 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006587/0.4638, allocations: 307.1 kB / 447.6 MB, free: 4.492 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001781/0.464, allocations: 23.94 kB / 447.6 MB, free: 4.469 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006675/0.4647, allocations: 55.88 kB / 447.7 MB, free: 4.414 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001373/0.4648, allocations: 63.81 kB / 447.7 MB, free: 4.352 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.157e-05/0.4649, allocations: 27.98 kB / 447.8 MB, free: 4.324 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001647/0.4665, allocations: 1.066 MB / 448.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.61e-07/0.4665, allocations: 0 / 448.8 MB, free: 3.262 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00171/0.4683, allocations: 384 kB / 449.2 MB, free: 2.887 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 1 ($STATESET1.x) * 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 (57): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {(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): 1 system {(2,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003358/0.4686, allocations: 171 kB / 449.4 MB, free: 2.711 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.002564/0.4712, allocations: 1.609 MB / 451 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.18e-06/0.4712, allocations: 0 / 451 MB, free: 1.055 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.00129/0.4725, allocations: 0.8639 MB / 451.9 MB, free: 148 kB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001871/0.4744, allocations: 410.9 kB / 452.3 MB, free: 15.75 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004894/0.4793, allocations: 3.165 MB / 455.4 MB, free: 12.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001155/0.4805, allocations: 1.469 MB / 456.9 MB, free: 10.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.001005/0.4815, allocations: 350 kB / 457.2 MB, free: 10.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002813/0.4818, allocations: 115.4 kB / 457.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of SimCode: time 7.81e-07/0.4818, allocations: 0 / 457.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of Templates: time 0.04151/0.5233, allocations: 20.87 MB / 478.2 MB, free: 5.598 MB / 398.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMPM_NoLoad/SMPM_NoLoad.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches