Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator,tolerance=1e-06,outputFormat="mat",numberOfIntervals=60000,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_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001225/0.001225, allocations: 109.4 kB / 18.34 MB, free: 4.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001318/0.001318, allocations: 192.1 kB / 19.28 MB, free: 3.898 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.1 MB / 225.2 MB, free: 12.25 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001522/0.001523, allocations: 59.92 kB / 282.1 MB, free: 2.441 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1385, allocations: 46.62 MB / 328.7 MB, free: 3.746 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01394/0.1525, allocations: 11.43 MB / 340.2 MB, free: 8.25 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009837/0.1624, allocations: 3.905 MB / 344.1 MB, free: 4.336 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003494/0.1659, allocations: 51.81 kB / 344.1 MB, free: 4.285 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003524/0.1696, allocations: 0.8423 MB / 345 MB, free: 3.434 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005324/0.1749, allocations: 0.9394 MB / 345.9 MB, free: 2.488 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001953/0.1769, allocations: 0.5071 MB / 346.4 MB, free: 1.98 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005745/0.1827, allocations: 3.238 MB / 349.6 MB, free: 14.73 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003604/0.1863, allocations: 2.542 MB / 352.2 MB, free: 12.13 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003486/0.1898, allocations: 1.421 MB / 353.6 MB, free: 10.7 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004851/0.1947, allocations: 1.818 MB / 355.4 MB, free: 8.879 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001011/0.1957, allocations: 384 kB / 355.8 MB, free: 8.504 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001606/0.1974, allocations: 0.6168 MB / 356.4 MB, free: 7.887 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001074/0.1984, allocations: 1.071 MB / 357.5 MB, free: 6.812 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002378/0.2008, allocations: 1.723 MB / 359.2 MB, free: 5.082 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0053/0.2061, allocations: 5.047 MB / 364.2 MB, free: 20 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.2062, allocations: 0 / 364.2 MB, free: 20 kB / 302.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.2062, allocations: 0 / 364.2 MB, free: 20 kB / 302.1 MB Notification: Performance of Transformations before backend: time 0.000115/0.2063, allocations: 0 / 364.2 MB, free: 20 kB / 302.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.007522/0.2138, allocations: 3.476 MB / 367.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.2139, allocations: 8.031 kB / 367.7 MB, free: 12.47 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001282/0.2152, allocations: 409 kB / 368.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003288/0.2185, allocations: 1.737 MB / 369.9 MB, free: 10.27 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001417/0.2186, allocations: 185.4 kB / 370.1 MB, free: 10.09 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003537/0.219, allocations: 251.9 kB / 370.3 MB, free: 9.844 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005243/0.2243, allocations: 3.247 MB / 373.5 MB, free: 6.52 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.968e-05/0.2243, allocations: 11.84 kB / 373.6 MB, free: 6.508 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002146/0.2246, allocations: 100 kB / 373.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001328/0.2247, allocations: 116.9 kB / 373.8 MB, free: 6.293 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004498/0.2292, allocations: 2.701 MB / 376.5 MB, free: 3.578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2002/0.4294, allocations: 10.25 MB / 386.7 MB, free: 46.64 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003158/0.4327, allocations: 1.765 MB / 388.5 MB, free: 45.59 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002157/0.4349, allocations: 1.056 MB / 389.5 MB, free: 45.24 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003576/0.4352, allocations: 207.9 kB / 389.7 MB, free: 45.05 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.4353, allocations: 51.97 kB / 389.8 MB, free: 45 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 5.169e-06/0.4353, allocations: 0 / 389.8 MB, free: 45 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01862/0.4539, allocations: 7.401 MB / 397.2 MB, free: 41.71 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.752e-05/0.454, allocations: 68.41 kB / 397.3 MB, free: 41.64 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002977/0.457, allocations: 1.88 MB / 399.1 MB, free: 40.66 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001714/0.4572, allocations: 53.38 kB / 399.2 MB, free: 40.61 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006637/0.4579, allocations: 1.238 MB / 400.4 MB, free: 39.52 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003107/0.4582, allocations: 466.6 kB / 400.9 MB, free: 39.12 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003983/0.4586, allocations: 297.7 kB / 401.2 MB, free: 38.96 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 5.556e-05/0.4587, allocations: 306.3 kB / 401.5 MB, free: 38.66 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001281/0.4599, allocations: 0.8099 MB / 402.3 MB, free: 38.25 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001555/0.4615, allocations: 1.309 MB / 403.6 MB, free: 37.19 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002806/0.4643, allocations: 2.256 MB / 405.9 MB, free: 35.63 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.105e-05/0.4644, allocations: 3.312 kB / 405.9 MB, free: 35.63 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005004/0.4694, allocations: 2.786 MB / 408.6 MB, free: 33.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.867e-05/0.4694, allocations: 12 kB / 408.7 MB, free: 33.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.962e-05/0.4695, allocations: 16 kB / 408.7 MB, free: 33.46 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009638/0.4705, allocations: 426.3 kB / 409.1 MB, free: 33.03 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.472, allocations: 399.3 kB / 409.5 MB, free: 32.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005424/0.4774, allocations: 5.783 MB / 415.3 MB, free: 26.6 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002372/0.4798, allocations: 123.8 kB / 415.4 MB, free: 26.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003116/0.4801, allocations: 71.98 kB / 415.4 MB, free: 26.41 MB / 318.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 71 * 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.001596/0.4818, allocations: 0.79 MB / 416.2 MB, free: 25.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005724/0.4823, allocations: 197.6 kB / 416.4 MB, free: 25.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003557/0.4859, allocations: 2.383 MB / 418.8 MB, free: 23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.956e-05/0.4859, allocations: 17.86 kB / 418.8 MB, free: 22.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.694e-06/0.486, allocations: 7.375 kB / 418.8 MB, free: 22.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.486, allocations: 7.969 kB / 418.8 MB, free: 22.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008838/0.4948, allocations: 5.263 MB / 424.1 MB, free: 17.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.21e-05/0.4949, allocations: 4.844 kB / 424.1 MB, free: 17.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001034/0.4959, allocations: 255.6 kB / 424.4 MB, free: 17.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001256/0.4972, allocations: 463 kB / 424.8 MB, free: 16.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001231/0.4973, allocations: 35.98 kB / 424.9 MB, free: 16.83 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005906/0.5033, allocations: 7.332 MB / 432.2 MB, free: 9.086 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.705e-06/0.5033, allocations: 7.938 kB / 432.2 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005265/0.5086, allocations: 3.577 MB / 435.8 MB, free: 5.398 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001375/0.51, allocations: 446.5 kB / 436.2 MB, free: 4.941 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004049/0.5104, allocations: 39.98 kB / 436.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001218/0.5116, allocations: 100.4 kB / 436.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003213/0.512, allocations: 112.7 kB / 436.5 MB, free: 4.691 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.5121, allocations: 40.11 kB / 436.5 MB, free: 4.652 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001865/0.5139, allocations: 1.298 MB / 437.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.514, allocations: 0 / 437.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002562/0.5165, allocations: 0.5359 MB / 438.3 MB, free: 2.832 MB / 318.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * 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 (116): * Single equations (assignments): 111 * 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.0005677/0.5171, allocations: 237 kB / 438.6 MB, free: 2.602 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.004071/0.5212, allocations: 2.422 MB / 441 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 9.158e-06/0.5213, allocations: 0 / 441 MB, free: 144 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002632/0.5239, allocations: 1.515 MB / 442.5 MB, free: 14.59 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00278/0.5267, allocations: 444 kB / 442.9 MB, free: 14.16 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01131/0.538, allocations: 5.11 MB / 448 MB, free: 8.969 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002201/0.5403, allocations: 2.01 MB / 450 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00165/0.542, allocations: 431.6 kB / 450.5 MB, free: 6.496 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004574/0.5424, allocations: 131.4 kB / 450.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of SimCode: time 1.583e-06/0.5425, allocations: 0 / 450.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of Templates: time 0.06098/0.6034, allocations: 27.98 MB / 478.6 MB, free: 10.37 MB / 366.1 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches