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.00144/0.00144, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001516/0.001516, allocations: 209.4 kB / 23.73 MB, free: 4.387 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 7.801 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.001617/0.001617, allocations: 52.06 kB / 378.2 MB, free: 2.449 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3042/0.3058, allocations: 53.37 MB / 431.6 MB, free: 6.691 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01516/0.321, allocations: 10.12 MB / 441.7 MB, free: 12.53 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.008676/0.3297, allocations: 3.71 MB / 445.4 MB, free: 8.809 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002138/0.3318, allocations: 79.5 kB / 445.5 MB, free: 8.73 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002471/0.3343, allocations: 0.8194 MB / 446.3 MB, free: 7.906 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003335/0.3376, allocations: 0.9979 MB / 447.3 MB, free: 6.902 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001343/0.3389, allocations: 0.5227 MB / 447.8 MB, free: 6.379 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004464/0.3434, allocations: 3.233 MB / 451.1 MB, free: 3.137 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002333/0.3457, allocations: 1.477 MB / 452.6 MB, free: 1.598 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002422/0.3482, allocations: 1.476 MB / 454 MB, free: 120 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003426/0.3516, allocations: 1.868 MB / 455.9 MB, free: 14.24 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006813/0.3523, allocations: 391.9 kB / 456.3 MB, free: 13.86 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001416/0.3537, allocations: 0.6167 MB / 456.9 MB, free: 13.24 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001267/0.355, allocations: 1.087 MB / 458 MB, free: 12.15 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002131/0.3571, allocations: 1.396 MB / 459.4 MB, free: 10.75 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006553/0.3636, allocations: 5.091 MB / 464.5 MB, free: 5.641 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.945e-06/0.3636, allocations: 0 / 464.5 MB, free: 5.641 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.024e-06/0.3636, allocations: 3.938 kB / 464.5 MB, free: 5.637 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001456/0.3638, allocations: 0 / 464.5 MB, free: 5.637 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.008402/0.3722, allocations: 3.503 MB / 468 MB, free: 2.082 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.774e-05/0.3722, allocations: 8.031 kB / 468 MB, free: 2.074 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.374, allocations: 462.7 kB / 468.4 MB, free: 1.621 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003891/0.3779, allocations: 1.787 MB / 470.2 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001813/0.3781, allocations: 197.1 kB / 470.4 MB, free: 15.6 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004306/0.3785, allocations: 255.9 kB / 470.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006114/0.3846, allocations: 3.373 MB / 474 MB, free: 11.87 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.424e-05/0.3847, allocations: 4 kB / 474 MB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002491/0.3849, allocations: 104 kB / 474.1 MB, free: 11.76 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001634/0.3851, allocations: 116.9 kB / 474.3 MB, free: 11.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00501/0.3901, allocations: 2.697 MB / 477 MB, free: 8.934 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01724/0.4074, allocations: 8.915 MB / 485.9 MB, free: 15.69 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.4096, allocations: 1.241 MB / 487.1 MB, free: 14.45 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00187/0.4115, allocations: 0.9796 MB / 488.1 MB, free: 13.48 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002349/0.4117, allocations: 52.95 kB / 488.1 MB, free: 13.43 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.4117, allocations: 51.5 kB / 488.2 MB, free: 13.36 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.367e-06/0.4117, allocations: 0 / 488.2 MB, free: 13.36 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01958/0.4313, allocations: 7.06 MB / 495.3 MB, free: 6.281 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.666e-05/0.4314, allocations: 72.66 kB / 495.3 MB, free: 6.199 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003799/0.4352, allocations: 1.712 MB / 497 MB, free: 4.48 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001286/0.4353, allocations: 49.7 kB / 497.1 MB, free: 4.426 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001074/0.4364, allocations: 1.298 MB / 498.4 MB, free: 3.113 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004887/0.4369, allocations: 487.8 kB / 498.9 MB, free: 2.633 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000549/0.4374, allocations: 303.4 kB / 499.2 MB, free: 2.328 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.4376, allocations: 301.1 kB / 499.4 MB, free: 2.031 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001526/0.4391, allocations: 0.812 MB / 0.4885 GB, free: 1.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001976/0.4411, allocations: 1.32 MB / 0.4898 GB, free: 15.68 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003596/0.4447, allocations: 2.254 MB / 0.492 GB, free: 13.21 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.999e-06/0.4447, allocations: 4 kB / 0.492 GB, free: 13.21 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005369/0.4501, allocations: 2.701 MB / 0.4947 GB, free: 10.49 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.4501, allocations: 15.94 kB / 0.4947 GB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.776e-05/0.4501, allocations: 16 kB / 0.4947 GB, free: 10.46 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.4512, allocations: 418.5 kB / 0.4951 GB, free: 10.04 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001645/0.4529, allocations: 399.3 kB / 0.4955 GB, free: 9.652 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006901/0.4598, allocations: 5.491 MB / 0.5008 GB, free: 3.957 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/0.4615, allocations: 127.9 kB / 0.501 GB, free: 3.832 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.4616, allocations: 68 kB / 0.501 GB, free: 3.766 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.001586/0.4632, allocations: 0.8042 MB / 0.5018 GB, free: 2.953 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004057/0.4636, allocations: 190.8 kB / 0.502 GB, free: 2.766 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004667/0.4683, allocations: 2.295 MB / 0.5042 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.065e-05/0.4683, allocations: 24.06 kB / 0.5043 GB, free: 436 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.328e-06/0.4683, allocations: 4 kB / 0.5043 GB, free: 432 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/0.4684, allocations: 3.984 kB / 0.5043 GB, free: 428 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.4785, allocations: 4.523 MB / 0.5087 GB, free: 11.79 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.256e-05/0.4785, allocations: 8.125 kB / 0.5087 GB, free: 11.78 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001298/0.4798, allocations: 255.5 kB / 0.5089 GB, free: 11.53 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001512/0.4814, allocations: 466 kB / 0.5094 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001096/0.4815, allocations: 35.92 kB / 0.5094 GB, free: 11.03 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008921/0.4904, allocations: 6.894 MB / 0.5161 GB, free: 3.832 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.666e-05/0.4904, allocations: 15.94 kB / 0.5162 GB, free: 3.816 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006833/0.4972, allocations: 3.486 MB / 0.5196 GB, free: 252 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001157/0.4984, allocations: 354.7 kB / 0.5199 GB, free: 15.9 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002743/0.4987, allocations: 39.92 kB / 0.5199 GB, free: 15.86 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001214/0.4999, allocations: 103.9 kB / 0.52 GB, free: 15.76 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002928/0.5002, allocations: 112.7 kB / 0.5201 GB, free: 15.64 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.5003, allocations: 47.98 kB / 0.5202 GB, free: 15.6 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.002042/0.5023, allocations: 1.158 MB / 0.5213 GB, free: 14.45 MB / 446.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5023, allocations: 0 / 0.5213 GB, free: 14.45 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.001892/0.5042, allocations: 0.5351 MB / 0.5218 GB, free: 13.91 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.0005795/0.5048, allocations: 222.9 kB / 0.5221 GB, free: 13.68 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004654/0.5094, allocations: 2.267 MB / 0.5243 GB, free: 11.39 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 7.744e-06/0.5095, allocations: 4 kB / 0.5243 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003058/0.5125, allocations: 1.447 MB / 0.5257 GB, free: 9.898 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002004/0.5145, allocations: 372.7 kB / 0.526 GB, free: 9.535 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009371/0.5239, allocations: 5.191 MB / 0.5311 GB, free: 4.254 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001869/0.5258, allocations: 1.45 MB / 0.5325 GB, free: 2.766 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001281/0.527, allocations: 410.3 kB / 0.5329 GB, free: 2.359 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004403/0.5275, allocations: 127.4 kB / 0.533 GB, free: 2.234 MB / 446.1 MB Notification: Performance of SimCode: time 9.02e-07/0.5275, allocations: 0 / 0.533 GB, free: 2.234 MB / 446.1 MB Notification: Performance of Templates: time 0.228/0.7554, allocations: 30.18 MB / 0.5625 GB, free: 82.74 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/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.234697182197124]