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.001845/0.001845, allocations: 124.5 kB / 17.79 MB, free: 5.227 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.002134/0.002134, allocations: 207.2 kB / 20.75 MB, free: 2.273 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.608/1.608, allocations: 230.6 MB / 254.1 MB, free: 15.1 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.001587/0.001587, allocations: 51.92 kB / 373.5 MB, free: 9.691 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.1065, allocations: 53.33 MB / 426.8 MB, free: 4.266 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.2301/0.3365, allocations: 11.56 MB / 438.4 MB, free: 5.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008205/0.3447, allocations: 3.937 MB / 442.3 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002193/0.3469, allocations: 82.31 kB / 442.4 MB, free: 2.715 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002362/0.3493, allocations: 0.8704 MB / 443.3 MB, free: 2.266 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003552/0.3528, allocations: 0.9896 MB / 444.2 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001504/0.3543, allocations: 0.5179 MB / 444.8 MB, free: 1.305 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004417/0.3588, allocations: 3.224 MB / 448 MB, free: 15.68 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002929/0.3617, allocations: 1.857 MB / 449.8 MB, free: 14.82 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003069/0.3648, allocations: 1.476 MB / 451.3 MB, free: 14.11 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003874/0.3686, allocations: 1.86 MB / 453.2 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008764/0.3695, allocations: 387.2 kB / 453.6 MB, free: 13.25 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001961/0.3715, allocations: 0.6222 MB / 454.2 MB, free: 13.18 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001543/0.373, allocations: 1.08 MB / 455.3 MB, free: 12.57 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002695/0.3757, allocations: 1.735 MB / 457 MB, free: 11.44 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008064/0.3838, allocations: 5.073 MB / 462.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3838, allocations: 0 / 462.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3838, allocations: 0 / 462.1 MB, free: 8.238 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001726/0.384, allocations: 0 / 462.1 MB, free: 8.238 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.01012/0.3941, allocations: 3.577 MB / 465.6 MB, free: 5.766 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.851e-05/0.3941, allocations: 9.469 kB / 465.7 MB, free: 5.766 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/0.3962, allocations: 461.7 kB / 466.1 MB, free: 5.551 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004334/0.4005, allocations: 1.87 MB / 468 MB, free: 4.215 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.4007, allocations: 191.3 kB / 468.2 MB, free: 4.125 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004331/0.4011, allocations: 255.1 kB / 468.4 MB, free: 4.035 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006866/0.408, allocations: 3.246 MB / 471.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/0.4081, allocations: 5.375 kB / 471.7 MB, free: 2.113 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002608/0.4083, allocations: 105.5 kB / 471.8 MB, free: 2.031 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001276/0.4084, allocations: 116.8 kB / 471.9 MB, free: 2.012 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005692/0.4141, allocations: 2.705 MB / 474.6 MB, free: 0.5391 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01997/0.4341, allocations: 10.28 MB / 484.9 MB, free: 5.949 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002742/0.4368, allocations: 1.704 MB / 486.6 MB, free: 4.137 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002008/0.4388, allocations: 0.9752 MB / 487.5 MB, free: 3.16 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00034/0.4392, allocations: 212.2 kB / 487.8 MB, free: 2.918 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.979e-05/0.4392, allocations: 43.56 kB / 487.8 MB, free: 2.867 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.617e-06/0.4392, allocations: 0 / 487.8 MB, free: 2.867 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.02073/0.46, allocations: 7.448 MB / 495.2 MB, free: 11.3 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.313e-05/0.46, allocations: 68.72 kB / 495.3 MB, free: 11.22 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003939/0.464, allocations: 1.889 MB / 497.2 MB, free: 9.332 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001179/0.4641, allocations: 45.7 kB / 497.2 MB, free: 9.281 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00125/0.4653, allocations: 1.283 MB / 498.5 MB, free: 7.984 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004934/0.4658, allocations: 491.8 kB / 499 MB, free: 7.5 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005825/0.4664, allocations: 303.4 kB / 499.3 MB, free: 7.195 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.4665, allocations: 309.1 kB / 499.6 MB, free: 6.891 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001671/0.4682, allocations: 0.812 MB / 0.4887 GB, free: 6.078 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002099/0.4703, allocations: 1.304 MB / 0.49 GB, free: 4.559 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003892/0.4742, allocations: 2.258 MB / 0.4922 GB, free: 2.086 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/0.4742, allocations: 4 kB / 0.4922 GB, free: 2.082 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005703/0.4799, allocations: 2.801 MB / 0.4949 GB, free: 15.24 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.033e-05/0.48, allocations: 12 kB / 0.4949 GB, free: 15.23 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.984e-05/0.48, allocations: 16 kB / 0.4949 GB, free: 15.21 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001187/0.4812, allocations: 412 kB / 0.4953 GB, free: 14.8 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001642/0.4828, allocations: 407.8 kB / 0.4957 GB, free: 14.41 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007283/0.4901, allocations: 5.799 MB / 0.5014 GB, free: 8.34 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001946/0.492, allocations: 127.8 kB / 0.5015 GB, free: 8.215 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002401/0.4923, allocations: 71.98 kB / 0.5016 GB, free: 8.145 MB / 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.001797/0.4941, allocations: 0.7823 MB / 0.5023 GB, free: 7.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007195/0.4948, allocations: 214.6 kB / 0.5025 GB, free: 7.141 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005237/0.5, allocations: 2.391 MB / 0.5049 GB, free: 4.711 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.705e-05/0.5001, allocations: 12 kB / 0.5049 GB, free: 4.699 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.689e-05/0.5001, allocations: 7.938 kB / 0.5049 GB, free: 4.691 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.041e-05/0.5001, allocations: 15.91 kB / 0.5049 GB, free: 4.676 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01153/0.5116, allocations: 5.254 MB / 0.51 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/0.5117, allocations: 4 kB / 0.51 GB, free: 15.27 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.5129, allocations: 255.2 kB / 0.5103 GB, free: 15.02 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001434/0.5143, allocations: 462 kB / 0.5107 GB, free: 14.56 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001181/0.5144, allocations: 31.98 kB / 0.5108 GB, free: 14.53 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009111/0.5235, allocations: 7.346 MB / 0.5179 GB, free: 6.766 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.851e-06/0.5236, allocations: 4 kB / 0.5179 GB, free: 6.762 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007025/0.5306, allocations: 3.576 MB / 0.5214 GB, free: 3.082 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001358/0.5319, allocations: 463.6 kB / 0.5219 GB, free: 2.609 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006322/0.5326, allocations: 28 kB / 0.5219 GB, free: 2.582 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001616/0.5342, allocations: 103.8 kB / 0.522 GB, free: 2.48 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003012/0.5345, allocations: 112.7 kB / 0.5221 GB, free: 2.371 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/0.5346, allocations: 46.89 kB / 0.5221 GB, free: 2.328 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002902/0.5375, allocations: 1.303 MB / 0.5234 GB, free: 1.035 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5375, allocations: 0 / 0.5234 GB, free: 1.035 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002953/0.5405, allocations: 0.5468 MB / 0.524 GB, free: 500 kB / 430.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.0007125/0.5412, allocations: 221 kB / 0.5242 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.00521/0.5464, allocations: 2.346 MB / 0.5265 GB, free: 13.87 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.247e-06/0.5464, allocations: 4 kB / 0.5265 GB, free: 13.86 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003152/0.5496, allocations: 1.448 MB / 0.5279 GB, free: 12.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003228/0.5528, allocations: 457.6 kB / 0.5283 GB, free: 11.95 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01168/0.5645, allocations: 5.176 MB / 0.5334 GB, free: 6.672 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002926/0.5674, allocations: 2.018 MB / 0.5353 GB, free: 4.621 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001735/0.5691, allocations: 427.7 kB / 0.5357 GB, free: 4.199 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000665/0.5698, allocations: 131.4 kB / 0.5359 GB, free: 4.07 MB / 446.1 MB Notification: Performance of SimCode: time 9.62e-07/0.5698, allocations: 4 kB / 0.5359 GB, free: 4.066 MB / 446.1 MB Notification: Performance of Templates: time 0.05925/0.629, allocations: 28.92 MB / 0.5641 GB, free: 7.391 MB / 478.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.377482071518898]