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.001242/0.001242, allocations: 114.2 kB / 19.04 MB, free: 3.281 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.001275/0.001275, allocations: 188.5 kB / 22.21 MB, free: 112 kB / 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.419/1.419, allocations: 225.6 MB / 250.8 MB, free: 13.4 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.001518/0.001518, allocations: 51.92 kB / 368.7 MB, free: 10.24 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2887/0.2902, allocations: 52.14 MB / 420.9 MB, free: 15.12 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01526/0.3055, allocations: 11.57 MB / 432.5 MB, free: 3.504 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.008085/0.3136, allocations: 3.886 MB / 436.3 MB, free: 15.61 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001842/0.3154, allocations: 63.75 kB / 436.4 MB, free: 15.54 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002178/0.3176, allocations: 0.8693 MB / 437.3 MB, free: 14.67 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002881/0.3205, allocations: 0.994 MB / 438.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001193/0.3217, allocations: 0.5031 MB / 438.8 MB, free: 13.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00427/0.3259, allocations: 3.211 MB / 442 MB, free: 9.938 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002391/0.3283, allocations: 1.477 MB / 443.5 MB, free: 8.398 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002311/0.3306, allocations: 1.433 MB / 444.9 MB, free: 6.961 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002846/0.3335, allocations: 1.853 MB / 446.7 MB, free: 5.102 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0006354/0.3341, allocations: 388 kB / 447.1 MB, free: 4.723 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001329/0.3354, allocations: 0.644 MB / 447.8 MB, free: 4.078 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001157/0.3366, allocations: 1.087 MB / 448.8 MB, free: 2.988 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002274/0.3389, allocations: 1.723 MB / 450.6 MB, free: 1.258 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00663/0.3455, allocations: 5.06 MB / 455.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.052e-06/0.3455, allocations: 0 / 455.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.482e-06/0.3455, allocations: 3.844 kB / 455.6 MB, free: 12.18 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001578/0.3457, allocations: 0 / 455.6 MB, free: 12.18 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.008201/0.3539, allocations: 3.562 MB / 459.2 MB, free: 8.543 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.964e-05/0.3539, allocations: 8.031 kB / 459.2 MB, free: 8.535 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001412/0.3553, allocations: 426.7 kB / 459.6 MB, free: 8.117 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003406/0.3587, allocations: 1.844 MB / 461.5 MB, free: 6.219 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001689/0.3589, allocations: 193.1 kB / 461.7 MB, free: 6.027 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003941/0.3593, allocations: 251.9 kB / 461.9 MB, free: 5.781 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006032/0.3653, allocations: 3.255 MB / 465.2 MB, free: 2.449 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.525e-05/0.3654, allocations: 8 kB / 465.2 MB, free: 2.441 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/0.3656, allocations: 96 kB / 465.3 MB, free: 2.348 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/0.3658, allocations: 120.9 kB / 465.4 MB, free: 2.227 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005049/0.3708, allocations: 2.701 MB / 468.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01816/0.389, allocations: 10.29 MB / 478.4 MB, free: 4.887 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00252/0.3915, allocations: 1.698 MB / 480.1 MB, free: 3.07 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00184/0.3933, allocations: 0.9868 MB / 481.1 MB, free: 2.086 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003287/0.3937, allocations: 207.2 kB / 481.3 MB, free: 1.848 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.436e-05/0.3937, allocations: 51.5 kB / 481.3 MB, free: 1.789 MB / 382.1 MB Notification: Performance of pre-optimization done (n=115): time 3.306e-06/0.3937, allocations: 0 / 481.3 MB, free: 1.789 MB / 382.1 MB Notification: Performance of matching and sorting (n=134): time 0.01892/0.4126, allocations: 7.448 MB / 488.8 MB, free: 10.23 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.4127, allocations: 64.72 kB / 488.8 MB, free: 10.15 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003478/0.4162, allocations: 1.876 MB / 490.7 MB, free: 8.277 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/0.4164, allocations: 45.7 kB / 490.7 MB, free: 8.227 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.4176, allocations: 1.272 MB / 492 MB, free: 6.941 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005565/0.4181, allocations: 491.8 kB / 492.5 MB, free: 6.457 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00057/0.4187, allocations: 303.4 kB / 492.8 MB, free: 6.152 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001421/0.4188, allocations: 305.1 kB / 493.1 MB, free: 5.852 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001502/0.4203, allocations: 0.812 MB / 493.9 MB, free: 5.039 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001863/0.4222, allocations: 1.315 MB / 495.2 MB, free: 3.508 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003542/0.4257, allocations: 2.25 MB / 497.5 MB, free: 1.043 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.959e-06/0.4258, allocations: 4 kB / 497.5 MB, free: 1.039 MB / 398.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005255/0.431, allocations: 2.8 MB / 0.4885 GB, free: 14.2 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.859e-05/0.431, allocations: 12 kB / 0.4886 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.263e-05/0.4311, allocations: 12 kB / 0.4886 GB, free: 14.17 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001049/0.4321, allocations: 430.2 kB / 0.489 GB, free: 13.74 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001494/0.4336, allocations: 399.3 kB / 0.4894 GB, free: 13.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006865/0.4405, allocations: 5.805 MB / 0.495 GB, free: 7.273 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/0.4423, allocations: 128 kB / 0.4951 GB, free: 7.148 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.4424, allocations: 71.98 kB / 0.4952 GB, free: 7.078 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.001617/0.444, allocations: 0.7939 MB / 0.496 GB, free: 6.273 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005388/0.4446, allocations: 206.7 kB / 0.4962 GB, free: 6.07 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004815/0.4494, allocations: 2.379 MB / 0.4985 GB, free: 3.648 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.772e-05/0.4494, allocations: 12 kB / 0.4985 GB, free: 3.637 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.225e-05/0.4494, allocations: 7.938 kB / 0.4985 GB, free: 3.629 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-05/0.4495, allocations: 7.969 kB / 0.4985 GB, free: 3.621 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009556/0.459, allocations: 5.257 MB / 0.5037 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/0.459, allocations: 8 kB / 0.5037 GB, free: 14.21 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/0.4601, allocations: 248.2 kB / 0.5039 GB, free: 13.96 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001324/0.4615, allocations: 466 kB / 0.5044 GB, free: 13.5 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001135/0.4616, allocations: 35.97 kB / 0.5044 GB, free: 13.46 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008205/0.4698, allocations: 7.342 MB / 0.5116 GB, free: 5.699 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.161e-05/0.4698, allocations: 11.88 kB / 0.5116 GB, free: 5.688 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006407/0.4762, allocations: 3.572 MB / 0.5151 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001193/0.4774, allocations: 459.7 kB / 0.5155 GB, free: 1.547 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002603/0.4777, allocations: 35.98 kB / 0.5155 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001131/0.4788, allocations: 95.88 kB / 0.5156 GB, free: 1.418 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002964/0.4791, allocations: 112.7 kB / 0.5157 GB, free: 1.309 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001044/0.4792, allocations: 43.98 kB / 0.5158 GB, free: 1.266 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.002083/0.4813, allocations: 1.291 MB / 0.517 GB, free: 15.98 MB / 446.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4813, allocations: 0 / 0.517 GB, free: 15.98 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.002016/0.4833, allocations: 0.5469 MB / 0.5176 GB, free: 15.43 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.0005459/0.4838, allocations: 222.8 kB / 0.5178 GB, free: 15.21 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004873/0.4887, allocations: 2.352 MB / 0.5201 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 8.355e-06/0.4887, allocations: 0 / 0.5201 GB, free: 12.81 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002724/0.4914, allocations: 1.456 MB / 0.5215 GB, free: 11.31 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002604/0.494, allocations: 444.3 kB / 0.5219 GB, free: 10.88 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0106/0.5046, allocations: 5.214 MB / 0.527 GB, free: 5.578 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001964/0.5066, allocations: 2.006 MB / 0.529 GB, free: 3.539 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.001402/0.508, allocations: 431.6 kB / 0.5294 GB, free: 3.113 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004252/0.5084, allocations: 131.4 kB / 0.5295 GB, free: 2.984 MB / 446.1 MB Notification: Performance of SimCode: time 1.392e-06/0.5084, allocations: 0 / 0.5295 GB, free: 2.984 MB / 446.1 MB Notification: Performance of Templates: time 0.2535/0.762, allocations: 29.31 MB / 0.5581 GB, free: 114.9 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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins/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: 6.021088530309498]