Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.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.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|// aimc.i_0_s|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001336/0.001336, allocations: 196.2 kB / 17.43 MB, free: 4.273 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.33/1.33, allocations: 229.5 MB / 247.7 MB, free: 6.305 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007773/0.0007773, allocations: 103 kB / 299.9 MB, free: 5.363 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002244/0.0002244, allocations: 4 kB / 360.6 MB, free: 8.488 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2833/0.2835, allocations: 51.41 MB / 412.1 MB, free: 25.93 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer): time 0.008604/0.2922, allocations: 11.47 MB / 423.5 MB, free: 14.43 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007946/0.3001, allocations: 4.67 MB / 428.2 MB, free: 9.609 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002023/0.3022, allocations: 71.62 kB / 428.3 MB, free: 9.539 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002401/0.3046, allocations: 0.8391 MB / 429.1 MB, free: 8.695 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003281/0.3079, allocations: 1.088 MB / 430.2 MB, free: 7.602 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009492/0.3089, allocations: 467.6 kB / 430.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004058/0.313, allocations: 5.332 MB / 436 MB, free: 1.789 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003033/0.316, allocations: 3.029 MB / 439 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003699/0.3197, allocations: 1.626 MB / 440.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003834/0.3236, allocations: 2.155 MB / 442.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008928/0.3245, allocations: 244 kB / 443 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001721/0.3262, allocations: 347.8 kB / 443.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001412/0.3277, allocations: 1.137 MB / 444.5 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004533/0.3322, allocations: 2.081 MB / 446.6 MB, free: 7.082 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007658/0.3399, allocations: 6.953 MB / 453.5 MB, free: 108 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.247e-06/0.34, allocations: 0 / 453.5 MB, free: 108 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.34, allocations: 0 / 453.5 MB, free: 108 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002167/0.3402, allocations: 0 / 453.5 MB, free: 108 kB / 314.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.00857/0.3488, allocations: 3.966 MB / 457.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.3489, allocations: 8.031 kB / 457.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.3506, allocations: 0.5346 MB / 458 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004168/0.3548, allocations: 2.497 MB / 460.5 MB, free: 8.977 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002069/0.355, allocations: 271 kB / 460.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005694/0.3556, allocations: 355.9 kB / 461.2 MB, free: 8.363 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009157/0.3648, allocations: 5.009 MB / 466.2 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.827e-05/0.3649, allocations: 11.92 kB / 466.2 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003338/0.3652, allocations: 148 kB / 466.3 MB, free: 3.133 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001942/0.3654, allocations: 179.1 kB / 466.5 MB, free: 2.957 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006801/0.3722, allocations: 4.287 MB / 470.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02179/0.394, allocations: 14.99 MB / 485.8 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004015/0.3981, allocations: 4.187 MB / 490 MB, free: 10.85 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002836/0.401, allocations: 2.006 MB / 492 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000267/0.4012, allocations: 135.1 kB / 492.1 MB, free: 8.699 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.384e-05/0.4013, allocations: 52.56 kB / 492.2 MB, free: 8.637 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 3.767e-06/0.4013, allocations: 7.938 kB / 492.2 MB, free: 8.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01892/0.4202, allocations: 10.06 MB / 0.4904 GB, free: 14.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.532e-05/0.4203, allocations: 77.41 kB / 0.4905 GB, free: 14.37 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003561/0.4239, allocations: 2.482 MB / 0.4929 GB, free: 11.87 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000171/0.4241, allocations: 61.7 kB / 0.493 GB, free: 11.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001138/0.4252, allocations: 1.63 MB / 0.4946 GB, free: 10.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005951/0.4258, allocations: 0.7239 MB / 0.4953 GB, free: 9.418 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001329/0.426, allocations: 48 kB / 0.4953 GB, free: 9.371 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001889/0.4262, allocations: 398.6 kB / 0.4957 GB, free: 8.977 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001962/0.4281, allocations: 1.305 MB / 0.497 GB, free: 7.668 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002232/0.4304, allocations: 1.782 MB / 0.4987 GB, free: 5.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004477/0.4349, allocations: 3.215 MB / 0.5019 GB, free: 2.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.003e-05/0.4349, allocations: 4 kB / 0.5019 GB, free: 2.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.2004/0.6353, allocations: 4.072 MB / 0.5059 GB, free: 87.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.307e-05/0.6354, allocations: 8.531 kB / 0.5059 GB, free: 87.05 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.558e-05/0.6354, allocations: 17.03 kB / 0.5059 GB, free: 87.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002848/0.6383, allocations: 0.8804 MB / 0.5067 GB, free: 86.83 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002215/0.6405, allocations: 0.5251 MB / 0.5073 GB, free: 86.82 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009764/0.6503, allocations: 8.743 MB / 0.5158 GB, free: 80.8 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.6526, allocations: 122.1 kB / 0.5159 GB, free: 80.76 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001816/0.6528, allocations: 83.91 kB / 0.516 GB, free: 80.75 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.002073/0.6549, allocations: 1.224 MB / 0.5172 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005338/0.6554, allocations: 277.2 kB / 0.5175 GB, free: 80.13 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005325/0.6608, allocations: 3.727 MB / 0.5211 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.257e-05/0.6608, allocations: 22.53 kB / 0.5211 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.126e-05/0.6608, allocations: 11.38 kB / 0.5211 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.475e-05/0.6608, allocations: 9.562 kB / 0.5211 GB, free: 78.67 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/0.6717, allocations: 8.109 MB / 0.5291 GB, free: 72.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.998e-06/0.6717, allocations: 4 kB / 0.5291 GB, free: 72.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001527/0.6733, allocations: 383.8 kB / 0.5294 GB, free: 72.42 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002801/0.6761, allocations: 0.9361 MB / 0.5303 GB, free: 71.48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001609/0.6763, allocations: 51.98 kB / 0.5304 GB, free: 71.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00824/0.6845, allocations: 10.21 MB / 0.5404 GB, free: 60.78 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6845, allocations: 11.94 kB / 0.5404 GB, free: 60.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007108/0.6917, allocations: 5.522 MB / 0.5458 GB, free: 55.32 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001424/0.6931, allocations: 0.6442 MB / 0.5464 GB, free: 54.73 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003987/0.6935, allocations: 48 kB / 0.5464 GB, free: 54.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001259/0.6948, allocations: 127.8 kB / 0.5466 GB, free: 54.55 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003821/0.6952, allocations: 181.8 kB / 0.5467 GB, free: 54.38 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001178/0.6953, allocations: 59.98 kB / 0.5468 GB, free: 54.32 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002042/0.6974, allocations: 1.713 MB / 0.5485 GB, free: 52.6 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.6974, allocations: 0 / 0.5485 GB, free: 52.6 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002075/0.6995, allocations: 0.7994 MB / 0.5492 GB, free: 51.8 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 {(3,25,88.9%), (2,12,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.0004935/0.7, allocations: 237.6 kB / 0.5495 GB, free: 51.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004836/0.7048, allocations: 3.894 MB / 0.5533 GB, free: 47.6 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.26e-06/0.7048, allocations: 4 kB / 0.5533 GB, free: 47.6 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002965/0.7078, allocations: 2.496 MB / 0.5557 GB, free: 45.04 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003756/0.7116, allocations: 0.749 MB / 0.5564 GB, free: 44.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01004/0.7216, allocations: 9.515 MB / 0.5657 GB, free: 34.74 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001774/0.7234, allocations: 2.777 MB / 0.5685 GB, free: 31.93 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001969/0.7254, allocations: 0.6749 MB / 0.5691 GB, free: 31.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005381/0.726, allocations: 175.4 kB / 0.5693 GB, free: 31.08 MB / 378.7 MB Notification: Performance of SimCode: time 7.11e-07/0.726, allocations: 4 kB / 0.5693 GB, free: 31.08 MB / 378.7 MB Notification: Performance of Templates: time 0.06442/0.7904, allocations: 43.95 MB / 0.6122 GB, free: 3.566 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/Transformers/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches