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.001303/0.001303, allocations: 107.6 kB / 21.19 MB, free: 0.6484 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.00143/0.00143, allocations: 213.1 kB / 24.48 MB, free: 3.957 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.52/1.52, allocations: 230.6 MB / 258.3 MB, free: 7.742 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.001572/0.001572, allocations: 51.91 kB / 379 MB, free: 2.441 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2604/0.262, allocations: 53.36 MB / 432.3 MB, free: 6.727 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMEE_Generator): time 0.01328/0.2753, allocations: 10.14 MB / 442.5 MB, free: 12.55 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.007661/0.2829, allocations: 3.706 MB / 446.2 MB, free: 8.836 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001923/0.2848, allocations: 79.5 kB / 446.3 MB, free: 8.758 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.2872, allocations: 0.8233 MB / 447.1 MB, free: 7.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003226/0.2904, allocations: 0.994 MB / 448.1 MB, free: 6.93 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001411/0.2918, allocations: 0.5266 MB / 448.6 MB, free: 6.402 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.004311/0.2962, allocations: 3.23 MB / 451.8 MB, free: 3.16 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002186/0.2983, allocations: 1.469 MB / 453.3 MB, free: 1.625 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002282/0.3006, allocations: 1.483 MB / 454.8 MB, free: 140 kB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002972/0.3036, allocations: 1.86 MB / 456.6 MB, free: 14.27 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000605/0.3042, allocations: 387.9 kB / 457 MB, free: 13.89 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.3055, allocations: 0.6244 MB / 457.7 MB, free: 13.27 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001177/0.3066, allocations: 1.091 MB / 458.7 MB, free: 12.17 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001875/0.3085, allocations: 1.396 MB / 460.1 MB, free: 10.77 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006223/0.3147, allocations: 5.086 MB / 465.2 MB, free: 5.668 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.3147, allocations: 7.938 kB / 465.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3147, allocations: 0 / 465.2 MB, free: 5.66 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001174/0.3149, allocations: 0 / 465.2 MB, free: 5.66 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.008191/0.3231, allocations: 3.503 MB / 468.7 MB, free: 2.105 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.186e-05/0.3231, allocations: 8.031 kB / 468.7 MB, free: 2.098 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001784/0.3249, allocations: 466.7 kB / 469.2 MB, free: 1.641 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004089/0.329, allocations: 1.787 MB / 471 MB, free: 15.81 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001897/0.3292, allocations: 197.2 kB / 471.2 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005124/0.3297, allocations: 255.9 kB / 471.4 MB, free: 15.37 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006379/0.336, allocations: 3.373 MB / 474.8 MB, free: 11.89 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.24e-05/0.3361, allocations: 7.984 kB / 474.8 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002494/0.3364, allocations: 100 kB / 474.9 MB, free: 11.78 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001391/0.3365, allocations: 112.9 kB / 475 MB, free: 11.67 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005169/0.3417, allocations: 2.697 MB / 477.7 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01749/0.3592, allocations: 8.915 MB / 486.6 MB, free: 15.72 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.3614, allocations: 1.241 MB / 487.9 MB, free: 14.48 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001758/0.3631, allocations: 0.9874 MB / 488.9 MB, free: 13.5 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002315/0.3633, allocations: 44.97 kB / 488.9 MB, free: 13.45 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.15e-05/0.3634, allocations: 51.56 kB / 489 MB, free: 13.39 MB / 398.1 MB Notification: Performance of pre-optimization done (n=115): time 3.377e-06/0.3634, allocations: 0 / 489 MB, free: 13.39 MB / 398.1 MB Notification: Performance of matching and sorting (n=134): time 0.01856/0.382, allocations: 7.052 MB / 496 MB, free: 6.309 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.47e-05/0.382, allocations: 64.72 kB / 496.1 MB, free: 6.234 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002879/0.3849, allocations: 1.716 MB / 497.8 MB, free: 4.512 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001646/0.3851, allocations: 49.7 kB / 497.8 MB, free: 4.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001041/0.3861, allocations: 1.298 MB / 499.1 MB, free: 3.145 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004761/0.3866, allocations: 491.8 kB / 499.6 MB, free: 2.66 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005165/0.3871, allocations: 299.4 kB / 499.9 MB, free: 2.359 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001491/0.3872, allocations: 301.1 kB / 0.4885 GB, free: 2.062 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.3887, allocations: 0.8197 MB / 0.4893 GB, free: 1.242 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00188/0.3906, allocations: 1.312 MB / 0.4906 GB, free: 15.71 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003439/0.394, allocations: 2.254 MB / 0.4928 GB, free: 13.25 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.231e-05/0.3941, allocations: 4 kB / 0.4928 GB, free: 13.24 MB / 414.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.00536/0.3994, allocations: 2.701 MB / 0.4954 GB, free: 10.52 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/0.3995, allocations: 15.94 kB / 0.4954 GB, free: 10.51 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.13e-05/0.3995, allocations: 19.94 kB / 0.4954 GB, free: 10.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001112/0.4006, allocations: 414.5 kB / 0.4958 GB, free: 10.07 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.4022, allocations: 403.3 kB / 0.4962 GB, free: 9.68 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006681/0.4089, allocations: 5.499 MB / 0.5016 GB, free: 3.977 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.4107, allocations: 123.8 kB / 0.5017 GB, free: 3.855 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001807/0.4109, allocations: 71.98 kB / 0.5018 GB, free: 3.785 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.001601/0.4125, allocations: 0.8002 MB / 0.5026 GB, free: 2.977 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005421/0.413, allocations: 190.8 kB / 0.5027 GB, free: 2.789 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004673/0.4177, allocations: 2.291 MB / 0.505 GB, free: 488 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.769e-05/0.4177, allocations: 16 kB / 0.505 GB, free: 472 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/0.4178, allocations: 4 kB / 0.505 GB, free: 468 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.796e-05/0.4178, allocations: 7.969 kB / 0.505 GB, free: 460 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009905/0.4277, allocations: 4.531 MB / 0.5094 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.293e-05/0.4277, allocations: 4 kB / 0.5094 GB, free: 11.81 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001166/0.4289, allocations: 247.6 kB / 0.5097 GB, free: 11.57 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001384/0.4302, allocations: 469.1 kB / 0.5101 GB, free: 11.1 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001182/0.4304, allocations: 35.92 kB / 0.5101 GB, free: 11.07 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008118/0.4385, allocations: 6.899 MB / 0.5169 GB, free: 3.859 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/0.4385, allocations: 7.938 kB / 0.5169 GB, free: 3.852 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00646/0.4449, allocations: 3.487 MB / 0.5203 GB, free: 288 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001302/0.4462, allocations: 358.8 kB / 0.5206 GB, free: 15.93 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003071/0.4466, allocations: 35.94 kB / 0.5207 GB, free: 15.89 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00119/0.4477, allocations: 107.8 kB / 0.5208 GB, free: 15.79 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002895/0.448, allocations: 112.7 kB / 0.5209 GB, free: 15.67 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001081/0.4481, allocations: 43.98 kB / 0.5209 GB, free: 15.63 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.001928/0.4501, allocations: 1.161 MB / 0.5221 GB, free: 14.47 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.4501, allocations: 0 / 0.5221 GB, free: 14.47 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.00201/0.4521, allocations: 0.5351 MB / 0.5226 GB, free: 13.94 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.0004973/0.4526, allocations: 230.7 kB / 0.5228 GB, free: 13.7 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.004404/0.457, allocations: 2.263 MB / 0.525 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 9.678e-06/0.457, allocations: 4 kB / 0.525 GB, free: 11.41 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002711/0.4597, allocations: 1.451 MB / 0.5264 GB, free: 9.922 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002029/0.4617, allocations: 376.2 kB / 0.5268 GB, free: 9.559 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009081/0.4708, allocations: 5.232 MB / 0.5319 GB, free: 4.23 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001764/0.4726, allocations: 1.431 MB / 0.5333 GB, free: 2.762 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006525/0.4732, allocations: 139.4 kB / 0.5334 GB, free: 2.625 MB / 446.1 MB Notification: Performance of SimCode: time 8.71e-07/0.4732, allocations: 0 / 0.5334 GB, free: 2.625 MB / 446.1 MB Notification: Performance of Templates: time 0.2495/0.7227, allocations: 70.47 MB / 0.6022 GB, free: 42.12 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/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: 13.476399502978893]