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.001589/0.001589, allocations: 109.4 kB / 18.34 MB, free: 4.699 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.001847/0.001847, allocations: 192.1 kB / 19.28 MB, free: 3.766 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.611/1.611, allocations: 205.1 MB / 225.2 MB, free: 12.26 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.00129/0.00129, allocations: 51.94 kB / 282.1 MB, free: 2.453 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1243/0.1256, allocations: 46.62 MB / 328.7 MB, free: 3.758 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01436/0.14, allocations: 11.43 MB / 340.2 MB, free: 8.258 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.009317/0.1494, allocations: 3.901 MB / 344.1 MB, free: 4.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002734/0.1522, allocations: 55.75 kB / 344.1 MB, free: 4.293 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002692/0.155, allocations: 0.8423 MB / 345 MB, free: 3.441 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004546/0.1595, allocations: 0.9355 MB / 345.9 MB, free: 2.5 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001729/0.1613, allocations: 0.511 MB / 346.4 MB, free: 1.988 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.005277/0.1666, allocations: 3.234 MB / 349.6 MB, free: 14.74 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003264/0.1698, allocations: 2.542 MB / 352.2 MB, free: 12.14 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003272/0.1731, allocations: 1.417 MB / 353.6 MB, free: 10.72 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00344/0.1766, allocations: 1.818 MB / 355.4 MB, free: 8.895 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001072/0.1777, allocations: 384 kB / 355.8 MB, free: 8.52 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.1801, allocations: 0.6245 MB / 356.4 MB, free: 7.895 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.00162/0.1818, allocations: 1.071 MB / 357.5 MB, free: 6.82 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.003345/0.1851, allocations: 1.719 MB / 359.2 MB, free: 5.094 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005986/0.1911, allocations: 5.047 MB / 364.2 MB, free: 32 kB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.044e-06/0.1912, allocations: 0 / 364.2 MB, free: 32 kB / 302.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1912, allocations: 0 / 364.2 MB, free: 32 kB / 302.1 MB Notification: Performance of Transformations before backend: time 8.827e-05/0.1913, allocations: 0 / 364.2 MB, free: 32 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.008264/0.1995, allocations: 3.476 MB / 367.7 MB, free: 12.49 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.152e-05/0.1996, allocations: 8.031 kB / 367.7 MB, free: 12.48 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001487/0.2011, allocations: 409 kB / 368.1 MB, free: 12.08 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003511/0.2046, allocations: 1.737 MB / 369.9 MB, free: 10.29 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001418/0.2048, allocations: 189.4 kB / 370 MB, free: 10.1 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/0.2052, allocations: 251.9 kB / 370.3 MB, free: 9.852 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005256/0.2104, allocations: 3.247 MB / 373.5 MB, free: 6.527 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.364e-05/0.2105, allocations: 11.91 kB / 373.6 MB, free: 6.516 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002315/0.2107, allocations: 108 kB / 373.7 MB, free: 6.41 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001394/0.2109, allocations: 112.9 kB / 373.8 MB, free: 6.297 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004703/0.2156, allocations: 2.701 MB / 376.5 MB, free: 3.582 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2895/0.5051, allocations: 10.24 MB / 386.7 MB, free: 46.63 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002235/0.5074, allocations: 1.775 MB / 388.5 MB, free: 45.57 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/0.5094, allocations: 1.055 MB / 389.5 MB, free: 45.23 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003038/0.5097, allocations: 207.9 kB / 389.7 MB, free: 45.04 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.509e-05/0.5097, allocations: 47.81 kB / 389.8 MB, free: 44.99 MB / 318.1 MB Notification: Performance of pre-optimization done (n=115): time 2.615e-06/0.5098, allocations: 0 / 389.8 MB, free: 44.99 MB / 318.1 MB Notification: Performance of matching and sorting (n=134): time 0.01725/0.527, allocations: 7.394 MB / 397.2 MB, free: 41.68 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.079e-05/0.5271, allocations: 68.53 kB / 397.3 MB, free: 41.62 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.5293, allocations: 1.88 MB / 399.1 MB, free: 40.63 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 8.663e-05/0.5294, allocations: 49.61 kB / 399.2 MB, free: 40.58 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005388/0.53, allocations: 1.246 MB / 400.4 MB, free: 39.49 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000246/0.5302, allocations: 464.1 kB / 400.9 MB, free: 39.1 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004009/0.5306, allocations: 297.6 kB / 401.2 MB, free: 38.93 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.367e-05/0.5307, allocations: 310.3 kB / 401.5 MB, free: 38.62 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.532, allocations: 0.8059 MB / 402.3 MB, free: 38.23 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.5333, allocations: 1.313 MB / 403.6 MB, free: 37.16 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002491/0.5358, allocations: 2.252 MB / 405.8 MB, free: 35.61 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.618e-06/0.5358, allocations: 3.781 kB / 405.9 MB, free: 35.61 MB / 318.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.004053/0.5399, allocations: 2.792 MB / 408.6 MB, free: 33.48 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/0.5399, allocations: 12 kB / 408.7 MB, free: 33.46 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.502e-05/0.54, allocations: 19.98 kB / 408.7 MB, free: 33.45 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009022/0.5409, allocations: 423.3 kB / 409.1 MB, free: 33.02 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001275/0.5422, allocations: 395.4 kB / 409.5 MB, free: 32.64 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004522/0.5467, allocations: 5.785 MB / 415.3 MB, free: 26.59 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00194/0.5486, allocations: 119.8 kB / 415.4 MB, free: 26.48 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001296/0.5488, allocations: 75.98 kB / 415.5 MB, free: 26.4 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.001395/0.5502, allocations: 0.7861 MB / 416.2 MB, free: 25.61 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004102/0.5506, allocations: 201.5 kB / 416.4 MB, free: 25.41 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003468/0.5541, allocations: 2.375 MB / 418.8 MB, free: 23 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.88e-05/0.5541, allocations: 17.86 kB / 418.8 MB, free: 22.98 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.5541, allocations: 4 kB / 418.8 MB, free: 22.98 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.349e-05/0.5542, allocations: 8.781 kB / 418.8 MB, free: 22.97 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008674/0.5628, allocations: 5.271 MB / 424.1 MB, free: 17.57 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.384e-06/0.5629, allocations: 4.844 kB / 424.1 MB, free: 17.57 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009692/0.5638, allocations: 251.4 kB / 424.4 MB, free: 17.32 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001066/0.5649, allocations: 463.4 kB / 424.8 MB, free: 16.86 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001013/0.565, allocations: 43.91 kB / 424.9 MB, free: 16.82 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005638/0.5707, allocations: 7.323 MB / 432.2 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.483e-06/0.5707, allocations: 11.94 kB / 432.2 MB, free: 9.078 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004817/0.5755, allocations: 3.574 MB / 435.8 MB, free: 5.402 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00107/0.5766, allocations: 458.9 kB / 436.2 MB, free: 4.934 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002506/0.5769, allocations: 32 kB / 436.2 MB, free: 4.902 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001056/0.578, allocations: 104.4 kB / 436.3 MB, free: 4.805 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002359/0.5782, allocations: 108.7 kB / 436.5 MB, free: 4.695 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.754e-05/0.5783, allocations: 51.97 kB / 436.5 MB, free: 4.645 MB / 318.1 MB Notification: Performance of sorting global known variables: time 0.001661/0.58, allocations: 1.291 MB / 437.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.58, allocations: 0 / 437.8 MB, free: 3.363 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.001848/0.5818, allocations: 0.5486 MB / 438.3 MB, free: 2.82 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.0003973/0.5822, allocations: 218.4 kB / 438.6 MB, free: 2.605 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.003358/0.5856, allocations: 2.422 MB / 441 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 5.601e-06/0.5856, allocations: 0 / 441 MB, free: 148 kB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 0.002459/0.5881, allocations: 1.519 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.002134/0.5902, allocations: 447.6 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.009275/0.5995, allocations: 5.101 MB / 448 MB, free: 8.973 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001796/0.6014, allocations: 2.014 MB / 450 MB, free: 6.922 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.001753/0.6031, 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.0003925/0.6035, allocations: 131.4 kB / 450.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of SimCode: time 1.022e-06/0.6035, allocations: 0 / 450.6 MB, free: 6.367 MB / 334.1 MB Notification: Performance of Templates: time 0.05418/0.6577, allocations: 27.98 MB / 478.6 MB, free: 10.38 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 cvode -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