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.AsynchronousInductionMachines.AIMC_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.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|vfController.x",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.001539/0.001539, allocations: 177.9 kB / 17.36 MB, free: 4.191 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.747/1.747, allocations: 205.6 MB / 223.7 MB, free: 8.938 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.0008254/0.0008254, allocations: 90.31 kB / 272.1 MB, free: 8.117 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003029, allocations: 8 kB / 329 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3822/0.3825, allocations: 47.58 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter): time 0.0103/0.3929, allocations: 7.787 MB / 384.4 MB, free: 39.5 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007191/0.4001, allocations: 3.053 MB / 387.4 MB, free: 36.87 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001602/0.4018, allocations: 36.25 kB / 387.5 MB, free: 36.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001832/0.4036, allocations: 0.5332 MB / 388 MB, free: 36.47 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002656/0.4063, allocations: 0.6338 MB / 388.6 MB, free: 35.95 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007562/0.407, allocations: 298.4 kB / 388.9 MB, free: 35.69 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.002823/0.4099, allocations: 2.587 MB / 391.5 MB, free: 33.45 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001499/0.4114, allocations: 1.394 MB / 392.9 MB, free: 32.01 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001691/0.4131, allocations: 0.7896 MB / 393.7 MB, free: 31.21 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001291/0.4144, allocations: 1.105 MB / 394.8 MB, free: 30.11 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001859/0.4146, allocations: 116 kB / 394.9 MB, free: 29.99 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.4151, allocations: 215.8 kB / 395.1 MB, free: 29.78 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004441/0.4156, allocations: 0.5762 MB / 395.7 MB, free: 29.2 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000855/0.4164, allocations: 1.035 MB / 396.7 MB, free: 28.16 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002251/0.4187, allocations: 3.305 MB / 400.1 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/0.4187, allocations: 0 / 400.1 MB, free: 24.84 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.735e-06/0.4187, allocations: 0 / 400.1 MB, free: 24.84 MB / 298.7 MB Notification: Performance of Transformations before backend: time 6.782e-05/0.4188, allocations: 0 / 400.1 MB, free: 24.84 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: 468 * Number of variables: 468 Notification: Performance of Generate backend data structure: time 0.004043/0.4229, allocations: 2.115 MB / 402.2 MB, free: 22.67 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.158e-05/0.4229, allocations: 16.03 kB / 402.2 MB, free: 22.65 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005886/0.4235, allocations: 250.2 kB / 402.4 MB, free: 22.41 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/0.4252, allocations: 1.22 MB / 403.6 MB, free: 21.14 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.195e-05/0.4253, allocations: 135.9 kB / 403.8 MB, free: 21.01 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002234/0.4255, allocations: 188.1 kB / 404 MB, free: 20.82 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003465/0.429, allocations: 2.355 MB / 406.3 MB, free: 18.43 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.324e-05/0.4291, allocations: 15.84 kB / 406.3 MB, free: 18.42 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001543/0.4293, allocations: 79.98 kB / 406.4 MB, free: 18.34 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.904e-05/0.4294, allocations: 91.5 kB / 406.5 MB, free: 18.25 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002973/0.4323, allocations: 1.966 MB / 408.5 MB, free: 16.28 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009358/0.4417, allocations: 7.171 MB / 415.6 MB, free: 8.918 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4432, allocations: 1.276 MB / 416.9 MB, free: 7.582 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001275/0.4445, allocations: 0.8775 MB / 417.8 MB, free: 6.699 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002138/0.4448, allocations: 126.1 kB / 417.9 MB, free: 6.559 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.599e-05/0.4448, allocations: 43.56 kB / 418 MB, free: 6.504 MB / 298.7 MB Notification: Performance of pre-optimization done (n=87): time 3.496e-06/0.4448, allocations: 3.938 kB / 418 MB, free: 6.5 MB / 298.7 MB Notification: Performance of matching and sorting (n=104): time 0.01123/0.456, allocations: 6 MB / 424 MB, free: 376 kB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.41e-05/0.4561, allocations: 60.41 kB / 424 MB, free: 304 kB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001796/0.4579, allocations: 1.199 MB / 425.2 MB, free: 15.09 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.659e-05/0.458, allocations: 45.7 kB / 425.3 MB, free: 15.04 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00067/0.4587, allocations: 0.8651 MB / 426.1 MB, free: 14.16 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003392/0.4591, allocations: 366.7 kB / 426.5 MB, free: 13.79 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.291e-05/0.4591, allocations: 24 kB / 426.5 MB, free: 13.77 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.4593, allocations: 361.9 kB / 426.9 MB, free: 13.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.4604, allocations: 0.6154 MB / 427.5 MB, free: 12.79 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.4617, allocations: 0.9353 MB / 428.4 MB, free: 11.73 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002433/0.4641, allocations: 1.647 MB / 430.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.659e-06/0.4641, allocations: 0 / 430.1 MB, free: 9.953 MB / 314.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004082/0.4682, allocations: 2.231 MB / 432.3 MB, free: 7.68 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.4683, allocations: 8 kB / 432.3 MB, free: 7.672 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.917e-05/0.4683, allocations: 8 kB / 432.3 MB, free: 7.664 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.4695, allocations: 472.1 kB / 432.8 MB, free: 7.188 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009719/0.4704, allocations: 271.6 kB / 433 MB, free: 6.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006736/0.4772, allocations: 6.437 MB / 439.5 MB, free: 88 kB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.4785, allocations: 87.86 kB / 439.6 MB, free: 0 / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001265/0.4786, allocations: 55.97 kB / 439.6 MB, free: 15.95 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * 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 (132): * Single equations (assignments): 127 * 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%), (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.001231/0.4799, allocations: 0.5986 MB / 440.2 MB, free: 15.34 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.4802, allocations: 138.3 kB / 440.3 MB, free: 15.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003515/0.4837, allocations: 2.028 MB / 442.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.052e-05/0.4837, allocations: 19.94 kB / 442.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.4837, allocations: 4 kB / 442.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.4838, allocations: 3.984 kB / 442.4 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007341/0.4911, allocations: 4.241 MB / 446.6 MB, free: 8.715 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.4911, allocations: 4 kB / 446.6 MB, free: 8.711 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007466/0.4919, allocations: 187.7 kB / 446.8 MB, free: 8.527 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.4932, allocations: 0.5157 MB / 447.3 MB, free: 7.996 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-05/0.4933, allocations: 31.98 kB / 447.4 MB, free: 7.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008358/0.5017, allocations: 7.904 MB / 455.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.122e-06/0.5018, allocations: 4 kB / 455.3 MB, free: 15.52 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005331/0.5071, allocations: 2.978 MB / 458.3 MB, free: 12.44 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001026/0.5082, allocations: 347.3 kB / 458.6 MB, free: 12.08 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000186/0.5083, allocations: 31.98 kB / 458.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007712/0.5091, allocations: 79.92 kB / 458.7 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003209/0.5095, allocations: 88.75 kB / 458.8 MB, free: 11.89 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.498e-05/0.5095, allocations: 39.98 kB / 458.8 MB, free: 11.85 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001448/0.511, allocations: 0.8265 MB / 459.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.957e-06/0.511, allocations: 0 / 459.7 MB, free: 11.02 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001844/0.5129, allocations: 407.9 kB / 460.1 MB, free: 10.62 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 18 * Number of states: 7 (aimc.inertiaRotor.w,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[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 (89): * Single equations (assignments): 84 * 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,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.0004317/0.5133, allocations: 196.8 kB / 460.3 MB, free: 10.42 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003873/0.5172, allocations: 2.154 MB / 462.4 MB, free: 8.184 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.5172, allocations: 4.062 kB / 462.4 MB, free: 8.18 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002416/0.5196, allocations: 1.487 MB / 463.9 MB, free: 6.617 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002615/0.5223, allocations: 372.7 kB / 464.3 MB, free: 6.25 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008187/0.5305, allocations: 4.889 MB / 469.2 MB, free: 1.277 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001625/0.5321, allocations: 1.638 MB / 470.8 MB, free: 15.6 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001146/0.5333, allocations: 291.7 kB / 471.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002764/0.5336, allocations: 91.42 kB / 471.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of SimCode: time 9.42e-07/0.5336, allocations: 4 kB / 471.2 MB, free: 15.22 MB / 362.7 MB Notification: Performance of Templates: time 0.04049/0.5741, allocations: 21.1 MB / 492.3 MB, free: 10.22 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Inverter/AIMC_Inverter.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Inverter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches