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.001822/0.001822, allocations: 99.66 kB / 21.18 MB, free: 0.5273 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.001486/0.001486, allocations: 213.2 kB / 24.48 MB, free: 3.84 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.509/1.509, allocations: 230.6 MB / 258.2 MB, free: 7.812 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.001596/0.001596, allocations: 43.94 kB / 379 MB, free: 2.48 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2536, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01382/0.2674, allocations: 10.13 MB / 442.5 MB, free: 12.57 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007816/0.2753, allocations: 3.71 MB / 446.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001634/0.2769, allocations: 79.5 kB / 446.3 MB, free: 8.77 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002285/0.2792, allocations: 0.8194 MB / 447.1 MB, free: 7.945 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003069/0.2822, allocations: 0.9979 MB / 448.1 MB, free: 6.941 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001341/0.2836, allocations: 0.5188 MB / 448.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00465/0.2882, allocations: 3.23 MB / 451.8 MB, free: 3.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002519/0.2908, allocations: 1.418 MB / 453.3 MB, free: 1.699 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002668/0.2934, allocations: 1.472 MB / 454.7 MB, free: 228 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003155/0.2966, allocations: 1.751 MB / 456.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000827/0.2974, allocations: 384 kB / 456.8 MB, free: 14.09 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001522/0.2989, allocations: 0.6011 MB / 457.4 MB, free: 13.49 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001335/0.3003, allocations: 1.087 MB / 458.5 MB, free: 12.4 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002264/0.3025, allocations: 1.396 MB / 459.9 MB, free: 11 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006404/0.3089, allocations: 5.095 MB / 465 MB, free: 5.883 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.3089, allocations: 0 / 465 MB, free: 5.883 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.813e-06/0.3089, allocations: 3.938 kB / 465 MB, free: 5.879 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001299/0.3091, allocations: 4 kB / 465 MB, free: 5.875 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.00854/0.3176, allocations: 3.507 MB / 468.5 MB, free: 2.316 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.3176, allocations: 8.031 kB / 468.6 MB, free: 2.309 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.3194, allocations: 458.7 kB / 469 MB, free: 1.859 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/0.3237, allocations: 1.787 MB / 470.8 MB, free: 32 kB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002182/0.3239, allocations: 197.2 kB / 471 MB, free: 15.83 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006082/0.3245, allocations: 251.9 kB / 471.2 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00735/0.3318, allocations: 3.377 MB / 474.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.281e-05/0.3319, allocations: 0 / 474.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002711/0.3322, allocations: 108 kB / 474.7 MB, free: 12 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001626/0.3323, allocations: 116.9 kB / 474.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005545/0.3379, allocations: 2.697 MB / 477.5 MB, free: 9.172 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01872/0.3566, allocations: 8.915 MB / 486.4 MB, free: 15.93 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002383/0.359, allocations: 1.237 MB / 487.7 MB, free: 14.7 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001946/0.3609, allocations: 0.9834 MB / 488.7 MB, free: 13.71 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002498/0.3612, allocations: 52.97 kB / 488.7 MB, free: 13.66 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.628e-05/0.3612, allocations: 51.56 kB / 488.8 MB, free: 13.6 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.707e-06/0.3612, allocations: 0 / 488.8 MB, free: 13.6 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01951/0.3807, allocations: 7.054 MB / 495.8 MB, free: 6.523 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.56e-05/0.3808, allocations: 64.72 kB / 495.9 MB, free: 6.449 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002998/0.3838, allocations: 1.716 MB / 497.6 MB, free: 4.727 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001822/0.384, allocations: 45.7 kB / 497.6 MB, free: 4.676 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001086/0.3851, allocations: 1.298 MB / 498.9 MB, free: 3.363 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004949/0.3856, allocations: 483.8 kB / 499.4 MB, free: 2.887 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006389/0.3862, allocations: 307.4 kB / 499.7 MB, free: 2.578 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001449/0.3863, allocations: 305.1 kB / 0.4883 GB, free: 2.277 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001504/0.3878, allocations: 0.812 MB / 0.4891 GB, free: 1.465 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001939/0.3898, allocations: 1.312 MB / 0.4904 GB, free: 15.94 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00355/0.3933, allocations: 2.262 MB / 0.4926 GB, free: 13.46 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-05/0.3933, allocations: 4 kB / 0.4926 GB, free: 13.46 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005196/0.3985, allocations: 2.701 MB / 0.4952 GB, free: 10.74 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.345e-05/0.3986, allocations: 12 kB / 0.4952 GB, free: 10.73 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.518e-05/0.3986, allocations: 16 kB / 0.4952 GB, free: 10.71 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.3997, allocations: 418 kB / 0.4956 GB, free: 10.3 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001553/0.4012, allocations: 403.3 kB / 0.496 GB, free: 9.902 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007146/0.4084, allocations: 5.488 MB / 0.5014 GB, free: 4.207 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/0.4103, allocations: 127.9 kB / 0.5015 GB, free: 4.082 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002269/0.4105, allocations: 71.94 kB / 0.5016 GB, free: 4.012 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.001621/0.4121, allocations: 0.8018 MB / 0.5024 GB, free: 3.199 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005481/0.4127, allocations: 190.8 kB / 0.5025 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004789/0.4175, allocations: 2.291 MB / 0.5048 GB, free: 0.6992 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.941e-05/0.4175, allocations: 15.98 kB / 0.5048 GB, free: 0.6836 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.364e-06/0.4175, allocations: 4 kB / 0.5048 GB, free: 0.6797 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.66e-05/0.4175, allocations: 7.984 kB / 0.5048 GB, free: 0.6719 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01001/0.4276, allocations: 4.531 MB / 0.5092 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.4276, allocations: 4 kB / 0.5092 GB, free: 12.03 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001133/0.4287, allocations: 247.6 kB / 0.5095 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001327/0.43, allocations: 469.2 kB / 0.5099 GB, free: 11.32 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001174/0.4301, allocations: 39.92 kB / 0.5099 GB, free: 11.28 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008639/0.4388, allocations: 6.91 MB / 0.5167 GB, free: 4.062 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.855e-06/0.4388, allocations: 7.938 kB / 0.5167 GB, free: 4.055 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006777/0.4456, allocations: 3.483 MB / 0.5201 GB, free: 500 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001303/0.4469, allocations: 354.7 kB / 0.5204 GB, free: 144 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003017/0.4472, allocations: 39.92 kB / 0.5205 GB, free: 104 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00118/0.4484, allocations: 103.9 kB / 0.5206 GB, free: 0 / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003092/0.4487, allocations: 116.8 kB / 0.5207 GB, free: 15.88 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001065/0.4488, allocations: 39.98 kB / 0.5207 GB, free: 15.84 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002084/0.4509, allocations: 1.161 MB / 0.5219 GB, free: 14.68 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.4509, allocations: 0 / 0.5219 GB, free: 14.68 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00214/0.453, allocations: 0.5388 MB / 0.5224 GB, free: 14.15 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.000547/0.4535, allocations: 218.8 kB / 0.5226 GB, free: 13.92 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004857/0.4584, allocations: 2.266 MB / 0.5248 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.338e-05/0.4584, allocations: 4 kB / 0.5248 GB, free: 11.63 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002961/0.4614, allocations: 1.447 MB / 0.5262 GB, free: 10.14 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.4636, allocations: 372.2 kB / 0.5266 GB, free: 9.781 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01008/0.4737, allocations: 5.243 MB / 0.5317 GB, free: 4.445 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001881/0.4756, allocations: 1.431 MB / 0.5331 GB, free: 2.977 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007288/0.4763, allocations: 135.4 kB / 0.5332 GB, free: 2.844 MB / 446.1 MB Notification: Performance of SimCode: time 1.683e-06/0.4763, allocations: 4 kB / 0.5332 GB, free: 2.84 MB / 446.1 MB Notification: Performance of Templates: time 0.2519/0.7283, allocations: 70.48 MB / 0.6021 GB, free: 42.25 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/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: 13.179914083797485]