Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008536/0.0008536, allocations: 88.28 kB / 21.44 MB, free: 3.129 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.003118/0.003118, allocations: 158.8 kB / 24.7 MB, free: 9.441 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.851/0.851, allocations: 177 MB / 204.9 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.874e-06/1.874e-06, allocations: 0 / 325.8 MB, free: 15.41 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.967e-05/3.154e-05, allocations: 6.281 kB / 325.8 MB, free: 15.4 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01206/0.0121, allocations: 10.14 MB / 335.9 MB, free: 5.215 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.008827/0.02092, allocations: 3.718 MB / 339.6 MB, free: 1.484 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002903/0.02383, allocations: 79.5 kB / 339.7 MB, free: 1.406 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002997/0.02682, allocations: 0.8272 MB / 340.6 MB, free: 0.5703 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004214/0.03104, allocations: 1.036 MB / 341.6 MB, free: 15.53 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00179/0.03283, allocations: 0.5225 MB / 342.1 MB, free: 15 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.004931/0.03776, allocations: 3.341 MB / 345.5 MB, free: 11.65 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00247/0.04023, allocations: 1.43 MB / 346.9 MB, free: 10.16 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003962/0.04419, allocations: 2.152 MB / 349 MB, free: 8 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001985/0.04617, allocations: 1.559 MB / 350.6 MB, free: 6.438 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006506/0.04682, allocations: 388 kB / 351 MB, free: 6.059 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001095/0.04792, allocations: 0.6127 MB / 351.6 MB, free: 5.445 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008388/0.04876, allocations: 1.102 MB / 352.7 MB, free: 4.34 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001349/0.05011, allocations: 1.189 MB / 353.9 MB, free: 3.148 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004153/0.05426, allocations: 5.122 MB / 359 MB, free: 14.01 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.05426, allocations: 4 kB / 359 MB, free: 14.01 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.434e-06/0.05427, allocations: 0 / 359 MB, free: 14.01 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001266/0.05439, allocations: 0 / 359 MB, free: 14.01 MB / 330.7 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.00537/0.05976, allocations: 3.468 MB / 362.5 MB, free: 10.49 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.086e-05/0.0598, allocations: 19.86 kB / 362.5 MB, free: 10.47 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009668/0.06077, allocations: 466.7 kB / 362.9 MB, free: 10.01 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002244/0.06301, allocations: 1.787 MB / 364.7 MB, free: 8.18 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.577e-05/0.06311, allocations: 193.4 kB / 364.9 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002559/0.06337, allocations: 252.3 kB / 365.2 MB, free: 7.742 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003665/0.06703, allocations: 3.384 MB / 368.6 MB, free: 4.25 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.814e-05/0.06708, allocations: 7.938 kB / 368.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001584/0.06724, allocations: 100 kB / 368.7 MB, free: 4.145 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.282e-05/0.06733, allocations: 116.9 kB / 368.8 MB, free: 4.027 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003003/0.07033, allocations: 2.697 MB / 371.5 MB, free: 1.316 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009836/0.08017, allocations: 8.91 MB / 380.4 MB, free: 8.09 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.08149, allocations: 1.246 MB / 381.6 MB, free: 6.84 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001031/0.08252, allocations: 0.9873 MB / 382.6 MB, free: 5.852 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001627/0.08268, allocations: 52.95 kB / 382.7 MB, free: 5.801 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.08272, allocations: 43.56 kB / 382.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of pre-optimization done (n=115): time 3.106e-06/0.08272, allocations: 0 / 382.7 MB, free: 5.746 MB / 346.7 MB Notification: Performance of matching and sorting (n=134): time 0.01002/0.09274, allocations: 7.061 MB / 389.8 MB, free: 14.66 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.362e-05/0.09278, allocations: 64.72 kB / 389.8 MB, free: 14.59 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001811/0.09459, allocations: 1.72 MB / 391.5 MB, free: 12.86 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.399e-05/0.09468, allocations: 45.7 kB / 391.6 MB, free: 12.81 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005763/0.09525, allocations: 1.29 MB / 392.9 MB, free: 11.5 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002642/0.09552, allocations: 487.8 kB / 393.4 MB, free: 11.02 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/0.09581, allocations: 291.5 kB / 393.6 MB, free: 10.73 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 7.075e-05/0.09588, allocations: 301.1 kB / 393.9 MB, free: 10.44 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/0.09676, allocations: 0.8198 MB / 394.8 MB, free: 9.617 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001043/0.0978, allocations: 1.304 MB / 396.1 MB, free: 8.094 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001954/0.09976, allocations: 2.258 MB / 398.3 MB, free: 5.625 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/0.09976, allocations: 7.938 kB / 398.3 MB, free: 5.617 MB / 362.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.003084/0.1028, allocations: 2.709 MB / 401 MB, free: 2.891 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.954e-05/0.1029, allocations: 12 kB / 401 MB, free: 2.879 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.894e-05/0.1029, allocations: 16 kB / 401.1 MB, free: 2.863 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/0.1035, allocations: 425.4 kB / 401.5 MB, free: 2.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007645/0.1043, allocations: 395.3 kB / 401.9 MB, free: 2.055 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004021/0.1083, allocations: 5.484 MB / 407.4 MB, free: 12.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001132/0.1095, allocations: 131.9 kB / 407.5 MB, free: 12.24 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.1096, allocations: 75.98 kB / 407.6 MB, free: 12.16 MB / 378.7 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.001135/0.1107, allocations: 0.7861 MB / 408.3 MB, free: 11.37 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003149/0.111, allocations: 186.8 kB / 408.5 MB, free: 11.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002475/0.1135, allocations: 2.303 MB / 410.8 MB, free: 8.859 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.1135, allocations: 12 kB / 410.8 MB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1135, allocations: 11.94 kB / 410.8 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.1135, allocations: 11.97 kB / 410.9 MB, free: 8.824 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005159/0.1187, allocations: 4.531 MB / 415.4 MB, free: 4.172 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.151e-06/0.1187, allocations: 4 kB / 415.4 MB, free: 4.168 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005345/0.1192, allocations: 252.2 kB / 415.6 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006869/0.1199, allocations: 458 kB / 416.1 MB, free: 3.465 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-05/0.12, allocations: 35.98 kB / 416.1 MB, free: 3.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004384/0.1243, allocations: 6.898 MB / 423 MB, free: 12.23 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.1244, allocations: 11.94 kB / 423 MB, free: 12.22 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003695/0.128, allocations: 3.463 MB / 426.5 MB, free: 8.676 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008129/0.1289, allocations: 362.7 kB / 426.8 MB, free: 8.32 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001457/0.129, allocations: 36 kB / 426.9 MB, free: 8.285 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000578/0.1296, allocations: 99.81 kB / 427 MB, free: 8.188 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001952/0.1298, allocations: 120.6 kB / 427.1 MB, free: 8.066 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.313e-05/0.1298, allocations: 43.98 kB / 427.1 MB, free: 8.023 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001211/0.1311, allocations: 1.161 MB / 428.3 MB, free: 6.867 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.4e-07/0.1311, allocations: 4 kB / 428.3 MB, free: 6.863 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001428/0.1325, allocations: 0.5391 MB / 428.8 MB, free: 6.324 MB / 394.7 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.00039/0.1329, allocations: 222.8 kB / 429.1 MB, free: 6.098 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002631/0.1355, allocations: 2.262 MB / 431.3 MB, free: 3.809 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/0.1355, allocations: 8.812 kB / 431.3 MB, free: 3.801 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001461/0.137, allocations: 1.455 MB / 432.8 MB, free: 2.305 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001281/0.1383, allocations: 376.5 kB / 433.2 MB, free: 1.941 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005903/0.1442, allocations: 5.084 MB / 438.2 MB, free: 12.76 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001046/0.1452, allocations: 1.431 MB / 439.7 MB, free: 11.29 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004976/0.1457, allocations: 132.5 kB / 439.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of SimCode: time 1.262e-06/0.1457, allocations: 0 / 439.8 MB, free: 11.16 MB / 410.7 MB Notification: Performance of Templates: time 0.2068/0.3525, allocations: 70.52 MB / 0.4984 GB, free: 60.14 MB / 410.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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_trunk_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: 9.241651105694473]