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.001403/0.001404, allocations: 110.5 kB / 17.73 MB, free: 5.324 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.001799/0.001798, allocations: 187 kB / 18.66 MB, free: 4.395 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.901/1.901, allocations: 205.1 MB / 224.5 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.001242/0.001242, allocations: 47.94 kB / 328.5 MB, free: 3.273 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1381/0.1394, allocations: 46.62 MB / 375.2 MB, free: 4.547 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.3955/0.5349, allocations: 11.41 MB / 386.6 MB, free: 6.898 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01276/0.5477, allocations: 3.919 MB / 390.5 MB, free: 4.434 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005041/0.5528, allocations: 56.16 kB / 390.5 MB, free: 4.418 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.004847/0.5578, allocations: 0.8462 MB / 391.4 MB, free: 3.977 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00708/0.5649, allocations: 0.938 MB / 392.3 MB, free: 3.371 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002954/0.5679, allocations: 0.516 MB / 392.8 MB, free: 3.055 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.008573/0.5765, allocations: 3.217 MB / 396.1 MB, free: 1.434 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.006958/0.5835, allocations: 2.547 MB / 398.6 MB, free: 356 kB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0051/0.5887, allocations: 1.439 MB / 400.1 MB, free: 15.64 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006688/0.5954, allocations: 1.808 MB / 401.9 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.002582/0.598, allocations: 391.7 kB / 402.2 MB, free: 14.79 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005002/0.6031, allocations: 0.6332 MB / 402.9 MB, free: 14.7 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003904/0.607, allocations: 1.065 MB / 403.9 MB, free: 14.11 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008177/0.6152, allocations: 1.714 MB / 405.7 MB, free: 13 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01217/0.6274, allocations: 5.051 MB / 410.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.247e-05/0.6275, allocations: 1.094 kB / 410.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of FrontEnd: time 5.169e-06/0.6275, allocations: 0 / 410.7 MB, free: 9.492 MB / 334.1 MB Notification: Performance of Transformations before backend: time 0.000322/0.6279, allocations: 0.5625 kB / 410.7 MB, free: 9.492 MB / 334.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.0181/0.646, allocations: 3.471 MB / 414.2 MB, free: 7.125 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 8.091e-05/0.6461, allocations: 14.03 kB / 414.2 MB, free: 7.121 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003316/0.6494, allocations: 409.8 kB / 414.6 MB, free: 6.934 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006948/0.6564, allocations: 1.727 MB / 416.3 MB, free: 5.699 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003848/0.6568, allocations: 195.2 kB / 416.5 MB, free: 5.605 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001573/0.6584, allocations: 252.5 kB / 416.8 MB, free: 5.52 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01347/0.6719, allocations: 3.248 MB / 420 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002085/0.6722, allocations: 0 / 420 MB, free: 2.516 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001107/0.6734, allocations: 112 kB / 420.1 MB, free: 2.406 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002506/0.6736, allocations: 116.9 kB / 420.2 MB, free: 2.289 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008877/0.6825, allocations: 2.701 MB / 422.9 MB, free: 15.57 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03035/0.7129, allocations: 10.25 MB / 433.2 MB, free: 4.988 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003154/0.7162, allocations: 1.774 MB / 435 MB, free: 3.098 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002255/0.7185, allocations: 1.045 MB / 436 MB, free: 2.051 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000388/0.7189, allocations: 215.1 kB / 436.2 MB, free: 1.805 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.699e-05/0.719, allocations: 43.56 kB / 436.3 MB, free: 1.75 MB / 350.1 MB Notification: Performance of pre-optimization done (n=115): time 4.719e-06/0.719, allocations: 4 kB / 436.3 MB, free: 1.746 MB / 350.1 MB Notification: Performance of matching and sorting (n=134): time 0.02238/0.7414, allocations: 7.401 MB / 443.7 MB, free: 10.22 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.538e-05/0.7416, allocations: 72.66 kB / 443.7 MB, free: 10.14 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005294/0.7469, allocations: 1.869 MB / 445.6 MB, free: 8.273 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002651/0.7472, allocations: 45.7 kB / 445.6 MB, free: 8.223 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001227/0.7484, allocations: 1.249 MB / 446.9 MB, free: 6.957 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006938/0.7491, allocations: 469.2 kB / 447.3 MB, free: 6.492 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007084/0.7498, allocations: 299.3 kB / 447.6 MB, free: 6.191 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001384/0.75, allocations: 305.1 kB / 447.9 MB, free: 5.891 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.7516, allocations: 0.812 MB / 448.8 MB, free: 5.078 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001993/0.7536, allocations: 1.309 MB / 450.1 MB, free: 3.543 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003738/0.7574, allocations: 2.255 MB / 452.3 MB, free: 1.074 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.48e-05/0.7574, allocations: 8 kB / 452.3 MB, free: 1.066 MB / 366.1 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.006449/0.7639, allocations: 2.783 MB / 455.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.301e-05/0.764, allocations: 12.28 kB / 455.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-05/0.764, allocations: 20 kB / 455.1 MB, free: 14.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001263/0.7653, allocations: 419.5 kB / 455.5 MB, free: 13.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/0.7669, allocations: 399.3 kB / 455.9 MB, free: 13.41 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008256/0.7752, allocations: 5.787 MB / 461.7 MB, free: 7.344 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003152/0.7784, allocations: 115.8 kB / 461.8 MB, free: 7.23 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005302/0.7789, allocations: 79.98 kB / 461.9 MB, free: 7.152 MB / 382.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.003308/0.7822, allocations: 0.7901 MB / 462.7 MB, free: 6.352 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001592/0.7839, allocations: 193.7 kB / 462.9 MB, free: 6.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005967/0.7898, allocations: 2.379 MB / 465.3 MB, free: 3.738 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.707e-05/0.7899, allocations: 19.98 kB / 465.3 MB, free: 3.719 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.53e-05/0.7899, allocations: 4 kB / 465.3 MB, free: 3.715 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.859e-05/0.79, allocations: 7.922 kB / 465.3 MB, free: 3.707 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01305/0.803, allocations: 5.274 MB / 470.6 MB, free: 14.27 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.635e-05/0.8031, allocations: 4 kB / 470.6 MB, free: 14.26 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001149/0.8042, allocations: 247.6 kB / 470.8 MB, free: 14.02 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.8057, allocations: 466.1 kB / 471.3 MB, free: 13.55 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001499/0.8059, allocations: 31.98 kB / 471.3 MB, free: 13.52 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009421/0.8154, allocations: 7.331 MB / 478.6 MB, free: 5.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-05/0.8154, allocations: 11.88 kB / 478.7 MB, free: 5.758 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007722/0.8231, allocations: 3.579 MB / 482.2 MB, free: 2.07 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001948/0.8251, allocations: 450.6 kB / 482.7 MB, free: 1.609 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001072/0.8262, allocations: 31.98 kB / 482.7 MB, free: 1.578 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002109/0.8284, allocations: 103.9 kB / 482.8 MB, free: 1.477 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004255/0.8288, allocations: 112.7 kB / 482.9 MB, free: 1.367 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001512/0.829, allocations: 55.86 kB / 483 MB, free: 1.312 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.003653/0.8326, allocations: 1.291 MB / 484.3 MB, free: 32 kB / 398.1 MB Notification: Performance of sort global known variables: time 6.01e-07/0.8327, allocations: 0 / 484.3 MB, free: 32 kB / 398.1 MB Notification: Performance of remove unused functions: time 0.004416/0.8371, allocations: 0.5391 MB / 484.8 MB, free: 15.49 MB / 414.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.001042/0.8382, allocations: 220.1 kB / 485 MB, free: 15.27 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.006025/0.8442, allocations: 2.429 MB / 487.4 MB, free: 12.8 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 1.636e-05/0.8442, allocations: 4 kB / 487.4 MB, free: 12.79 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003063/0.8473, allocations: 1.51 MB / 489 MB, free: 11.25 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00472/0.8521, allocations: 457.4 kB / 489.4 MB, free: 10.8 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01685/0.8689, allocations: 5.101 MB / 494.5 MB, free: 5.605 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004023/0.8731, allocations: 2.014 MB / 496.5 MB, free: 3.559 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.002589/0.8757, allocations: 427.7 kB / 496.9 MB, free: 3.137 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/0.8768, allocations: 135.4 kB / 497.1 MB, free: 3.004 MB / 414.1 MB Notification: Performance of SimCode: time 2.875e-06/0.8768, allocations: 0 / 497.1 MB, free: 3.004 MB / 414.1 MB Notification: Performance of Templates: time 0.07206/0.9489, allocations: 28.48 MB / 0.5132 GB, free: 6.469 MB / 446.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","/var/lib/jenkins/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