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_Transformer.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_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,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|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001518/0.001518, allocations: 176 kB / 17.36 MB, free: 4.449 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.652/1.652, allocations: 205.6 MB / 223.7 MB, free: 8.934 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.001171/0.001171, allocations: 93.61 kB / 272.1 MB, free: 8.109 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004186/0.0004191, allocations: 8 kB / 329 MB, free: 15.04 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3064/0.3068, allocations: 47.58 MB / 376.6 MB, free: 45.57 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer): time 0.01222/0.3191, allocations: 11.38 MB / 388 MB, free: 36.7 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01048/0.3296, allocations: 4.373 MB / 392.4 MB, free: 32.63 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004271/0.334, allocations: 63.62 kB / 392.4 MB, free: 32.57 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003534/0.3376, allocations: 0.8401 MB / 393.3 MB, free: 31.72 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005131/0.3427, allocations: 1.08 MB / 394.3 MB, free: 30.64 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001879/0.3446, allocations: 475.6 kB / 394.8 MB, free: 30.17 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.005609/0.3503, allocations: 5.383 MB / 400.2 MB, free: 24.77 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003245/0.3535, allocations: 2.95 MB / 403.1 MB, free: 21.75 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003765/0.3573, allocations: 1.631 MB / 404.8 MB, free: 20.12 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002886/0.3602, allocations: 2.163 MB / 406.9 MB, free: 17.95 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004692/0.3607, allocations: 244 kB / 407.2 MB, free: 17.71 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009879/0.3617, allocations: 355.7 kB / 407.5 MB, free: 17.36 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008281/0.3625, allocations: 1.133 MB / 408.7 MB, free: 16.23 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001953/0.3645, allocations: 2.089 MB / 410.7 MB, free: 14.12 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004851/0.3693, allocations: 6.937 MB / 417.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.23e-06/0.3693, allocations: 0 / 417.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.3694, allocations: 0 / 417.7 MB, free: 7.16 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001981/0.3696, allocations: 0 / 417.7 MB, free: 7.16 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: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.007487/0.3771, allocations: 3.951 MB / 421.6 MB, free: 3.145 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.507e-05/0.3771, allocations: 12.03 kB / 421.6 MB, free: 3.133 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001387/0.3785, allocations: 0.4956 MB / 422.1 MB, free: 2.633 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004054/0.3826, allocations: 2.38 MB / 424.5 MB, free: 208 kB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002098/0.3828, allocations: 275 kB / 424.8 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006348/0.3835, allocations: 347.8 kB / 425.1 MB, free: 15.59 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0108/0.3943, allocations: 5.005 MB / 430.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.784e-05/0.3944, allocations: 7.984 kB / 430.1 MB, free: 10.52 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/0.3948, allocations: 147.9 kB / 430.3 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001961/0.395, allocations: 179.1 kB / 430.5 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008619/0.4036, allocations: 4.291 MB / 434.8 MB, free: 5.898 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03206/0.4357, allocations: 14.99 MB / 449.7 MB, free: 6.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005462/0.4413, allocations: 4.192 MB / 453.9 MB, free: 2.078 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00351/0.4448, allocations: 2.011 MB / 455.9 MB, free: 68 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003659/0.4452, allocations: 131.1 kB / 456.1 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.374e-05/0.4453, allocations: 64.5 kB / 456.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of pre-optimization done (n=198): time 3.677e-06/0.4453, allocations: 0 / 456.1 MB, free: 15.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=218): time 0.02263/0.4679, allocations: 10.11 MB / 466.2 MB, free: 5.629 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.308e-05/0.4681, allocations: 73.41 kB / 466.3 MB, free: 5.547 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005837/0.4739, allocations: 2.494 MB / 468.8 MB, free: 3.031 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002098/0.4741, allocations: 61.7 kB / 468.9 MB, free: 2.965 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001779/0.4759, allocations: 1.615 MB / 470.5 MB, free: 1.328 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008449/0.4768, allocations: 0.7354 MB / 471.2 MB, free: 0.582 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001595/0.477, allocations: 44 kB / 471.3 MB, free: 0.5391 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002508/0.4772, allocations: 402.5 kB / 471.7 MB, free: 144 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00233/0.4796, allocations: 1.305 MB / 473 MB, free: 14.83 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002713/0.4823, allocations: 1.779 MB / 474.7 MB, free: 12.86 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005027/0.4873, allocations: 3.227 MB / 478 MB, free: 9.457 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.568e-05/0.4874, allocations: 7.938 kB / 478 MB, free: 9.449 MB / 362.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.008005/0.4954, allocations: 4.071 MB / 482.1 MB, free: 5.352 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.731e-05/0.4954, allocations: 12 kB / 482.1 MB, free: 5.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.603e-05/0.4955, allocations: 19.98 kB / 482.1 MB, free: 5.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003046/0.4985, allocations: 0.8918 MB / 483 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002125/0.5007, allocations: 0.5305 MB / 483.5 MB, free: 3.887 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.5114, allocations: 8.717 MB / 492.2 MB, free: 10.77 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00245/0.5138, allocations: 127.9 kB / 492.3 MB, free: 10.64 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003159/0.5142, allocations: 87.98 kB / 492.4 MB, free: 10.55 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (252): * Single equations (assignments): 247 * 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 {(3,25,100.0%), (2,12,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.002961/0.5171, allocations: 1.208 MB / 493.6 MB, free: 9.336 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009705/0.5181, allocations: 284.7 kB / 493.9 MB, free: 9.055 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007472/0.5256, allocations: 3.726 MB / 497.6 MB, free: 5.293 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.934e-05/0.5256, allocations: 24 kB / 497.7 MB, free: 5.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.66e-05/0.5257, allocations: 11.94 kB / 497.7 MB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.202e-05/0.5257, allocations: 15.95 kB / 497.7 MB, free: 5.242 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3117/0.8374, allocations: 8.098 MB / 0.4939 GB, free: 106 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.815e-05/0.8375, allocations: 3.156 kB / 0.4939 GB, free: 106 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00197/0.8395, allocations: 388.4 kB / 0.4943 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003265/0.8428, allocations: 0.9227 MB / 0.4952 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002104/0.843, allocations: 54.91 kB / 0.4953 GB, free: 105.9 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01139/0.8544, allocations: 10.19 MB / 0.5052 GB, free: 98.65 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.455e-06/0.8544, allocations: 7.562 kB / 0.5052 GB, free: 98.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008403/0.8628, allocations: 5.525 MB / 0.5106 GB, free: 96.49 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/0.8646, allocations: 0.6325 MB / 0.5112 GB, free: 96.17 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004663/0.8651, allocations: 54.11 kB / 0.5113 GB, free: 96.13 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001442/0.8665, allocations: 128 kB / 0.5114 GB, free: 96.08 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005968/0.8671, allocations: 182.8 kB / 0.5116 GB, free: 95.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000152/0.8673, allocations: 62.27 kB / 0.5116 GB, free: 95.96 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00307/0.8704, allocations: 1.707 MB / 0.5133 GB, free: 94.49 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.206e-06/0.8704, allocations: 0 / 0.5133 GB, free: 94.49 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003296/0.8737, allocations: 0.8082 MB / 0.5141 GB, free: 93.69 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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],transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,quadraticLoadTorque.phi) * Number of discrete variables: 6 (idealCloser.control[1],idealCloser.control[2],idealCloser.control[3],booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (175): * Single equations (assignments): 170 * 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%), (3,25,88.9%), (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.0007609/0.8745, allocations: 244.7 kB / 0.5143 GB, free: 93.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005306/0.8798, allocations: 3.894 MB / 0.5181 GB, free: 89.53 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.265e-06/0.8798, allocations: 4 kB / 0.5181 GB, free: 89.53 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003137/0.883, allocations: 2.498 MB / 0.5206 GB, free: 86.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005114/0.8881, allocations: 0.7401 MB / 0.5213 GB, free: 86.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01446/0.9026, allocations: 9.504 MB / 0.5306 GB, free: 76.71 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002232/0.9049, allocations: 2.776 MB / 0.5333 GB, free: 73.91 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002684/0.9076, allocations: 0.6788 MB / 0.534 GB, free: 73.22 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005716/0.9082, allocations: 179.4 kB / 0.5341 GB, free: 73.05 MB / 378.7 MB Notification: Performance of SimCode: time 1.433e-06/0.9082, allocations: 0 / 0.5341 GB, free: 73.05 MB / 378.7 MB Notification: Performance of Templates: time 0.08796/0.9962, allocations: 43.89 MB / 0.577 GB, free: 29.24 MB / 378.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_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_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches