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.SMR_Inverter.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.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001764/0.001764, allocations: 178.2 kB / 17.36 MB, free: 4.195 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.749/1.749, allocations: 205.6 MB / 223.7 MB, free: 8.953 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.0007661/0.0007662, allocations: 86.05 kB / 272.1 MB, free: 8.133 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002803/0.0002804, allocations: 8 kB / 329 MB, free: 15.07 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2748, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter): time 0.009135/0.284, allocations: 8.48 MB / 385.1 MB, free: 38.98 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.00813/0.2922, allocations: 3.395 MB / 388.5 MB, free: 36.03 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002239/0.2945, allocations: 41.34 kB / 388.5 MB, free: 36.02 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002157/0.2966, allocations: 0.5771 MB / 389.1 MB, free: 35.59 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003737/0.3004, allocations: 0.6923 MB / 389.8 MB, free: 35.02 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001393/0.3018, allocations: 359.5 kB / 390.2 MB, free: 34.71 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003842/0.3057, allocations: 2.887 MB / 393 MB, free: 31.94 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002192/0.3079, allocations: 1.91 MB / 395 MB, free: 29.97 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001745/0.3097, allocations: 0.9062 MB / 395.9 MB, free: 29.06 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001766/0.3114, allocations: 1.253 MB / 397.1 MB, free: 27.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003104/0.3118, allocations: 136 kB / 397.2 MB, free: 27.67 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000736/0.3125, allocations: 247.8 kB / 397.5 MB, free: 27.43 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0005416/0.3131, allocations: 0.6774 MB / 398.2 MB, free: 26.75 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001082/0.3142, allocations: 1.195 MB / 399.4 MB, free: 25.54 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002743/0.3169, allocations: 3.873 MB / 403.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3169, allocations: 0 / 403.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.474e-06/0.3169, allocations: 0 / 403.2 MB, free: 21.65 MB / 298.7 MB Notification: Performance of Transformations before backend: time 9.045e-05/0.317, allocations: 0 / 403.2 MB, free: 21.65 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: 553 * Number of variables: 553 Notification: Performance of Generate backend data structure: time 0.004655/0.3217, allocations: 2.472 MB / 405.7 MB, free: 19.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.3218, allocations: 8.031 kB / 405.7 MB, free: 19.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008143/0.3226, allocations: 293.7 kB / 406 MB, free: 18.82 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002262/0.3249, allocations: 1.429 MB / 407.4 MB, free: 17.33 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.325, allocations: 168.5 kB / 407.6 MB, free: 17.16 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003096/0.3253, allocations: 211.9 kB / 407.8 MB, free: 16.96 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004094/0.3294, allocations: 2.796 MB / 410.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.939e-05/0.3295, allocations: 0 / 410.6 MB, free: 14.07 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000167/0.3297, allocations: 84 kB / 410.7 MB, free: 13.99 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.598e-05/0.3298, allocations: 112.2 kB / 410.8 MB, free: 13.88 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003604/0.3334, allocations: 2.347 MB / 413.1 MB, free: 11.52 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01205/0.3455, allocations: 8.643 MB / 421.8 MB, free: 2.625 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/0.3475, allocations: 1.722 MB / 423.5 MB, free: 0.7852 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001492/0.349, allocations: 0.9845 MB / 424.5 MB, free: 15.8 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003468/0.3494, allocations: 199.2 kB / 424.7 MB, free: 15.56 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/0.3494, allocations: 51.48 kB / 424.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of pre-optimization done (n=101): time 3.346e-06/0.3495, allocations: 0 / 424.7 MB, free: 15.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=116): time 0.01532/0.3648, allocations: 6.207 MB / 430.9 MB, free: 9.152 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.807e-05/0.3649, allocations: 64.41 kB / 431 MB, free: 9.074 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002812/0.3677, allocations: 1.425 MB / 432.4 MB, free: 7.637 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001693/0.3679, allocations: 49.64 kB / 432.5 MB, free: 7.582 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001027/0.3689, allocations: 1.045 MB / 433.5 MB, free: 6.523 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004835/0.3694, allocations: 402.1 kB / 433.9 MB, free: 6.125 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.3695, allocations: 28 kB / 433.9 MB, free: 6.098 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.3698, allocations: 365.9 kB / 434.3 MB, free: 5.734 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001228/0.371, allocations: 0.6871 MB / 435 MB, free: 5.047 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001468/0.3725, allocations: 1.078 MB / 436.1 MB, free: 3.805 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.3754, allocations: 1.879 MB / 437.9 MB, free: 1.766 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/0.3755, allocations: 4 kB / 437.9 MB, free: 1.762 MB / 314.7 MB Notification: Performance of matching and sorting (n=178) (initialization): time 0.004606/0.3801, allocations: 2.41 MB / 440.3 MB, free: 15.31 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.377e-05/0.3802, allocations: 12 kB / 440.4 MB, free: 15.3 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.713e-05/0.3802, allocations: 12 kB / 440.4 MB, free: 15.29 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001128/0.3813, allocations: 419.3 kB / 440.8 MB, free: 14.86 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001171/0.3825, allocations: 335.5 kB / 441.1 MB, free: 14.54 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006941/0.3895, allocations: 6.47 MB / 447.6 MB, free: 7.664 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.391, allocations: 99.94 kB / 447.7 MB, free: 7.566 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001305/0.3912, allocations: 67.92 kB / 447.7 MB, free: 7.5 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (157): * Single equations (assignments): 153 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 3 * 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): 3 systems {(3,11,100.0%), (1,6,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001367/0.3925, allocations: 0.6896 MB / 448.4 MB, free: 6.801 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003549/0.3929, allocations: 162 kB / 448.6 MB, free: 6.641 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/0.3967, allocations: 2.134 MB / 450.7 MB, free: 4.457 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-05/0.3967, allocations: 12 kB / 450.7 MB, free: 4.445 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.766e-06/0.3967, allocations: 4 kB / 450.7 MB, free: 4.441 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.262e-05/0.3968, allocations: 7.922 kB / 450.7 MB, free: 4.434 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007807/0.4046, allocations: 4.585 MB / 455.3 MB, free: 15.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.241e-05/0.4046, allocations: 11.94 kB / 455.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009018/0.4055, allocations: 220.1 kB / 455.6 MB, free: 15.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.4067, allocations: 446.9 kB / 456 MB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.791e-05/0.4068, allocations: 32.08 kB / 456 MB, free: 15 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008618/0.4155, allocations: 7.924 MB / 464 MB, free: 6.547 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.999e-06/0.4155, allocations: 4 kB / 464 MB, free: 6.543 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006053/0.4216, allocations: 3.132 MB / 467.1 MB, free: 3.312 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001465/0.4231, allocations: 390.9 kB / 467.5 MB, free: 2.91 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007076/0.4238, allocations: 31.98 kB / 467.5 MB, free: 2.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/0.4253, allocations: 87.91 kB / 467.6 MB, free: 2.793 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003496/0.4257, allocations: 96.75 kB / 467.7 MB, free: 2.695 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.4258, allocations: 39.98 kB / 467.7 MB, free: 2.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.002481/0.4283, allocations: 0.973 MB / 468.7 MB, free: 1.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 2.8e-07/0.4283, allocations: 0 / 468.7 MB, free: 1.684 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002709/0.431, allocations: 464.1 kB / 469.1 MB, free: 1.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 7 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],vfController.x,loadInertia.phi) * 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 (103): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(3,11,100.0%), (1,6,100.0%), (1,1,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.0006052/0.4316, allocations: 206.9 kB / 469.3 MB, free: 1.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.004317/0.436, allocations: 2.219 MB / 471.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.151e-06/0.436, allocations: 0 / 471.6 MB, free: 14.74 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002561/0.4386, allocations: 1.462 MB / 473 MB, free: 13.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00335/0.4419, allocations: 394.7 kB / 473.4 MB, free: 12.85 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00877/0.4507, allocations: 5.57 MB / 479 MB, free: 7.203 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001879/0.4526, allocations: 1.796 MB / 480.8 MB, free: 5.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001247/0.4539, allocations: 365.6 kB / 481.1 MB, free: 5.008 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003682/0.4543, allocations: 115.4 kB / 481.3 MB, free: 4.895 MB / 362.7 MB Notification: Performance of SimCode: time 8.12e-07/0.4543, allocations: 0 / 481.3 MB, free: 4.895 MB / 362.7 MB Notification: Performance of Templates: time 0.2268/0.6811, allocations: 23.03 MB / 0.4925 GB, free: 107.6 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_Inverter/SMR_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches