Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001332/0.001332, allocations: 100 kB / 21.18 MB, free: 0.6484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 184.9 kB / 24.45 MB, free: 3.961 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 225.7 MB / 253.3 MB, free: 12.8 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.00161/0.00161, allocations: 47.92 kB / 371.7 MB, free: 9.152 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2774/0.279, allocations: 52.17 MB / 423.8 MB, free: 14.45 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01486/0.2939, allocations: 10.1 MB / 433.9 MB, free: 4.309 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008584/0.3024, allocations: 3.644 MB / 437.6 MB, free: 0.6523 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002172/0.3046, allocations: 79.5 kB / 437.7 MB, free: 0.5742 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002894/0.3075, allocations: 0.8116 MB / 438.5 MB, free: 15.76 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003929/0.3114, allocations: 0.998 MB / 439.5 MB, free: 14.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.3131, allocations: 0.5186 MB / 440 MB, free: 14.23 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005031/0.3181, allocations: 3.207 MB / 443.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002512/0.3206, allocations: 1.418 MB / 444.6 MB, free: 9.535 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002512/0.3231, allocations: 1.464 MB / 446.1 MB, free: 8.066 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.3266, allocations: 1.739 MB / 447.8 MB, free: 6.32 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0008833/0.3274, allocations: 388 kB / 448.2 MB, free: 5.941 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001641/0.3291, allocations: 0.605 MB / 448.8 MB, free: 5.336 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.3303, allocations: 1.083 MB / 449.9 MB, free: 4.25 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002224/0.3326, allocations: 1.392 MB / 451.3 MB, free: 2.852 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006941/0.3395, allocations: 5.08 MB / 456.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.93e-06/0.3395, allocations: 0 / 456.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3395, allocations: 0 / 456.3 MB, free: 13.75 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001462/0.3397, allocations: 0 / 456.3 MB, free: 13.75 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.008601/0.3483, allocations: 3.486 MB / 459.8 MB, free: 10.22 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.326e-05/0.3483, allocations: 12.03 kB / 459.8 MB, free: 10.21 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001458/0.3498, allocations: 422.7 kB / 460.3 MB, free: 9.793 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004159/0.3539, allocations: 1.779 MB / 462 MB, free: 7.973 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000186/0.3541, allocations: 189.2 kB / 462.2 MB, free: 7.785 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004692/0.3546, allocations: 255.9 kB / 462.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006399/0.361, allocations: 3.373 MB / 465.8 MB, free: 4.055 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.691e-05/0.361, allocations: 3.984 kB / 465.8 MB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003159/0.3614, allocations: 104 kB / 465.9 MB, free: 3.949 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001467/0.3615, allocations: 112.9 kB / 466.1 MB, free: 3.836 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005321/0.3668, allocations: 2.701 MB / 468.8 MB, free: 1.121 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01803/0.3849, allocations: 8.911 MB / 477.7 MB, free: 7.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002334/0.3872, allocations: 1.255 MB / 478.9 MB, free: 6.633 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001953/0.3891, allocations: 0.9727 MB / 479.9 MB, free: 5.664 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002538/0.3894, allocations: 52.95 kB / 480 MB, free: 5.613 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.545e-05/0.3895, allocations: 55.5 kB / 480 MB, free: 5.547 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 4.368e-06/0.3895, allocations: 0 / 480 MB, free: 5.547 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01886/0.4083, allocations: 7.06 MB / 487.1 MB, free: 14.45 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.206e-05/0.4084, allocations: 64.72 kB / 487.1 MB, free: 14.38 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.4113, allocations: 1.699 MB / 488.8 MB, free: 12.67 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001446/0.4114, allocations: 45.7 kB / 488.9 MB, free: 12.62 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001094/0.4125, allocations: 1.294 MB / 490.2 MB, free: 11.31 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004856/0.413, allocations: 491.8 kB / 490.6 MB, free: 10.83 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005005/0.4135, allocations: 307.4 kB / 490.9 MB, free: 10.52 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001334/0.4136, allocations: 301.1 kB / 491.2 MB, free: 10.22 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001512/0.4152, allocations: 0.8159 MB / 492.1 MB, free: 9.406 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002302/0.4175, allocations: 1.312 MB / 493.4 MB, free: 7.879 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003859/0.4213, allocations: 2.254 MB / 495.6 MB, free: 5.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.454e-05/0.4213, allocations: 4 kB / 495.6 MB, free: 5.406 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005605/0.4269, allocations: 2.709 MB / 498.3 MB, free: 2.676 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.578e-05/0.427, allocations: 12 kB / 498.3 MB, free: 2.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.154e-05/0.427, allocations: 12 kB / 498.4 MB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001175/0.4282, allocations: 418.3 kB / 498.8 MB, free: 2.234 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001657/0.4298, allocations: 399.3 kB / 499.2 MB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00753/0.4374, allocations: 5.484 MB / 0.4928 GB, free: 12.16 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001881/0.4392, allocations: 127.8 kB / 0.4929 GB, free: 12.03 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003025/0.4395, allocations: 71.98 kB / 0.493 GB, free: 11.96 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.001771/0.4413, allocations: 0.7901 MB / 0.4938 GB, free: 11.16 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006377/0.442, allocations: 186.8 kB / 0.494 GB, free: 10.98 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005007/0.447, allocations: 2.295 MB / 0.4962 GB, free: 8.656 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.389e-05/0.447, allocations: 24.06 kB / 0.4962 GB, free: 8.633 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.592e-05/0.447, allocations: 8 kB / 0.4962 GB, free: 8.625 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.414e-05/0.447, allocations: 7.984 kB / 0.4962 GB, free: 8.617 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01068/0.4577, allocations: 4.534 MB / 0.5007 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.467e-05/0.4577, allocations: 4 kB / 0.5007 GB, free: 3.973 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001169/0.4589, allocations: 248.2 kB / 0.5009 GB, free: 3.73 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001352/0.4603, allocations: 466 kB / 0.5013 GB, free: 3.266 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001392/0.4604, allocations: 39.91 kB / 0.5014 GB, free: 3.227 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008801/0.4692, allocations: 6.908 MB / 0.5081 GB, free: 12.01 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.081e-05/0.4692, allocations: 7.938 kB / 0.5081 GB, free: 12 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0073/0.4765, allocations: 3.475 MB / 0.5115 GB, free: 8.449 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/0.4779, allocations: 362.7 kB / 0.5119 GB, free: 8.094 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000486/0.4783, allocations: 39.92 kB / 0.5119 GB, free: 8.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001453/0.4798, allocations: 103.9 kB / 0.512 GB, free: 7.953 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003448/0.4801, allocations: 116.7 kB / 0.5121 GB, free: 7.836 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001361/0.4803, allocations: 43.98 kB / 0.5122 GB, free: 7.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002317/0.4826, allocations: 1.145 MB / 0.5133 GB, free: 6.652 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4826, allocations: 0 / 0.5133 GB, free: 6.652 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.002263/0.4849, allocations: 0.5469 MB / 0.5138 GB, free: 6.105 MB / 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.0005214/0.4854, allocations: 214.9 kB / 0.514 GB, free: 5.883 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.004714/0.4901, allocations: 2.274 MB / 0.5162 GB, free: 3.586 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.023e-05/0.4901, allocations: 4 kB / 0.5162 GB, free: 3.582 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002859/0.493, allocations: 1.455 MB / 0.5177 GB, free: 2.094 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002281/0.4952, allocations: 365.6 kB / 0.518 GB, free: 1.734 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01026/0.5055, allocations: 5.234 MB / 0.5231 GB, free: 12.41 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001839/0.5073, allocations: 1.426 MB / 0.5245 GB, free: 10.95 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/0.508, allocations: 131.4 kB / 0.5246 GB, free: 10.82 MB / 446.1 MB Notification: Performance of SimCode: time 1.152e-06/0.508, allocations: 0 / 0.5246 GB, free: 10.82 MB / 446.1 MB Notification: Performance of Templates: time 0.2501/0.7581, allocations: 70.17 MB / 0.5932 GB, free: 54.66 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.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.439789241179824]