Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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.0008933/0.0008933, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.004418/0.004418, allocations: 165.1 kB / 24.7 MB, free: 9.426 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8905/0.8905, allocations: 177.2 MB / 205 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeedE.phi|constantSpeedM.phi|smeeE.is.1.|smeeE.is.2.|smeeE.idq_dr.1.|smeeE.idq_rr.2.|smeeE.idq_sr.1.|smeeE.idq_sr.2.|smeeM.is.1.|smeeM.is.2.|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|smeeM.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|smeeM.stator.stray.port_p.Phi.im|smeeM.stator.stray.port_p.Phi.re",fileNamePrefix="Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.322e-06/1.322e-06, allocations: 0 / 325.9 MB, free: 15.4 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.162e-05/2.294e-05, allocations: 8.531 kB / 325.9 MB, free: 15.39 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator): time 0.01618/0.01621, allocations: 21.37 MB / 347.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01127/0.02748, allocations: 7.109 MB / 354.3 MB, free: 2.789 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.0294, allocations: 178.9 kB / 354.5 MB, free: 2.613 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002154/0.03156, allocations: 1.599 MB / 356.1 MB, free: 1 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003231/0.03479, allocations: 2.437 MB / 358.6 MB, free: 14.55 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001686/0.03647, allocations: 1.477 MB / 360 MB, free: 13.07 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.004929/0.0414, allocations: 7.571 MB / 367.6 MB, free: 5.469 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003016/0.04442, allocations: 3.033 MB / 370.6 MB, free: 2.355 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004229/0.04865, allocations: 4.846 MB / 375.5 MB, free: 13.5 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002589/0.05124, allocations: 3.226 MB / 378.7 MB, free: 10.27 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006363/0.05187, allocations: 0.8711 MB / 379.6 MB, free: 9.395 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.05324, allocations: 1.284 MB / 380.9 MB, free: 8.109 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001427/0.05466, allocations: 2.189 MB / 383.1 MB, free: 5.914 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001773/0.05644, allocations: 2.592 MB / 385.6 MB, free: 3.316 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008455/0.06489, allocations: 11.65 MB / 397.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.39e-06/0.0649, allocations: 0 / 397.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.0649, allocations: 0 / 397.3 MB, free: 7.637 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.000148/0.06505, allocations: 0 / 397.3 MB, free: 7.637 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1496 * Number of variables: 1496 Notification: Performance of Generate backend data structure: time 0.01018/0.07522, allocations: 7.481 MB / 404.8 MB, free: 84 kB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.136e-05/0.07526, allocations: 8.031 kB / 404.8 MB, free: 76 kB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002954/0.07822, allocations: 1.265 MB / 406 MB, free: 14.8 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004738/0.08295, allocations: 4.084 MB / 410.1 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002157/0.08317, allocations: 431.8 kB / 410.6 MB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005379/0.08371, allocations: 0.5588 MB / 411.1 MB, free: 9.66 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00856/0.09227, allocations: 7.568 MB / 418.7 MB, free: 1.969 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.352e-05/0.09236, allocations: 19.77 kB / 418.7 MB, free: 1.949 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003639/0.09273, allocations: 236 kB / 418.9 MB, free: 1.719 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001785/0.0929, allocations: 259.3 kB / 419.2 MB, free: 1.465 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006927/0.09983, allocations: 6.123 MB / 425.3 MB, free: 11.33 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02246/0.1223, allocations: 20.31 MB / 445.6 MB, free: 6.414 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004226/0.1265, allocations: 3.901 MB / 449.5 MB, free: 2.707 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002295/0.1288, allocations: 2.285 MB / 451.8 MB, free: 420 kB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1966/0.3254, allocations: 5.646 MB / 457.4 MB, free: 108.2 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.847e-05/0.3254, allocations: 65.48 kB / 457.5 MB, free: 108.1 MB / 410.7 MB Notification: Performance of pre-optimization done (n=238): time 5.29e-06/0.3254, allocations: 0 / 457.5 MB, free: 108.1 MB / 410.7 MB Notification: Performance of matching and sorting (n=282): time 0.01855/0.344, allocations: 13.18 MB / 470.7 MB, free: 101.8 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.344, allocations: 85.59 kB / 470.8 MB, free: 101.7 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003083/0.3471, allocations: 3.069 MB / 473.8 MB, free: 98.78 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002047/0.3473, allocations: 73.7 kB / 473.9 MB, free: 98.7 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008633/0.3482, allocations: 2.779 MB / 476.7 MB, free: 96.29 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004655/0.3486, allocations: 0.9964 MB / 477.7 MB, free: 95.35 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005727/0.3492, allocations: 0.6451 MB / 478.3 MB, free: 94.7 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 3.27e-05/0.3492, allocations: 309.1 kB / 478.6 MB, free: 94.39 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001437/0.3507, allocations: 1.541 MB / 480.2 MB, free: 92.85 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001655/0.3523, allocations: 2.785 MB / 483 MB, free: 89.53 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003275/0.3556, allocations: 4.592 MB / 487.6 MB, free: 84.37 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.197e-05/0.3556, allocations: 12 kB / 487.6 MB, free: 84.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=472) (initialization): time 0.005408/0.361, allocations: 5.311 MB / 492.9 MB, free: 78.98 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.844e-05/0.3611, allocations: 20 kB / 492.9 MB, free: 78.96 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.602e-05/0.3611, allocations: 40 kB / 492.9 MB, free: 78.93 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009074/0.362, allocations: 0.6861 MB / 493.6 MB, free: 78.23 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0015/0.3635, allocations: 0.8541 MB / 494.5 MB, free: 77.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005198/0.3687, allocations: 9.876 MB / 0.4925 GB, free: 67.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002302/0.371, allocations: 225.7 kB / 0.4928 GB, free: 66.9 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002947/0.3713, allocations: 172 kB / 0.4929 GB, free: 66.73 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 175 * 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 (427): * Single equations (assignments): 417 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 4 * 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): 4 systems {(3,12,100.0%), (1,6,100.0%), (2,13,100.0%), (1,5,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002449/0.3738, allocations: 1.631 MB / 0.4945 GB, free: 65.1 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008093/0.3746, allocations: 381.5 kB / 0.4949 GB, free: 64.72 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005021/0.3796, allocations: 4.239 MB / 0.499 GB, free: 60.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.048e-05/0.3796, allocations: 39.94 kB / 0.499 GB, free: 60.38 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.559e-05/0.3796, allocations: 8 kB / 0.4991 GB, free: 60.37 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-05/0.3797, allocations: 15.94 kB / 0.4991 GB, free: 60.36 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01205/0.3917, allocations: 8.346 MB / 0.5072 GB, free: 51.9 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.502e-05/0.3917, allocations: 7.938 kB / 0.5072 GB, free: 51.89 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001121/0.3929, allocations: 0.4957 MB / 0.5077 GB, free: 51.4 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001187/0.394, allocations: 0.7453 MB / 0.5084 GB, free: 50.64 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001754/0.3942, allocations: 71.97 kB / 0.5085 GB, free: 50.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006727/0.4009, allocations: 13.37 MB / 0.5216 GB, free: 36.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.4009, allocations: 11.92 kB / 0.5216 GB, free: 36.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00652/0.4075, allocations: 6.343 MB / 0.5278 GB, free: 30.07 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001437/0.4089, allocations: 0.6654 MB / 0.5284 GB, free: 29.41 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003609/0.4093, allocations: 67.92 kB / 0.5285 GB, free: 29.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009965/0.4103, allocations: 168 kB / 0.5286 GB, free: 29.18 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003231/0.4106, allocations: 225.5 kB / 0.5289 GB, free: 28.95 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001096/0.4107, allocations: 83.97 kB / 0.5289 GB, free: 28.87 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002039/0.4127, allocations: 2.004 MB / 0.5309 GB, free: 26.88 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4127, allocations: 0 / 0.5309 GB, free: 26.88 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002822/0.4156, allocations: 1.093 MB / 0.532 GB, free: 25.79 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 22 * Number of states: 10 (smeeM.phiMechanical,smeeM.stator.core.Phi.re,smeeM.stator.core.Phi.im,smeeM.stator.stray.Phi.re,smeeM.stator.stray.Phi.im,smeeE.phiMechanical,smeeE.idq_sr[1],smeeE.idq_sr[2],smeeE.idq_rr[2],smeeE.idq_dr[1]) * 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 (235): * Single equations (assignments): 225 * Array equations: 4 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 6 systems {(2,13,100.0%), (1,5,100.0%), (1,8,100.0%), (3,12,100.0%), (1,6,100.0%), (2,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.0005104/0.4161, allocations: 286.4 kB / 0.5322 GB, free: 25.5 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004433/0.4205, allocations: 4.382 MB / 0.5365 GB, free: 21.04 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.4205, allocations: 4 kB / 0.5365 GB, free: 21.04 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002427/0.4229, allocations: 2.718 MB / 0.5392 GB, free: 18.24 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002585/0.4255, allocations: 0.7374 MB / 0.5399 GB, free: 17.51 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01443/0.4399, allocations: 10.37 MB / 0.55 GB, free: 7.035 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002768/0.4427, allocations: 2.95 MB / 0.5529 GB, free: 4.043 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001101/0.4438, allocations: 276.4 kB / 0.5532 GB, free: 3.77 MB / 410.7 MB Notification: Performance of SimCode: time 2.034e-06/0.4438, allocations: 0 / 0.5532 GB, free: 3.77 MB / 410.7 MB Notification: Performance of Templates: time 0.2777/0.7215, allocations: 240.7 MB / 0.7882 GB, free: 1.02 MB / 474.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMEE_Generator.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: 13.571975064463913]