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.001141/0.001142, allocations: 95.14 kB / 17.3 MB, free: 6.391 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.001377/0.001377, allocations: 172.7 kB / 18.2 MB, free: 5.551 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.887/1.887, allocations: 205.4 MB / 224.4 MB, free: 13.08 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.0005619/0.0005623, allocations: 12 kB / 281.4 MB, free: 3.43 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1357, allocations: 47.58 MB / 329 MB, free: 3.773 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01363/0.1493, allocations: 10.76 MB / 339.7 MB, free: 8.953 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.1597, allocations: 3.832 MB / 343.6 MB, free: 5.113 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.1624, allocations: 51.75 kB / 343.6 MB, free: 5.062 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002792/0.1652, allocations: 0.7305 MB / 344.3 MB, free: 4.324 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004598/0.1698, allocations: 0.8508 MB / 345.2 MB, free: 3.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002087/0.1719, allocations: 463.5 kB / 345.6 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.007178/0.1791, allocations: 3.581 MB / 349.2 MB, free: 15.42 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003203/0.1823, allocations: 2.11 MB / 351.3 MB, free: 13.25 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003484/0.1859, allocations: 1.081 MB / 352.4 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003539/0.1894, allocations: 1.536 MB / 353.9 MB, free: 10.62 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005298/0.19, allocations: 167.9 kB / 354.1 MB, free: 10.46 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002136/0.1921, allocations: 427.5 kB / 354.5 MB, free: 10.04 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001189/0.1933, allocations: 0.8136 MB / 355.3 MB, free: 9.227 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003004/0.1963, allocations: 1.455 MB / 356.8 MB, free: 7.758 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.006091/0.2025, allocations: 4.726 MB / 361.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.692e-06/0.2025, allocations: 0 / 361.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.334e-06/0.2025, allocations: 0 / 361.5 MB, free: 3.016 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0001357/0.2026, allocations: 4 kB / 361.5 MB, free: 3.012 MB / 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.007692/0.2103, allocations: 2.946 MB / 364.5 MB, free: 0 / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.931e-05/0.2104, allocations: 8.078 kB / 364.5 MB, free: 15.99 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001545/0.212, allocations: 417 kB / 364.9 MB, free: 15.58 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/0.2156, allocations: 1.726 MB / 366.6 MB, free: 13.8 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002131/0.2158, allocations: 201.3 kB / 366.8 MB, free: 13.6 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004152/0.2162, allocations: 248 kB / 367.1 MB, free: 13.36 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006795/0.223, allocations: 3.259 MB / 370.3 MB, free: 10.02 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-05/0.2231, allocations: 11.84 kB / 370.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002594/0.2234, allocations: 100 kB / 370.4 MB, free: 9.914 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00018/0.2236, allocations: 112.9 kB / 370.5 MB, free: 9.801 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005247/0.2288, allocations: 2.725 MB / 373.3 MB, free: 7.062 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3358/0.5647, allocations: 10.44 MB / 383.7 MB, free: 45.34 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003228/0.568, allocations: 1.792 MB / 385.5 MB, free: 44.75 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002621/0.5706, allocations: 1.059 MB / 386.5 MB, free: 44.73 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003873/0.571, allocations: 207.8 kB / 386.7 MB, free: 44.54 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.074e-05/0.5711, allocations: 48.75 kB / 386.8 MB, free: 44.5 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 4.208e-06/0.5711, allocations: 0 / 386.8 MB, free: 44.5 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.02372/0.5949, allocations: 7.758 MB / 394.6 MB, free: 41.95 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.98e-05/0.595, allocations: 64.53 kB / 394.6 MB, free: 41.89 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003957/0.5989, allocations: 1.885 MB / 396.5 MB, free: 41.18 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002862/0.5992, allocations: 45.64 kB / 396.5 MB, free: 41.13 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001156/0.6004, allocations: 1.241 MB / 397.8 MB, free: 40.18 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005862/0.601, allocations: 466.8 kB / 398.2 MB, free: 39.82 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002229/0.6012, allocations: 132.7 kB / 398.4 MB, free: 39.73 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 7.01e-05/0.6013, allocations: 301.1 kB / 398.7 MB, free: 39.44 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001313/0.6026, allocations: 0.832 MB / 399.5 MB, free: 39.03 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001701/0.6044, allocations: 1.331 MB / 400.8 MB, free: 37.97 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003371/0.6077, allocations: 2.294 MB / 403.1 MB, free: 36.4 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/0.6078, allocations: 3.438 kB / 403.1 MB, free: 36.4 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005483/0.6133, allocations: 2.828 MB / 406 MB, free: 34.91 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.974e-05/0.6133, allocations: 11.31 kB / 406 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-05/0.6134, allocations: 20.28 kB / 406 MB, free: 34.91 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001073/0.6144, allocations: 421.5 kB / 406.4 MB, free: 34.71 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.6159, allocations: 404.4 kB / 406.8 MB, free: 34.6 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005447/0.6213, allocations: 5.312 MB / 412.1 MB, free: 29.13 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002506/0.6239, allocations: 139.8 kB / 412.2 MB, free: 28.99 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001823/0.6241, allocations: 72.92 kB / 412.3 MB, free: 28.92 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.002145/0.6262, allocations: 0.7861 MB / 413.1 MB, free: 28.13 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007726/0.627, allocations: 197.6 kB / 413.3 MB, free: 27.93 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004227/0.6312, allocations: 2.42 MB / 415.7 MB, free: 25.47 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.334e-05/0.6313, allocations: 20 kB / 415.7 MB, free: 25.45 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.352e-05/0.6313, allocations: 7.75 kB / 415.7 MB, free: 25.45 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.869e-05/0.6313, allocations: 7.969 kB / 415.7 MB, free: 25.44 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009503/0.6409, allocations: 5.317 MB / 421.1 MB, free: 20 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.177e-05/0.6409, allocations: 4 kB / 421.1 MB, free: 19.99 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009867/0.6419, allocations: 260.1 kB / 421.3 MB, free: 19.74 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001151/0.6431, allocations: 460.8 kB / 421.8 MB, free: 19.28 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.253e-05/0.6432, allocations: 43.94 kB / 421.8 MB, free: 19.24 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005535/0.6487, allocations: 6.73 MB / 428.5 MB, free: 12.12 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.6487, allocations: 11.94 kB / 428.6 MB, free: 12.11 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005601/0.6543, allocations: 3.627 MB / 432.2 MB, free: 8.379 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001331/0.6557, allocations: 458.5 kB / 432.6 MB, free: 7.91 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.656, allocations: 28 kB / 432.7 MB, free: 7.883 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001151/0.6572, allocations: 118.7 kB / 432.8 MB, free: 7.77 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002915/0.6575, allocations: 116.7 kB / 432.9 MB, free: 7.652 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.01e-05/0.6576, allocations: 43.98 kB / 432.9 MB, free: 7.609 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001996/0.6596, allocations: 1.294 MB / 434.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6596, allocations: 0 / 434.2 MB, free: 6.324 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.002255/0.6618, allocations: 0.5404 MB / 434.8 MB, free: 5.789 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.0005488/0.6624, allocations: 224.1 kB / 435 MB, free: 5.57 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003879/0.6663, allocations: 2.445 MB / 437.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/0.6663, allocations: 0 / 437.4 MB, free: 3.082 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002284/0.6686, allocations: 1.526 MB / 439 MB, free: 1.52 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003735/0.6724, allocations: 437.4 kB / 439.4 MB, free: 1.102 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01172/0.6841, allocations: 6.383 MB / 445.8 MB, free: 10.63 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002251/0.6864, allocations: 2.01 MB / 447.8 MB, free: 8.586 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.00208/0.6885, allocations: 427.6 kB / 448.2 MB, free: 8.164 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004608/0.689, allocations: 131.4 kB / 448.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of SimCode: time 1.372e-06/0.689, allocations: 0 / 448.3 MB, free: 8.035 MB / 334.1 MB Notification: Performance of Templates: time 0.06133/0.7504, allocations: 26.43 MB / 474.7 MB, free: 13.59 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMEE_Generator/SMEE_Generator.csv","../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