Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz,tolerance=1e-06,outputFormat="mat",numberOfIntervals=20000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|cRun.v|cStart.v|loadInertia.phi|loadInertia.w",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00152/0.00152, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.368/1.368, allocations: 229.5 MB / 247.7 MB, free: 6.348 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007891/0.0007892, allocations: 95.69 kB / 299.8 MB, free: 5.383 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002208/0.0002208, allocations: 4 kB / 360.7 MB, free: 8.504 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.254/0.2542, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.01199/0.2663, allocations: 8.62 MB / 420.7 MB, free: 17.28 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007169/0.2735, allocations: 3.538 MB / 424.2 MB, free: 13.6 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001364/0.2749, allocations: 43.81 kB / 424.3 MB, free: 13.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001847/0.2768, allocations: 0.5594 MB / 424.8 MB, free: 12.99 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002533/0.2794, allocations: 0.6759 MB / 425.5 MB, free: 12.31 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001016/0.2804, allocations: 331.7 kB / 425.8 MB, free: 11.99 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.003311/0.2837, allocations: 2.729 MB / 428.5 MB, free: 9.246 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002431/0.2862, allocations: 1.418 MB / 430 MB, free: 7.781 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001684/0.2879, allocations: 0.8557 MB / 430.8 MB, free: 6.922 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001891/0.2898, allocations: 1.12 MB / 431.9 MB, free: 5.797 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004005/0.2902, allocations: 128 kB / 432.1 MB, free: 5.672 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000886/0.2911, allocations: 227.8 kB / 432.3 MB, free: 5.449 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0007325/0.2919, allocations: 0.5956 MB / 432.9 MB, free: 4.852 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001398/0.2933, allocations: 1.09 MB / 434 MB, free: 3.75 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003633/0.2969, allocations: 3.418 MB / 437.4 MB, free: 328 kB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.324e-06/0.297, allocations: 4 kB / 437.4 MB, free: 324 kB / 298.7 MB Notification: Performance of FrontEnd: time 2.615e-06/0.297, allocations: 0 / 437.4 MB, free: 324 kB / 298.7 MB Notification: Performance of Transformations before backend: time 8.507e-05/0.2971, allocations: 0 / 437.4 MB, free: 324 kB / 298.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.007006/0.3041, allocations: 2.194 MB / 439.6 MB, free: 14.07 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.118e-05/0.3042, allocations: 8.031 kB / 439.6 MB, free: 14.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001417/0.3056, allocations: 282 kB / 439.9 MB, free: 13.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/0.3095, allocations: 1.318 MB / 441.2 MB, free: 12.41 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002097/0.3097, allocations: 140.2 kB / 441.3 MB, free: 12.27 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006021/0.3104, allocations: 199.8 kB / 441.5 MB, free: 12.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008174/0.3186, allocations: 2.403 MB / 443.9 MB, free: 9.633 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.3188, allocations: 8 kB / 443.9 MB, free: 9.625 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005254/0.3193, allocations: 75.98 kB / 444 MB, free: 9.551 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001833/0.3195, allocations: 87.69 kB / 444.1 MB, free: 9.465 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006625/0.3262, allocations: 1.951 MB / 446 MB, free: 7.512 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01917/0.3454, allocations: 7.902 MB / 453.9 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001944/0.3474, allocations: 1.227 MB / 455.2 MB, free: 14.09 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001736/0.3492, allocations: 0.9519 MB / 456.1 MB, free: 13.14 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002558/0.3495, allocations: 122.1 kB / 456.2 MB, free: 13 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.994e-05/0.3495, allocations: 39.56 kB / 456.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of pre-optimization done (n=95): time 3.146e-06/0.3495, allocations: 0 / 456.3 MB, free: 12.95 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.0131/0.3626, allocations: 5.927 MB / 462.2 MB, free: 6.887 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/0.3627, allocations: 68.34 kB / 462.3 MB, free: 6.809 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002084/0.3648, allocations: 1.294 MB / 463.6 MB, free: 5.508 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.522e-05/0.3649, allocations: 45.7 kB / 463.6 MB, free: 5.457 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006946/0.3656, allocations: 0.9199 MB / 464.5 MB, free: 4.523 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003455/0.366, allocations: 386.4 kB / 464.9 MB, free: 4.141 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.787e-05/0.3661, allocations: 32 kB / 464.9 MB, free: 4.109 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001738/0.3663, allocations: 353.9 kB / 465.3 MB, free: 3.758 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001037/0.3673, allocations: 0.6364 MB / 465.9 MB, free: 3.121 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.3686, allocations: 1.004 MB / 466.9 MB, free: 1.965 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002445/0.3711, allocations: 1.72 MB / 468.6 MB, free: 100 kB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.05e-05/0.3711, allocations: 4 kB / 468.7 MB, free: 96 kB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003977/0.3751, allocations: 2.249 MB / 470.9 MB, free: 13.82 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.358e-05/0.3751, allocations: 8 kB / 470.9 MB, free: 13.81 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.09e-05/0.3752, allocations: 12 kB / 470.9 MB, free: 13.8 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.3764, allocations: 492 kB / 471.4 MB, free: 13.3 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.3774, allocations: 299.5 kB / 471.7 MB, free: 13.01 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006723/0.3842, allocations: 6.546 MB / 478.2 MB, free: 6.059 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001217/0.3854, allocations: 91.97 kB / 478.3 MB, free: 5.969 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/0.3856, allocations: 52 kB / 478.4 MB, free: 5.918 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (147): * Single equations (assignments): 142 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {(2,100.0%), (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 {(2,12,100.0%), (2,8,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001121/0.3867, allocations: 0.6014 MB / 479 MB, free: 5.309 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/0.3871, allocations: 150.2 kB / 479.1 MB, free: 5.16 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003382/0.3905, allocations: 1.964 MB / 481.1 MB, free: 3.168 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.3905, allocations: 15.98 kB / 481.1 MB, free: 3.152 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.282e-05/0.3905, allocations: 11.92 kB / 481.1 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.3905, allocations: 3.984 kB / 481.1 MB, free: 3.137 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006575/0.3971, allocations: 4.132 MB / 485.3 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-05/0.3971, allocations: 4 kB / 485.3 MB, free: 14.9 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000829/0.398, allocations: 188 kB / 485.4 MB, free: 14.72 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001427/0.3994, allocations: 0.5389 MB / 486 MB, free: 14.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.655e-05/0.3995, allocations: 31.92 kB / 486 MB, free: 14.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007845/0.4074, allocations: 8.042 MB / 494.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.588e-06/0.4074, allocations: 4 kB / 494.1 MB, free: 5.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004451/0.4119, allocations: 2.853 MB / 496.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007238/0.4126, allocations: 355.2 kB / 497.3 MB, free: 2.273 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002872/0.4129, allocations: 28 kB / 497.3 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008087/0.4137, allocations: 75.92 kB / 497.4 MB, free: 2.172 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002435/0.414, allocations: 92.84 kB / 497.5 MB, free: 2.082 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.169e-05/0.4141, allocations: 31.98 kB / 497.5 MB, free: 2.051 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001313/0.4154, allocations: 0.876 MB / 498.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of sort global known variables: time 3.21e-07/0.4154, allocations: 0 / 498.4 MB, free: 1.172 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001544/0.417, allocations: 444 kB / 498.8 MB, free: 0.7383 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 9 (aimc.inertiaRotor.w,aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],quadraticLoadTorque.phi,cRun.v,cStart.v) * Number of discrete variables: 2 (idealCloser.control,idealOpener.control) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 4 * 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): 4 systems {(2,12,100.0%), (1,1,100.0%), (2,8,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.0003696/0.4173, allocations: 195 kB / 499 MB, free: 0.5352 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003563/0.4209, allocations: 2.224 MB / 0.4895 GB, free: 14.23 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/0.4209, allocations: 4 kB / 0.4895 GB, free: 14.22 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002286/0.4232, allocations: 1.499 MB / 0.4909 GB, free: 12.65 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002551/0.4258, allocations: 408.9 kB / 0.4913 GB, free: 12.25 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008141/0.434, allocations: 5.127 MB / 0.4963 GB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001753/0.4357, allocations: 1.646 MB / 0.4979 GB, free: 5.398 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001137/0.4369, allocations: 320.8 kB / 0.4982 GB, free: 5.078 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003213/0.4372, allocations: 103.4 kB / 0.4983 GB, free: 4.977 MB / 378.7 MB Notification: Performance of SimCode: time 8.71e-07/0.4372, allocations: 0 / 0.4983 GB, free: 4.977 MB / 378.7 MB Notification: Performance of Templates: time 0.1814/0.6186, allocations: 22.53 MB / 0.5203 GB, free: 81.23 MB / 378.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Steinmetz/IMC_Steinmetz.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches