Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009246/0.0009246, allocations: 179 kB / 16.71 MB, free: 5.09 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.396/1.396, allocations: 225.7 MB / 243.2 MB, free: 8.504 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009106/0.0009102, allocations: 95.94 kB / 294.4 MB, free: 9.52 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002365/0.0002363, allocations: 4 kB / 354.2 MB, free: 13.65 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.221/0.2212, allocations: 50.42 MB / 404.6 MB, free: 31.34 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz): time 0.00662/0.2279, allocations: 8.591 MB / 413.2 MB, free: 22.71 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.004333/0.2323, allocations: 3.198 MB / 416.4 MB, free: 19.45 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000903/0.2332, allocations: 43.81 kB / 416.4 MB, free: 19.41 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001112/0.2343, allocations: 0.5477 MB / 417 MB, free: 18.86 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001376/0.2357, allocations: 0.672 MB / 417.6 MB, free: 18.18 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005389/0.2363, allocations: 323.7 kB / 418 MB, free: 17.87 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.001736/0.238, allocations: 2.733 MB / 420.7 MB, free: 15.12 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001222/0.2393, allocations: 1.414 MB / 422.1 MB, free: 13.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008713/0.2401, allocations: 0.8402 MB / 422.9 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009419/0.2411, allocations: 1.132 MB / 424.1 MB, free: 11.68 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001893/0.2413, allocations: 124 kB / 424.2 MB, free: 11.56 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004292/0.2417, allocations: 215.8 kB / 424.4 MB, free: 11.35 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004006/0.2421, allocations: 0.5878 MB / 425 MB, free: 10.76 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007245/0.2429, allocations: 1.094 MB / 426.1 MB, free: 9.652 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.2448, allocations: 3.414 MB / 429.5 MB, free: 6.227 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.2448, allocations: 3.938 kB / 429.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.344e-06/0.2448, allocations: 0 / 429.5 MB, free: 6.223 MB / 298.7 MB Notification: Performance of Transformations before backend: time 5.517e-05/0.2449, allocations: 4 kB / 429.5 MB, free: 6.219 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.003214/0.2481, allocations: 2.182 MB / 431.7 MB, free: 3.98 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.644e-05/0.2481, allocations: 16.03 kB / 431.7 MB, free: 3.965 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005035/0.2486, allocations: 258.1 kB / 432 MB, free: 3.711 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001613/0.2503, allocations: 1.318 MB / 433.3 MB, free: 2.336 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.4e-05/0.2503, allocations: 140.2 kB / 433.4 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002122/0.2506, allocations: 204 kB / 433.6 MB, free: 2 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003202/0.2538, allocations: 2.407 MB / 436 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.467e-05/0.2538, allocations: 4 kB / 436 MB, free: 15.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001562/0.254, allocations: 75.98 kB / 436.1 MB, free: 15.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.373e-05/0.2541, allocations: 87.69 kB / 436.2 MB, free: 15.39 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003096/0.2572, allocations: 1.962 MB / 438.1 MB, free: 13.43 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01048/0.2677, allocations: 7.894 MB / 446 MB, free: 5.289 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001546/0.2693, allocations: 1.219 MB / 447.3 MB, free: 4.023 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001534/0.2708, allocations: 0.9527 MB / 448.2 MB, free: 3.074 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002045/0.271, allocations: 122.1 kB / 448.3 MB, free: 2.938 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.448e-05/0.2711, allocations: 43.56 kB / 448.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of pre-optimization done (n=95): time 3.757e-06/0.2711, allocations: 0 / 448.4 MB, free: 2.883 MB / 314.7 MB Notification: Performance of matching and sorting (n=111): time 0.0114/0.2825, allocations: 5.925 MB / 454.3 MB, free: 12.82 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/0.2826, allocations: 64.39 kB / 454.4 MB, free: 12.75 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001692/0.2843, allocations: 1.294 MB / 455.7 MB, free: 11.44 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.015e-05/0.2844, allocations: 41.7 kB / 455.7 MB, free: 11.39 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005956/0.285, allocations: 0.916 MB / 456.6 MB, free: 10.46 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003088/0.2853, allocations: 390.4 kB / 457 MB, free: 10.08 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.918e-05/0.2854, allocations: 28 kB / 457 MB, free: 10.05 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.2855, allocations: 361.9 kB / 457.4 MB, free: 9.691 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009333/0.2864, allocations: 0.6364 MB / 458 MB, free: 9.055 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001121/0.2876, allocations: 0.9925 MB / 459 MB, free: 7.906 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002126/0.2897, allocations: 1.727 MB / 460.7 MB, free: 6.031 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.2897, allocations: 4 kB / 460.7 MB, free: 6.027 MB / 330.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003483/0.2932, allocations: 2.245 MB / 463 MB, free: 3.754 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.2933, allocations: 8 kB / 463 MB, free: 3.746 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.636e-05/0.2933, allocations: 12 kB / 463 MB, free: 3.734 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001138/0.2944, allocations: 496.2 kB / 463.5 MB, free: 3.234 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001032/0.2955, allocations: 303.5 kB / 463.8 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00635/0.3018, allocations: 6.542 MB / 470.3 MB, free: 11.99 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.303, allocations: 83.91 kB / 470.4 MB, free: 11.91 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.498e-05/0.3031, allocations: 56 kB / 470.5 MB, free: 11.86 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.0009791/0.3041, allocations: 0.6028 MB / 471.1 MB, free: 11.24 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002214/0.3043, allocations: 150.2 kB / 471.2 MB, free: 11.09 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003303/0.3076, allocations: 1.968 MB / 473.2 MB, free: 9.098 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.458e-05/0.3076, allocations: 12 kB / 473.2 MB, free: 9.086 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/0.3077, allocations: 4 kB / 473.2 MB, free: 9.082 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.229e-05/0.3077, allocations: 3.984 kB / 473.2 MB, free: 9.078 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006454/0.3141, allocations: 4.132 MB / 477.3 MB, free: 4.852 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.165e-06/0.3142, allocations: 7.984 kB / 477.3 MB, free: 4.844 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007855/0.315, allocations: 187.7 kB / 477.5 MB, free: 4.66 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001374/0.3163, allocations: 0.5311 MB / 478 MB, free: 4.113 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.851e-05/0.3164, allocations: 31.98 kB / 478.1 MB, free: 4.082 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007401/0.3238, allocations: 8.045 MB / 486.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/0.3239, allocations: 4.062 kB / 486.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004238/0.3281, allocations: 2.857 MB / 489 MB, free: 8.578 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/0.3288, allocations: 359.2 kB / 489.3 MB, free: 8.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001818/0.3289, allocations: 31.94 kB / 489.4 MB, free: 8.176 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007219/0.3297, allocations: 67.92 kB / 489.4 MB, free: 8.109 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002162/0.3299, allocations: 96.84 kB / 489.5 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.686e-05/0.33, allocations: 31.98 kB / 489.6 MB, free: 7.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001181/0.3312, allocations: 0.8799 MB / 490.4 MB, free: 7.102 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.3312, allocations: 0 / 490.4 MB, free: 7.102 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001381/0.3326, allocations: 436 kB / 490.9 MB, free: 6.676 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.0003597/0.3329, allocations: 187 kB / 491 MB, free: 6.48 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003367/0.3363, allocations: 2.224 MB / 493.3 MB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 3.837e-06/0.3363, allocations: 0.75 kB / 493.3 MB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.3386, allocations: 1.514 MB / 494.8 MB, free: 2.586 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.3408, allocations: 406.2 kB / 495.2 MB, free: 2.191 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007068/0.3478, allocations: 5.138 MB / 0.4886 GB, free: 13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001221/0.3491, allocations: 1.642 MB / 0.4902 GB, free: 11.32 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001094/0.3502, allocations: 324.8 kB / 0.4905 GB, free: 11 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002564/0.3505, allocations: 99.42 kB / 0.4906 GB, free: 10.9 MB / 378.7 MB Notification: Performance of SimCode: time 6.62e-07/0.3505, allocations: 0 / 0.4906 GB, free: 10.9 MB / 378.7 MB Notification: Performance of Templates: time 0.22/0.5705, allocations: 22.48 MB / 0.5126 GB, free: 90.18 MB / 378.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Steinmetz.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches