Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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.001656/0.001656, allocations: 109.2 kB / 20.43 MB, free: 1.473 MB / 14.72 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.002058/0.002058, allocations: 213.7 kB / 23.74 MB, free: 4.688 MB / 14.72 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 1.46/1.46, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] 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.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|constantSpeed.phi|smee.is.1.|smee.is.2.|smee.idq_dr.1.|smee.idq_rr.2.|smee.idq_sr.1.|smee.idq_sr.2.",fileNamePrefix="Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001625/0.001625, allocations: 55.92 kB / 378.3 MB, free: 2.598 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2297, allocations: 53.35 MB / 431.6 MB, free: 6.906 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01513/0.2448, allocations: 11.62 MB / 443.3 MB, free: 11.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008827/0.2536, allocations: 3.96 MB / 447.2 MB, free: 7.27 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002912/0.2566, allocations: 79.5 kB / 447.3 MB, free: 7.191 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002908/0.2595, allocations: 0.8661 MB / 448.2 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003708/0.2632, allocations: 1.002 MB / 449.2 MB, free: 5.312 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.2649, allocations: 0.5226 MB / 449.7 MB, free: 4.789 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005418/0.2704, allocations: 3.234 MB / 452.9 MB, free: 1.543 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002997/0.2734, allocations: 1.477 MB / 454.4 MB, free: 4 kB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002499/0.2759, allocations: 1.476 MB / 455.9 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003134/0.279, allocations: 1.864 MB / 457.7 MB, free: 12.65 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0009537/0.2799, allocations: 388 kB / 458.1 MB, free: 12.27 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001943/0.2819, allocations: 0.6752 MB / 458.8 MB, free: 11.6 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001667/0.2836, allocations: 1.091 MB / 459.9 MB, free: 10.5 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002954/0.2865, allocations: 1.727 MB / 461.6 MB, free: 8.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006277/0.2928, allocations: 5.08 MB / 466.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.368e-06/0.2928, allocations: 0 / 466.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.293e-06/0.2928, allocations: 0 / 466.7 MB, free: 3.672 MB / 366.1 MB Notification: Performance of Transformations before backend: time 6.878e-05/0.2929, allocations: 0 / 466.7 MB, free: 3.672 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 656 * Number of variables: 656 Notification: Performance of Generate backend data structure: time 0.007186/0.3, allocations: 3.499 MB / 470.2 MB, free: 124 kB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.3001, allocations: 8.031 kB / 470.2 MB, free: 116 kB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001686/0.3018, allocations: 462.7 kB / 470.6 MB, free: 15.66 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003539/0.3053, allocations: 1.791 MB / 472.4 MB, free: 13.83 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001727/0.3055, allocations: 197.1 kB / 472.6 MB, free: 13.63 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003698/0.3059, allocations: 252 kB / 472.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00544/0.3113, allocations: 3.239 MB / 476.1 MB, free: 10.07 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/0.3114, allocations: 8 kB / 476.1 MB, free: 10.06 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002356/0.3116, allocations: 108 kB / 476.2 MB, free: 9.957 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001392/0.3117, allocations: 112.9 kB / 476.3 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004731/0.3165, allocations: 2.701 MB / 479 MB, free: 7.129 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01689/0.3334, allocations: 10.11 MB / 489.2 MB, free: 12.67 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.3356, allocations: 1.252 MB / 490.4 MB, free: 11.42 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.3374, allocations: 0.9719 MB / 491.4 MB, free: 10.45 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002528/0.3377, allocations: 60.94 kB / 491.4 MB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.024e-05/0.3377, allocations: 43.56 kB / 491.5 MB, free: 10.34 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.486e-06/0.3377, allocations: 0 / 491.5 MB, free: 10.34 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01788/0.3556, allocations: 7.067 MB / 498.5 MB, free: 3.246 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.946e-05/0.3556, allocations: 68.72 kB / 498.6 MB, free: 3.168 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00286/0.3585, allocations: 1.897 MB / 0.4888 GB, free: 1.273 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001095/0.3586, allocations: 49.7 kB / 0.4888 GB, free: 1.219 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.3596, allocations: 1.276 MB / 0.4901 GB, free: 15.93 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004328/0.3601, allocations: 495.8 kB / 0.4905 GB, free: 15.44 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004781/0.3606, allocations: 295.4 kB / 0.4908 GB, free: 15.14 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3607, allocations: 305.1 kB / 0.4911 GB, free: 14.84 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001442/0.3621, allocations: 0.8198 MB / 0.4919 GB, free: 14.02 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00186/0.364, allocations: 1.304 MB / 0.4932 GB, free: 12.5 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003522/0.3675, allocations: 2.258 MB / 0.4954 GB, free: 10.03 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.193e-05/0.3675, allocations: 8 kB / 0.4954 GB, free: 10.02 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005171/0.3727, allocations: 2.728 MB / 0.4981 GB, free: 7.277 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.815e-05/0.3727, allocations: 12 kB / 0.4981 GB, free: 7.266 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.699e-05/0.3727, allocations: 16 kB / 0.4981 GB, free: 7.25 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.3738, allocations: 428.2 kB / 0.4985 GB, free: 6.824 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.3753, allocations: 395.3 kB / 0.4989 GB, free: 6.438 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00676/0.3821, allocations: 5.592 MB / 0.5043 GB, free: 0.6172 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/0.3837, allocations: 119.8 kB / 0.5045 GB, free: 0.5 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00014/0.3839, allocations: 75.98 kB / 0.5045 GB, free: 436 kB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 70 * 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 (187): * Single equations (assignments): 182 * Array equations: 2 * 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): 2 systems {(3,12,100.0%), (1,6,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001442/0.3853, allocations: 0.7889 MB / 0.5053 GB, free: 15.62 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003981/0.3857, allocations: 210.7 kB / 0.5055 GB, free: 15.42 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00439/0.3901, allocations: 2.316 MB / 0.5078 GB, free: 13.08 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.155e-05/0.3901, allocations: 16 kB / 0.5078 GB, free: 13.06 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.008e-05/0.3901, allocations: 7.938 kB / 0.5078 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.449e-05/0.3902, allocations: 7.969 kB / 0.5078 GB, free: 13.05 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009344/0.3995, allocations: 5.143 MB / 0.5128 GB, free: 7.781 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.026e-05/0.3995, allocations: 8.031 kB / 0.5128 GB, free: 7.773 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001107/0.4006, allocations: 247.6 kB / 0.5131 GB, free: 7.531 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001244/0.4019, allocations: 466 kB / 0.5135 GB, free: 7.066 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.887e-05/0.402, allocations: 35.98 kB / 0.5135 GB, free: 7.031 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008248/0.4102, allocations: 7.025 MB / 0.5204 GB, free: 15.66 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.097e-06/0.4102, allocations: 15.88 kB / 0.5204 GB, free: 15.65 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006218/0.4164, allocations: 3.497 MB / 0.5238 GB, free: 12.07 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001212/0.4176, allocations: 394.6 kB / 0.5242 GB, free: 11.68 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002905/0.4179, allocations: 32 kB / 0.5242 GB, free: 11.65 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.4191, allocations: 103.9 kB / 0.5243 GB, free: 11.55 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002707/0.4193, allocations: 112.7 kB / 0.5244 GB, free: 11.43 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.842e-05/0.4194, allocations: 51.98 kB / 0.5245 GB, free: 11.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002022/0.4215, allocations: 1.303 MB / 0.5258 GB, free: 10.09 MB / 446.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4215, allocations: 0 / 0.5258 GB, free: 10.09 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001863/0.4233, allocations: 0.5468 MB / 0.5263 GB, free: 9.543 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 5 (smee.phiMechanical,smee.idq_sr[1],smee.idq_sr[2],smee.idq_rr[2],smee.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 (115): * Single equations (assignments): 110 * Array equations: 2 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 3 systems {(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.0004283/0.4238, allocations: 210.8 kB / 0.5265 GB, free: 9.324 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004177/0.4279, allocations: 2.267 MB / 0.5287 GB, free: 7.031 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 4.839e-06/0.4279, allocations: 8 kB / 0.5287 GB, free: 7.023 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0026/0.4305, allocations: 1.443 MB / 0.5301 GB, free: 5.543 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/0.4327, allocations: 456.4 kB / 0.5306 GB, free: 5.105 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1985/0.6312, allocations: 5.205 MB / 0.5356 GB, free: 99.91 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00245/0.6336, allocations: 2.011 MB / 0.5376 GB, free: 99.16 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001421/0.6351, allocations: 435.3 kB / 0.538 GB, free: 99.14 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004109/0.6355, allocations: 133.4 kB / 0.5382 GB, free: 99.14 MB / 446.1 MB Notification: Performance of SimCode: time 1.082e-06/0.6355, allocations: 0 / 0.5382 GB, free: 99.14 MB / 446.1 MB Notification: Performance of Templates: time 0.04261/0.6781, allocations: 29.93 MB / 0.5674 GB, free: 78.95 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Electrical.Machines.Examples.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: 6.195384592982009]