Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001083/0.001083, allocations: 174.2 kB / 17.36 MB, free: 4.445 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.764/1.764, allocations: 205.6 MB / 223.7 MB, free: 8.926 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008059/0.000806, allocations: 94.41 kB / 272.1 MB, free: 8.121 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002943/0.0002946, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2888/0.2891, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMEE_Generator): time 0.01125/0.3004, allocations: 10.13 MB / 386.7 MB, free: 37.66 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01013/0.3106, allocations: 4.272 MB / 391 MB, free: 33.92 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003045/0.3138, allocations: 50.62 kB / 391.1 MB, free: 33.88 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003246/0.317, allocations: 0.7199 MB / 391.8 MB, free: 33.15 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004018/0.3211, allocations: 0.8469 MB / 392.6 MB, free: 32.3 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001789/0.3229, allocations: 471.4 kB / 393.1 MB, free: 31.84 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004781/0.3277, allocations: 3.585 MB / 396.7 MB, free: 28.24 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.3312, allocations: 2.117 MB / 398.8 MB, free: 26.07 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.3335, allocations: 1.101 MB / 399.9 MB, free: 24.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003655/0.3372, allocations: 1.525 MB / 401.4 MB, free: 23.43 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001186/0.3384, allocations: 168 kB / 401.6 MB, free: 23.27 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.3407, allocations: 415.5 kB / 402 MB, free: 22.86 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.00147/0.3422, allocations: 0.8057 MB / 402.8 MB, free: 22.05 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003079/0.3453, allocations: 1.459 MB / 404.3 MB, free: 20.58 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005205/0.3505, allocations: 4.73 MB / 409 MB, free: 15.83 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.72e-06/0.3506, allocations: 0 / 409 MB, free: 15.83 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.536e-06/0.3506, allocations: 0 / 409 MB, free: 15.83 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001778/0.3508, allocations: 0 / 409 MB, free: 15.83 MB / 298.7 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.006561/0.3573, allocations: 2.955 MB / 411.9 MB, free: 12.81 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/0.3574, allocations: 8.031 kB / 412 MB, free: 12.8 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001678/0.3591, allocations: 413 kB / 412.4 MB, free: 12.4 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003079/0.3622, allocations: 1.718 MB / 414.1 MB, free: 10.62 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001398/0.3623, allocations: 201.3 kB / 414.3 MB, free: 10.43 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004068/0.3628, allocations: 251.9 kB / 414.5 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005449/0.3682, allocations: 3.235 MB / 417.7 MB, free: 6.867 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.212e-05/0.3683, allocations: 7.906 kB / 417.8 MB, free: 6.859 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002163/0.3685, allocations: 104 kB / 417.9 MB, free: 6.758 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001301/0.3687, allocations: 116.9 kB / 418 MB, free: 6.641 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004332/0.373, allocations: 2.713 MB / 420.7 MB, free: 3.914 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01727/0.3903, allocations: 10.43 MB / 431.1 MB, free: 9.141 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002474/0.3929, allocations: 1.792 MB / 432.9 MB, free: 7.238 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001777/0.3947, allocations: 1.069 MB / 434 MB, free: 6.168 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003367/0.395, allocations: 207.2 kB / 434.2 MB, free: 5.926 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.283e-05/0.3951, allocations: 43.56 kB / 434.2 MB, free: 5.875 MB / 314.7 MB Notification: Performance of pre-optimization done (n=115): time 4.018e-06/0.3951, allocations: 0 / 434.2 MB, free: 5.875 MB / 314.7 MB Notification: Performance of matching and sorting (n=134): time 0.01896/0.4141, allocations: 7.756 MB / 442 MB, free: 13.99 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.637e-05/0.4142, allocations: 64.72 kB / 442 MB, free: 13.91 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/0.4174, allocations: 1.861 MB / 443.9 MB, free: 12.05 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002015/0.4176, allocations: 45.7 kB / 443.9 MB, free: 12 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.4187, allocations: 1.241 MB / 445.2 MB, free: 10.74 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005261/0.4192, allocations: 469.3 kB / 445.6 MB, free: 10.28 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.309e-05/0.4193, allocations: 28 kB / 445.7 MB, free: 10.25 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002084/0.4195, allocations: 373.9 kB / 446 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/0.421, allocations: 0.8276 MB / 446.9 MB, free: 9.051 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001933/0.423, allocations: 1.328 MB / 448.2 MB, free: 7.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003375/0.4264, allocations: 2.27 MB / 450.5 MB, free: 5.02 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.097e-05/0.4264, allocations: 4 kB / 450.5 MB, free: 5.016 MB / 330.7 MB Notification: Performance of matching and sorting (n=210) (initialization): time 0.005211/0.4316, allocations: 2.822 MB / 453.3 MB, free: 2.156 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.4317, allocations: 12 kB / 453.3 MB, free: 2.145 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.325e-05/0.4317, allocations: 16 kB / 453.3 MB, free: 2.129 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001078/0.4328, allocations: 422.4 kB / 453.7 MB, free: 1.707 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.4344, allocations: 411.3 kB / 454.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006895/0.4413, allocations: 5.288 MB / 459.4 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/0.4436, allocations: 143.9 kB / 459.6 MB, free: 11.61 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004189/0.4441, allocations: 68 kB / 459.6 MB, free: 11.54 MB / 346.7 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.002342/0.4464, allocations: 0.79 MB / 460.4 MB, free: 10.74 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009414/0.4474, allocations: 193.7 kB / 460.6 MB, free: 10.55 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005946/0.4534, allocations: 2.41 MB / 463 MB, free: 8.094 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.149e-05/0.4534, allocations: 20 kB / 463 MB, free: 8.074 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.778e-05/0.4535, allocations: 4 kB / 463 MB, free: 8.07 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.059e-05/0.4535, allocations: 7.969 kB / 463 MB, free: 8.062 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01565/0.4692, allocations: 5.305 MB / 468.4 MB, free: 2.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.48e-05/0.4692, allocations: 4 kB / 468.4 MB, free: 2.598 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001132/0.4703, allocations: 260.2 kB / 468.6 MB, free: 2.344 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001385/0.4718, allocations: 470.1 kB / 469.1 MB, free: 1.875 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001414/0.4719, allocations: 39.98 kB / 469.1 MB, free: 1.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007665/0.4796, allocations: 6.729 MB / 475.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-06/0.4796, allocations: 8 kB / 475.8 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006919/0.4866, allocations: 3.62 MB / 479.5 MB, free: 6.969 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001642/0.4882, allocations: 454.5 kB / 479.9 MB, free: 6.504 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008209/0.4891, allocations: 35.94 kB / 479.9 MB, free: 6.469 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001752/0.4909, allocations: 124 kB / 480.1 MB, free: 6.348 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003823/0.4913, allocations: 112.7 kB / 480.2 MB, free: 6.238 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001497/0.4914, allocations: 43.98 kB / 480.2 MB, free: 6.195 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.003074/0.4945, allocations: 1.279 MB / 481.5 MB, free: 4.926 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.4945, allocations: 0 / 481.5 MB, free: 4.926 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003032/0.4976, allocations: 0.543 MB / 482 MB, free: 4.383 MB / 362.7 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.0005974/0.4982, allocations: 219 kB / 482.3 MB, free: 4.156 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005154/0.5033, allocations: 2.436 MB / 484.7 MB, free: 1.676 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.548e-05/0.5034, allocations: 4 kB / 484.7 MB, free: 1.672 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003104/0.5065, allocations: 1.518 MB / 486.2 MB, free: 120 kB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004497/0.511, allocations: 430.3 kB / 486.6 MB, free: 15.7 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01407/0.5251, allocations: 6.38 MB / 493 MB, free: 9.223 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002261/0.5275, allocations: 2.01 MB / 495 MB, free: 7.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001787/0.5293, allocations: 431.7 kB / 495.4 MB, free: 6.754 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000431/0.5297, allocations: 123.4 kB / 495.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of SimCode: time 9.62e-07/0.5297, allocations: 0 / 495.6 MB, free: 6.633 MB / 378.7 MB Notification: Performance of Templates: time 0.2648/0.7945, allocations: 26.43 MB / 0.5098 GB, free: 96.85 MB / 378.7 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