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_Steinmetz.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_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 179 kB / 17.36 MB, free: 4.32 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.911/1.911, allocations: 205.6 MB / 223.7 MB, free: 8.965 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.0007992/0.0007992, allocations: 91.86 kB / 272.1 MB, free: 8.148 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002973/0.0002972, allocations: 8 kB / 329 MB, free: 15.08 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3229/0.3232, allocations: 47.57 MB / 376.6 MB, free: 45.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz): time 0.01024/0.3335, allocations: 8.555 MB / 385.2 MB, free: 38.91 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007126/0.3407, allocations: 3.236 MB / 388.4 MB, free: 36.11 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001487/0.3422, allocations: 39.56 kB / 388.4 MB, free: 36.1 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00179/0.3441, allocations: 0.5418 MB / 389 MB, free: 35.7 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002435/0.3465, allocations: 0.6798 MB / 389.7 MB, free: 35.14 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008612/0.3474, allocations: 330.7 kB / 390 MB, free: 34.86 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00309/0.3505, allocations: 2.77 MB / 392.8 MB, free: 32.25 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001498/0.352, allocations: 1.394 MB / 394.1 MB, free: 30.81 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001502/0.3535, allocations: 0.8479 MB / 395 MB, free: 29.96 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001424/0.3549, allocations: 1.128 MB / 396.1 MB, free: 28.83 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000218/0.3552, allocations: 124 kB / 396.2 MB, free: 28.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005836/0.3558, allocations: 223.8 kB / 396.5 MB, free: 28.49 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000528/0.3563, allocations: 0.5917 MB / 397.1 MB, free: 27.89 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0008789/0.3572, allocations: 1.094 MB / 398.1 MB, free: 26.79 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00228/0.3595, allocations: 3.418 MB / 401.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.045e-05/0.3595, allocations: 0 / 401.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3595, allocations: 0 / 401.6 MB, free: 23.36 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.498e-05/0.3596, allocations: 4 kB / 401.6 MB, free: 23.36 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: 491 * Number of variables: 491 Notification: Performance of Generate backend data structure: time 0.003675/0.3633, allocations: 2.178 MB / 403.7 MB, free: 21.12 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.3633, allocations: 12.03 kB / 403.8 MB, free: 21.11 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005877/0.3639, allocations: 258.1 kB / 404 MB, free: 20.86 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001658/0.3656, allocations: 1.252 MB / 405.3 MB, free: 19.55 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.722e-05/0.3657, allocations: 144.1 kB / 405.4 MB, free: 19.41 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002375/0.3659, allocations: 204 kB / 405.6 MB, free: 19.21 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003495/0.3694, allocations: 2.407 MB / 408 MB, free: 16.76 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.925e-05/0.3695, allocations: 15.84 kB / 408 MB, free: 16.75 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.3696, allocations: 72 kB / 408.1 MB, free: 16.68 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-05/0.3697, allocations: 87.69 kB / 408.2 MB, free: 16.59 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002767/0.3725, allocations: 1.959 MB / 410.1 MB, free: 14.63 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0098/0.3823, allocations: 7.883 MB / 418 MB, free: 6.504 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001343/0.3837, allocations: 1.245 MB / 419.3 MB, free: 5.215 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001427/0.3851, allocations: 0.9527 MB / 420.2 MB, free: 4.262 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002433/0.3854, allocations: 122.1 kB / 420.3 MB, free: 4.125 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.322e-05/0.3854, allocations: 47.56 kB / 420.4 MB, free: 4.066 MB / 298.7 MB Notification: Performance of pre-optimization done (n=95): time 4.068e-06/0.3855, allocations: 0 / 420.4 MB, free: 4.066 MB / 298.7 MB Notification: Performance of matching and sorting (n=111): time 0.01137/0.3968, allocations: 5.913 MB / 426.3 MB, free: 14.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.3969, allocations: 64.41 kB / 426.4 MB, free: 13.94 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001881/0.3988, allocations: 1.298 MB / 427.7 MB, free: 12.64 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 7.914e-05/0.3989, allocations: 45.7 kB / 427.7 MB, free: 12.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006971/0.3996, allocations: 0.916 MB / 428.6 MB, free: 11.66 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003167/0.3999, allocations: 390.4 kB / 429 MB, free: 11.27 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.666e-05/0.4, allocations: 24 kB / 429 MB, free: 11.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001807/0.4002, allocations: 365.9 kB / 429.4 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009893/0.4012, allocations: 0.6364 MB / 430 MB, free: 10.25 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/0.4024, allocations: 0.9965 MB / 431 MB, free: 9.098 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002351/0.4048, allocations: 1.731 MB / 432.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.4048, allocations: 0 / 432.7 MB, free: 7.219 MB / 314.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003759/0.4086, allocations: 2.253 MB / 435 MB, free: 4.941 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.4086, allocations: 14.81 kB / 435 MB, free: 4.93 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.4087, allocations: 8 kB / 435 MB, free: 4.922 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.4099, allocations: 492.2 kB / 435.5 MB, free: 4.426 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001084/0.411, allocations: 311.5 kB / 435.8 MB, free: 4.121 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007028/0.418, allocations: 6.531 MB / 442.3 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001249/0.4193, allocations: 87.81 kB / 442.4 MB, free: 13.1 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001132/0.4194, allocations: 52 kB / 442.5 MB, free: 13.05 MB / 330.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.001254/0.4207, allocations: 0.612 MB / 443.1 MB, free: 12.43 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003059/0.421, allocations: 142.2 kB / 443.2 MB, free: 12.29 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003435/0.4244, allocations: 1.968 MB / 445.2 MB, free: 10.29 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.095e-05/0.4245, allocations: 12 kB / 445.2 MB, free: 10.28 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.4245, allocations: 4 kB / 445.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.4245, allocations: 3.984 kB / 445.2 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006957/0.4315, allocations: 4.132 MB / 449.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.097e-06/0.4315, allocations: 0 / 449.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008365/0.4323, allocations: 187.8 kB / 449.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00144/0.4338, allocations: 0.539 MB / 450.1 MB, free: 5.305 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.338e-05/0.4339, allocations: 31.98 kB / 450.1 MB, free: 5.273 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008424/0.4423, allocations: 8.038 MB / 458.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.29e-06/0.4424, allocations: 7.969 kB / 458.1 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004891/0.4473, allocations: 2.846 MB / 461 MB, free: 9.777 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008893/0.4482, allocations: 363.1 kB / 461.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000193/0.4484, allocations: 27.98 kB / 461.4 MB, free: 9.375 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007719/0.4492, allocations: 75.92 kB / 461.4 MB, free: 9.301 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002579/0.4494, allocations: 80.95 kB / 461.5 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.527e-05/0.4495, allocations: 35.98 kB / 461.6 MB, free: 9.188 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001502/0.451, allocations: 0.876 MB / 462.4 MB, free: 8.309 MB / 346.7 MB Notification: Performance of sort global known variables: time 3.61e-07/0.451, allocations: 4 kB / 462.4 MB, free: 8.305 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00154/0.4526, allocations: 436 kB / 462.9 MB, free: 7.879 MB / 346.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.0004016/0.453, allocations: 196.1 kB / 463.1 MB, free: 7.68 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003803/0.4568, allocations: 2.224 MB / 465.3 MB, free: 5.375 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.4568, allocations: 8.625 kB / 465.3 MB, free: 5.367 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002817/0.4597, allocations: 1.502 MB / 466.8 MB, free: 3.789 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003001/0.4627, allocations: 405.1 kB / 467.2 MB, free: 3.395 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008065/0.4708, allocations: 5.122 MB / 472.3 MB, free: 14.22 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001519/0.4723, allocations: 1.646 MB / 474 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001329/0.4737, allocations: 324.8 kB / 474.3 MB, free: 12.22 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000285/0.474, allocations: 95.42 kB / 474.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.513e-06/0.474, allocations: 0 / 474.4 MB, free: 12.12 MB / 362.7 MB Notification: Performance of Templates: time 0.04581/0.5198, allocations: 22.51 MB / 496.9 MB, free: 5.707 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz_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_Steinmetz/AIMC_Steinmetz.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches