Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.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.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001844/0.001844, allocations: 197.6 kB / 17.43 MB, free: 4.375 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.463/1.463, allocations: 229.5 MB / 247.7 MB, free: 6.324 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008668/0.0008667, allocations: 89.28 kB / 299.8 MB, free: 5.348 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002315/0.0002315, allocations: 15.98 kB / 360.7 MB, free: 8.469 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2231/0.2233, allocations: 51.42 MB / 412.1 MB, free: 25.9 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.008884/0.2322, allocations: 11.44 MB / 423.5 MB, free: 14.42 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.007157/0.2394, allocations: 4.668 MB / 428.2 MB, free: 9.602 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001585/0.241, allocations: 67.69 kB / 428.2 MB, free: 9.535 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001727/0.2428, allocations: 0.8469 MB / 429.1 MB, free: 8.684 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00243/0.2452, allocations: 1.08 MB / 430.2 MB, free: 7.598 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008682/0.2461, allocations: 463.6 kB / 430.6 MB, free: 7.145 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.004259/0.2504, allocations: 5.343 MB / 436 MB, free: 1.777 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003049/0.2534, allocations: 3.021 MB / 439 MB, free: 14.69 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003475/0.2569, allocations: 1.621 MB / 440.6 MB, free: 13.06 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003097/0.26, allocations: 2.155 MB / 442.8 MB, free: 10.9 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0006024/0.2607, allocations: 244 kB / 443 MB, free: 10.66 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001094/0.2618, allocations: 351.8 kB / 443.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001064/0.2628, allocations: 1.133 MB / 444.5 MB, free: 9.18 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002414/0.2653, allocations: 2.077 MB / 446.6 MB, free: 7.086 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00601/0.2713, allocations: 6.945 MB / 453.5 MB, free: 120 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.2713, allocations: 0 / 453.5 MB, free: 120 kB / 314.7 MB Notification: Performance of FrontEnd: time 1.353e-06/0.2713, allocations: 3.938 kB / 453.5 MB, free: 116 kB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001672/0.2715, allocations: 0 / 453.5 MB, free: 116 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.007623/0.2791, allocations: 3.97 MB / 457.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.484e-05/0.2792, allocations: 8.031 kB / 457.5 MB, free: 12.07 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002036/0.2812, allocations: 0.5385 MB / 458 MB, free: 11.52 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004486/0.2857, allocations: 2.501 MB / 460.5 MB, free: 8.973 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001854/0.2859, allocations: 267 kB / 460.8 MB, free: 8.711 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000557/0.2865, allocations: 359.8 kB / 461.1 MB, free: 8.359 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008785/0.2953, allocations: 5.005 MB / 466.1 MB, free: 3.289 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.397e-05/0.2954, allocations: 11.94 kB / 466.2 MB, free: 3.277 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003245/0.2957, allocations: 144 kB / 466.3 MB, free: 3.137 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001933/0.2959, allocations: 191 kB / 466.5 MB, free: 2.949 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007302/0.3032, allocations: 4.287 MB / 470.8 MB, free: 14.66 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02319/0.3265, allocations: 14.99 MB / 485.8 MB, free: 15.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004194/0.3307, allocations: 4.191 MB / 490 MB, free: 10.84 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002864/0.3336, allocations: 1.995 MB / 491.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002547/0.3338, allocations: 139.1 kB / 492.1 MB, free: 8.695 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.272e-05/0.3339, allocations: 56.56 kB / 492.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of pre-optimization done (n=198): time 3.276e-06/0.3339, allocations: 0 / 492.1 MB, free: 8.629 MB / 362.7 MB Notification: Performance of matching and sorting (n=218): time 0.01963/0.3535, allocations: 10.06 MB / 0.4904 GB, free: 14.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.3536, allocations: 73.41 kB / 0.4905 GB, free: 14.38 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004832/0.3585, allocations: 2.49 MB / 0.4929 GB, free: 11.86 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.3587, allocations: 61.7 kB / 0.493 GB, free: 11.8 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001283/0.36, allocations: 1.623 MB / 0.4946 GB, free: 10.15 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006221/0.3606, allocations: 0.7278 MB / 0.4953 GB, free: 9.414 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001464/0.3608, allocations: 48 kB / 0.4953 GB, free: 9.367 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001909/0.361, allocations: 398.6 kB / 0.4957 GB, free: 8.973 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001963/0.3629, allocations: 1.305 MB / 0.497 GB, free: 7.664 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002274/0.3652, allocations: 1.778 MB / 0.4987 GB, free: 5.695 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004822/0.3701, allocations: 3.215 MB / 0.5019 GB, free: 2.301 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.77e-05/0.3701, allocations: 4 kB / 0.5019 GB, free: 2.297 MB / 378.7 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.2235/0.5936, allocations: 4.071 MB / 0.5058 GB, free: 86.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.5937, allocations: 14.41 kB / 0.5058 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.407e-05/0.5937, allocations: 11.81 kB / 0.5059 GB, free: 86.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003147/0.5969, allocations: 0.8806 MB / 0.5067 GB, free: 86.78 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002719/0.5996, allocations: 0.5313 MB / 0.5072 GB, free: 86.76 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009501/0.6092, allocations: 8.736 MB / 0.5158 GB, free: 80.74 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.6118, allocations: 122.7 kB / 0.5159 GB, free: 80.7 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004705/0.6123, allocations: 85.33 kB / 0.516 GB, free: 80.69 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.00276/0.6151, allocations: 1.225 MB / 0.5172 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008381/0.6159, allocations: 271.4 kB / 0.5174 GB, free: 80.07 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006129/0.622, allocations: 3.727 MB / 0.5211 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.522e-05/0.6221, allocations: 24.12 kB / 0.5211 GB, free: 78.6 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.091e-05/0.6221, allocations: 11.69 kB / 0.5211 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.975e-05/0.6221, allocations: 19.2 kB / 0.5211 GB, free: 78.59 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01227/0.6344, allocations: 8.108 MB / 0.529 GB, free: 72.74 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.087e-06/0.6344, allocations: 4 kB / 0.529 GB, free: 72.74 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00151/0.636, allocations: 384.2 kB / 0.5294 GB, free: 72.36 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002931/0.6389, allocations: 0.9321 MB / 0.5303 GB, free: 71.43 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/0.6391, allocations: 55.98 kB / 0.5304 GB, free: 71.37 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008907/0.648, allocations: 10.22 MB / 0.5403 GB, free: 60.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/0.6481, allocations: 4 kB / 0.5403 GB, free: 60.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007937/0.656, allocations: 5.526 MB / 0.5457 GB, free: 55.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002137/0.6582, allocations: 0.6466 MB / 0.5464 GB, free: 54.68 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008535/0.6591, allocations: 44 kB / 0.5464 GB, free: 54.64 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001834/0.6609, allocations: 131.8 kB / 0.5465 GB, free: 54.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004859/0.6614, allocations: 181.8 kB / 0.5467 GB, free: 54.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001676/0.6616, allocations: 63.98 kB / 0.5468 GB, free: 54.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00298/0.6646, allocations: 1.711 MB / 0.5484 GB, free: 52.55 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.2e-07/0.6646, allocations: 0 / 0.5484 GB, free: 52.55 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003041/0.6677, allocations: 0.7957 MB / 0.5492 GB, free: 51.75 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.00064/0.6683, allocations: 245.4 kB / 0.5495 GB, free: 51.52 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00563/0.674, allocations: 3.891 MB / 0.5533 GB, free: 47.55 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.496e-06/0.674, allocations: 0 / 0.5533 GB, free: 47.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003848/0.6779, allocations: 2.501 MB / 0.5557 GB, free: 44.98 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005596/0.6835, allocations: 0.7407 MB / 0.5564 GB, free: 44.24 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01355/0.6971, allocations: 9.503 MB / 0.5657 GB, free: 34.69 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002787/0.6999, allocations: 2.781 MB / 0.5684 GB, free: 31.88 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002188/0.7021, allocations: 0.6788 MB / 0.5691 GB, free: 31.2 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005321/0.7026, allocations: 179.4 kB / 0.5693 GB, free: 31.02 MB / 378.7 MB Notification: Performance of SimCode: time 1.152e-06/0.7027, allocations: 3.062 kB / 0.5693 GB, free: 31.02 MB / 378.7 MB Notification: Performance of Templates: time 0.0659/0.7686, allocations: 43.96 MB / 0.6122 GB, free: 3.512 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches