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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001399/0.001399, allocations: 104.5 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001372/0.001372, allocations: 195.5 kB / 22.76 MB, free: 5.723 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] 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.6 MB / 251.4 MB, free: 13.44 MB / 206.1 MB [Timeout remaining time 88] 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.002683/0.002683, allocations: 51.92 kB / 369.2 MB, free: 10.32 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3309/0.3336, allocations: 52.14 MB / 421.3 MB, free: 15.18 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01518/0.3488, allocations: 11.53 MB / 432.8 MB, free: 3.605 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0105/0.3593, allocations: 3.878 MB / 436.7 MB, free: 15.71 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002699/0.362, allocations: 59.75 kB / 436.8 MB, free: 15.66 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002985/0.365, allocations: 0.8654 MB / 437.6 MB, free: 14.79 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003951/0.3689, allocations: 0.9823 MB / 438.6 MB, free: 13.8 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001709/0.3706, allocations: 0.5187 MB / 439.1 MB, free: 13.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.005131/0.3757, allocations: 3.211 MB / 442.3 MB, free: 10.05 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002939/0.3787, allocations: 1.856 MB / 444.2 MB, free: 8.133 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002418/0.3811, allocations: 1.433 MB / 445.6 MB, free: 6.695 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003324/0.3844, allocations: 1.849 MB / 447.5 MB, free: 4.84 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001045/0.3855, allocations: 388 kB / 447.9 MB, free: 4.461 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001788/0.3873, allocations: 0.6517 MB / 448.5 MB, free: 3.809 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001424/0.3887, allocations: 1.075 MB / 449.6 MB, free: 2.73 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002835/0.3915, allocations: 1.727 MB / 451.3 MB, free: 0.9961 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007869/0.3994, allocations: 5.06 MB / 456.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.365e-06/0.3994, allocations: 0 / 456.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of FrontEnd: time 3.146e-06/0.3994, allocations: 0 / 456.4 MB, free: 11.92 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001859/0.3996, allocations: 0 / 456.4 MB, free: 11.92 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.009564/0.4091, allocations: 3.562 MB / 459.9 MB, free: 8.285 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.4092, allocations: 11.97 kB / 459.9 MB, free: 8.273 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001503/0.4107, allocations: 430.7 kB / 460.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004012/0.4147, allocations: 1.844 MB / 462.2 MB, free: 5.953 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000182/0.4149, allocations: 193 kB / 462.4 MB, free: 5.762 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004448/0.4153, allocations: 244 kB / 462.6 MB, free: 5.523 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006424/0.4218, allocations: 3.251 MB / 465.9 MB, free: 2.195 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.584e-05/0.4218, allocations: 7.953 kB / 465.9 MB, free: 2.188 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002408/0.4221, allocations: 104 kB / 466 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001495/0.4222, allocations: 116.9 kB / 466.1 MB, free: 1.969 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005085/0.4273, allocations: 2.709 MB / 468.8 MB, free: 15.24 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02141/0.4487, allocations: 10.28 MB / 479.1 MB, free: 4.629 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002831/0.4515, allocations: 1.698 MB / 480.8 MB, free: 2.812 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002039/0.4536, allocations: 0.9907 MB / 481.8 MB, free: 1.824 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003579/0.4539, allocations: 203.2 kB / 482 MB, free: 1.59 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.506e-05/0.454, allocations: 51.5 kB / 482 MB, free: 1.531 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.386e-06/0.454, allocations: 0 / 482 MB, free: 1.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.02062/0.4746, allocations: 7.456 MB / 489.5 MB, free: 9.961 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.14e-05/0.4747, allocations: 64.72 kB / 489.6 MB, free: 9.887 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003811/0.4785, allocations: 1.876 MB / 491.4 MB, free: 8.012 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002355/0.4787, allocations: 45.7 kB / 491.5 MB, free: 7.961 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001179/0.4799, allocations: 1.268 MB / 492.8 MB, free: 6.68 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006088/0.4805, allocations: 495.8 kB / 493.2 MB, free: 6.191 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006496/0.4812, allocations: 303.4 kB / 493.5 MB, free: 5.887 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001382/0.4813, allocations: 305.1 kB / 493.8 MB, free: 5.586 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001636/0.4829, allocations: 0.812 MB / 494.6 MB, free: 4.773 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.4849, allocations: 1.312 MB / 496 MB, free: 3.246 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003776/0.4887, allocations: 2.25 MB / 498.2 MB, free: 0.7812 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-05/0.4887, allocations: 8 kB / 498.2 MB, free: 0.7734 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005625/0.4944, allocations: 2.796 MB / 0.4893 GB, free: 13.94 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.058e-05/0.4944, allocations: 16 kB / 0.4893 GB, free: 13.92 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.07e-05/0.4944, allocations: 12 kB / 0.4893 GB, free: 13.91 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.4956, allocations: 426.1 kB / 0.4897 GB, free: 13.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.4972, allocations: 399.3 kB / 0.4901 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007201/0.5044, allocations: 5.799 MB / 0.4957 GB, free: 7.016 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001906/0.5063, allocations: 123.9 kB / 0.4959 GB, free: 6.895 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002949/0.5066, allocations: 71.98 kB / 0.4959 GB, free: 6.824 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.001769/0.5083, allocations: 0.7939 MB / 0.4967 GB, free: 6.02 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006551/0.509, allocations: 202.7 kB / 0.4969 GB, free: 5.82 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004808/0.5138, allocations: 2.391 MB / 0.4992 GB, free: 3.387 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.497e-05/0.5138, allocations: 16.08 kB / 0.4992 GB, free: 3.371 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/0.5138, allocations: 7.938 kB / 0.4993 GB, free: 3.363 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.536e-05/0.5139, allocations: 7.969 kB / 0.4993 GB, free: 3.355 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01032/0.5242, allocations: 5.257 MB / 0.5044 GB, free: 13.95 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.275e-05/0.5242, allocations: 8 kB / 0.5044 GB, free: 13.94 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001123/0.5253, allocations: 247.6 kB / 0.5046 GB, free: 13.7 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001317/0.5266, allocations: 462.5 kB / 0.5051 GB, free: 13.24 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001188/0.5267, allocations: 39.97 kB / 0.5051 GB, free: 13.2 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008619/0.5354, allocations: 7.334 MB / 0.5123 GB, free: 5.445 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.174e-05/0.5354, allocations: 15.88 kB / 0.5123 GB, free: 5.43 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006713/0.5421, allocations: 3.564 MB / 0.5158 GB, free: 1.766 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/0.5434, allocations: 467.7 kB / 0.5162 GB, free: 1.289 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005449/0.544, allocations: 32 kB / 0.5163 GB, free: 1.258 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001484/0.5454, allocations: 95.88 kB / 0.5163 GB, free: 1.164 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003323/0.5458, allocations: 116.7 kB / 0.5165 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001162/0.5459, allocations: 43.98 kB / 0.5165 GB, free: 1.008 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002728/0.5486, allocations: 1.294 MB / 0.5178 GB, free: 15.72 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5486, allocations: 0 / 0.5178 GB, free: 15.72 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002516/0.5511, allocations: 0.543 MB / 0.5183 GB, free: 15.18 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.0005924/0.5517, allocations: 223.3 kB / 0.5185 GB, free: 14.95 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004752/0.5565, allocations: 2.349 MB / 0.5208 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.5565, allocations: 0 / 0.5208 GB, free: 12.55 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002858/0.5594, allocations: 1.456 MB / 0.5222 GB, free: 11.06 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003101/0.5625, allocations: 443.5 kB / 0.5226 GB, free: 10.63 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/0.5744, allocations: 5.251 MB / 0.5278 GB, free: 5.281 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002976/0.5774, allocations: 1.983 MB / 0.5297 GB, free: 3.266 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009324/0.5783, allocations: 147.4 kB / 0.5298 GB, free: 3.121 MB / 446.1 MB Notification: Performance of SimCode: time 1.493e-06/0.5783, allocations: 0 / 0.5298 GB, free: 3.121 MB / 446.1 MB Notification: Performance of Templates: time 0.2889/0.8672, allocations: 70.55 MB / 0.5987 GB, free: 79.21 MB / 462.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