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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009516/0.0009516, allocations: 91.62 kB / 22.19 MB, free: 2.348 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0008985/0.0008985, allocations: 157.9 kB / 25.44 MB, free: 9.367 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8741/0.8741, allocations: 158.6 MB / 187.2 MB, free: 3.059 MB / 170.7 MB " [Timeout remaining time 179] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=400,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=400,variableFilter="time|smee.is.1.|smee.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 299.7 MB, free: 6.93 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.048e-05/2.241e-05, allocations: 2.281 kB / 299.7 MB, free: 6.926 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad): time 0.006468/0.00649, allocations: 7.961 MB / 307.7 MB, free: 14.92 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004211/0.0107, allocations: 3.011 MB / 310.7 MB, free: 11.9 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005419/0.01124, allocations: 47.69 kB / 310.7 MB, free: 11.85 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001004/0.01225, allocations: 0.6561 MB / 311.4 MB, free: 11.19 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.01339, allocations: 0.7684 MB / 312.1 MB, free: 10.42 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004088/0.0138, allocations: 343.3 kB / 312.5 MB, free: 10.08 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001227/0.01503, allocations: 2.174 MB / 314.7 MB, free: 7.898 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009257/0.01595, allocations: 0.7929 MB / 315.4 MB, free: 7.059 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009166/0.01687, allocations: 1.352 MB / 316.8 MB, free: 5.703 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007985/0.01767, allocations: 0.9702 MB / 317.8 MB, free: 4.73 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001621/0.01783, allocations: 232 kB / 318 MB, free: 4.504 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00033/0.01816, allocations: 311.8 kB / 318.3 MB, free: 4.199 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003857/0.01855, allocations: 0.705 MB / 319 MB, free: 3.492 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004454/0.01899, allocations: 0.7522 MB / 319.8 MB, free: 2.738 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002253/0.02124, allocations: 3.135 MB / 322.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.02125, allocations: 0 / 322.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.02125, allocations: 0 / 322.9 MB, free: 15.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.327e-05/0.02127, allocations: 0 / 322.9 MB, free: 15.59 MB / 314.7 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.002327/0.0236, allocations: 2.223 MB / 325.1 MB, free: 13.33 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.691e-05/0.02364, allocations: 15.98 kB / 325.1 MB, free: 13.31 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003718/0.02401, allocations: 239.6 kB / 325.4 MB, free: 13.08 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001187/0.0252, allocations: 1.085 MB / 326.4 MB, free: 11.95 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.772e-05/0.02525, allocations: 115.4 kB / 326.6 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001479/0.0254, allocations: 160.3 kB / 326.7 MB, free: 11.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001906/0.02731, allocations: 2.08 MB / 328.8 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.256e-05/0.02734, allocations: 15.88 kB / 328.8 MB, free: 9.512 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-05/0.02744, allocations: 60 kB / 328.9 MB, free: 9.453 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.449e-05/0.02749, allocations: 78.92 kB / 328.9 MB, free: 9.375 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001846/0.02934, allocations: 1.651 MB / 330.6 MB, free: 7.719 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005172/0.03451, allocations: 6.053 MB / 336.7 MB, free: 1.363 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000477/0.03498, allocations: 433.8 kB / 337.1 MB, free: 0.9336 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00023/0.03521, allocations: 246.2 kB / 337.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.03533, allocations: 36.47 kB / 337.4 MB, free: 0.6562 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.03535, allocations: 43 kB / 337.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of pre-optimization done (n=47): time 1.663e-06/0.03536, allocations: 0 / 337.4 MB, free: 0.6055 MB / 314.7 MB Notification: Performance of matching and sorting (n=63): time 0.003739/0.0391, allocations: 3.156 MB / 340.6 MB, free: 13.41 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001427/0.04052, allocations: 2.204 MB / 342.8 MB, free: 11.06 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001409/0.04193, allocations: 1.519 MB / 344.3 MB, free: 9.531 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.263e-05/0.04197, allocations: 33.7 kB / 344.3 MB, free: 9.492 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004404/0.04241, allocations: 1.06 MB / 345.4 MB, free: 8.422 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001185/0.04252, allocations: 234.1 kB / 345.6 MB, free: 8.191 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002462/0.04277, allocations: 319.3 kB / 345.9 MB, free: 7.871 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 6.282e-05/0.04283, allocations: 301.1 kB / 346.2 MB, free: 7.574 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005045/0.04334, allocations: 0.5231 MB / 346.7 MB, free: 7.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008489/0.04419, allocations: 1.465 MB / 348.2 MB, free: 5.121 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001649/0.04584, allocations: 2.135 MB / 350.3 MB, free: 2.516 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.935e-06/0.04584, allocations: 8 kB / 350.3 MB, free: 2.508 MB / 330.7 MB Notification: Performance of matching and sorting (n=208) (initialization): time 0.001946/0.04779, allocations: 2.156 MB / 352.5 MB, free: 344 kB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.04781, allocations: 24.03 kB / 352.5 MB, free: 320 kB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.972e-05/0.04783, allocations: 32 kB / 352.5 MB, free: 288 kB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002932/0.04812, allocations: 222.4 kB / 352.8 MB, free: 56 kB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.1171/0.1652, allocations: 391.6 kB / 353.1 MB, free: 58.21 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.1662, allocations: 1.719 MB / 354.9 MB, free: 57.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009209/0.1671, allocations: 140.6 kB / 355 MB, free: 57.05 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.265e-05/0.1672, allocations: 98.19 kB / 355.1 MB, free: 57.05 MB / 330.7 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.0006927/0.1679, allocations: 0.5919 MB / 355.7 MB, free: 56.93 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001372/0.168, allocations: 145.5 kB / 355.8 MB, free: 56.93 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00117/0.1692, allocations: 1.104 MB / 356.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.93e-06/0.1692, allocations: 6.094 kB / 356.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.516e-06/0.1692, allocations: 1 kB / 356.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.033e-06/0.1692, allocations: 3.703 kB / 356.9 MB, free: 56.57 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003105/0.1723, allocations: 3.013 MB / 360 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.881e-06/0.1723, allocations: 5.25 kB / 360 MB, free: 55.14 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002366/0.1726, allocations: 111.8 kB / 360.1 MB, free: 55.13 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003584/0.1729, allocations: 225.3 kB / 360.3 MB, free: 55.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.15e-05/0.173, allocations: 22.42 kB / 360.3 MB, free: 55.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002051/0.175, allocations: 3.779 MB / 364.1 MB, free: 52.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009949/0.176, allocations: 2.026 MB / 366.1 MB, free: 50.41 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.1775, allocations: 1.738 MB / 367.9 MB, free: 49.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002939/0.1778, allocations: 224.3 kB / 368.1 MB, free: 49.5 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.889e-05/0.1778, allocations: 17.09 kB / 368.1 MB, free: 49.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/0.1782, allocations: 58.09 kB / 368.1 MB, free: 49.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.787e-05/0.1783, allocations: 69.55 kB / 368.2 MB, free: 49.46 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.912e-05/0.1783, allocations: 27.39 kB / 368.2 MB, free: 49.46 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0008974/0.1792, allocations: 0.9604 MB / 369.2 MB, free: 49.08 MB / 330.7 MB Notification: Performance of sort global known variables: time 9e-08/0.1792, allocations: 0 / 369.2 MB, free: 49.08 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001036/0.1802, allocations: 384.4 kB / 369.6 MB, free: 49.05 MB / 330.7 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.0002203/0.1804, allocations: 171.5 kB / 369.7 MB, free: 48.94 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001277/0.1817, allocations: 1.42 MB / 371.2 MB, free: 48.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 3.056e-06/0.1817, allocations: 0 / 371.2 MB, free: 48.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005267/0.1822, allocations: 0.7296 MB / 371.9 MB, free: 48.01 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008604/0.1831, allocations: 351.3 kB / 372.2 MB, free: 47.91 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00246/0.1856, allocations: 3.218 MB / 375.5 MB, free: 45.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004488/0.186, allocations: 0.8764 MB / 376.3 MB, free: 44.98 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001694/0.1862, allocations: 120.1 kB / 376.4 MB, free: 44.87 MB / 330.7 MB Notification: Performance of SimCode: time 7.21e-07/0.1862, allocations: 0 / 376.4 MB, free: 44.87 MB / 330.7 MB Notification: Performance of Templates: time 0.02312/0.2093, allocations: 47.13 MB / 423.6 MB, free: 13.69 MB / 346.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMPM_NoLoad.makefile [Timeout 660] (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) [Timeout 480] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 6.925490854308009]