Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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_4.0.0_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009511/0.0009514, allocations: 89.17 kB / 16.65 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009696/0.0009697, allocations: 181.6 kB / 17.56 MB, free: 6.203 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 223.3 MB / 241.6 MB, free: 14.37 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002588/0.000259, allocations: 4 kB / 301.4 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1164, allocations: 50.42 MB / 351.8 MB, free: 3.457 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer): time 0.01267/0.1291, allocations: 12.14 MB / 364 MB, free: 7.258 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.007765/0.1369, allocations: 4.094 MB / 368.1 MB, free: 3.152 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.1385, allocations: 75.69 kB / 368.1 MB, free: 3.078 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001967/0.1405, allocations: 0.8469 MB / 369 MB, free: 2.227 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002865/0.1434, allocations: 1.08 MB / 370.1 MB, free: 1.141 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001001/0.1444, allocations: 459.6 kB / 370.5 MB, free: 0.6914 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.2237/0.3681, allocations: 5.303 MB / 375.8 MB, free: 10.58 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.005177/0.3733, allocations: 3.027 MB / 378.9 MB, free: 9.918 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006347/0.3797, allocations: 1.583 MB / 380.4 MB, free: 9.637 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006069/0.3858, allocations: 2.176 MB / 382.6 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 0.001287/0.3871, allocations: 240.6 kB / 382.8 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002336/0.3895, allocations: 343.1 kB / 383.2 MB, free: 9.223 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 0.001676/0.3912, allocations: 1.143 MB / 384.3 MB, free: 9.062 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.004894/0.3961, allocations: 2.078 MB / 386.4 MB, free: 8.285 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007683/0.4038, allocations: 6.932 MB / 393.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.601e-06/0.4038, allocations: 1.562 kB / 393.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.234e-06/0.4038, allocations: 0 / 393.3 MB, free: 4.543 MB / 302.1 MB Notification: Performance of Transformations before backend: time 0.0002616/0.4041, allocations: 4 kB / 393.3 MB, free: 4.539 MB / 302.1 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.009634/0.4137, allocations: 3.965 MB / 397.3 MB, free: 1.957 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.4138, allocations: 10.81 kB / 397.3 MB, free: 1.957 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002187/0.416, allocations: 0.4938 MB / 397.8 MB, free: 1.719 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004166/0.4202, allocations: 2.498 MB / 400.3 MB, free: 40 kB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002335/0.4204, allocations: 264.9 kB / 400.6 MB, free: 15.79 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008347/0.4213, allocations: 359.4 kB / 400.9 MB, free: 15.44 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01035/0.4316, allocations: 5.038 MB / 406 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.765e-05/0.4317, allocations: 11.84 kB / 406 MB, free: 10.33 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003895/0.4321, allocations: 147 kB / 406.1 MB, free: 10.19 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000196/0.4323, allocations: 183 kB / 406.3 MB, free: 10.01 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008174/0.4405, allocations: 4.322 MB / 410.6 MB, free: 5.684 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02732/0.4679, allocations: 14.99 MB / 425.6 MB, free: 6.496 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004931/0.4729, allocations: 4.2 MB / 429.8 MB, free: 1.996 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003469/0.4764, allocations: 2.014 MB / 431.8 MB, free: 15.98 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002951/0.4767, allocations: 133.6 kB / 431.9 MB, free: 15.84 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.244e-05/0.4768, allocations: 60.56 kB / 432 MB, free: 15.77 MB / 350.1 MB Notification: Performance of pre-optimization done (n=198): time 3.667e-06/0.4768, allocations: 7.938 kB / 432 MB, free: 15.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=218): time 0.02114/0.4979, allocations: 10.06 MB / 442.1 MB, free: 5.602 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.498e-05/0.498, allocations: 73.41 kB / 442.1 MB, free: 5.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004298/0.5023, allocations: 2.506 MB / 444.6 MB, free: 2.992 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003951/0.5027, allocations: 61.7 kB / 444.7 MB, free: 2.926 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001352/0.5041, allocations: 1.619 MB / 446.3 MB, free: 1.293 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009496/0.5051, allocations: 0.7328 MB / 447.1 MB, free: 0.5664 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002913/0.5054, allocations: 190.3 kB / 447.2 MB, free: 384 kB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001025/0.5055, allocations: 305.1 kB / 447.5 MB, free: 76 kB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00217/0.5076, allocations: 1.316 MB / 448.9 MB, free: 14.75 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002407/0.5101, allocations: 1.786 MB / 450.6 MB, free: 12.78 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004919/0.515, allocations: 3.235 MB / 453.9 MB, free: 9.367 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.518e-06/0.515, allocations: 4 kB / 453.9 MB, free: 9.363 MB / 366.1 MB Notification: Performance of matching and sorting (n=295) (initialization): time 0.007672/0.5227, allocations: 4.094 MB / 458 MB, free: 5.242 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.118e-05/0.5228, allocations: 12 kB / 458 MB, free: 5.23 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/0.5228, allocations: 12 kB / 458 MB, free: 5.219 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003084/0.5259, allocations: 0.8942 MB / 458.9 MB, free: 4.316 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002316/0.5282, allocations: 0.5305 MB / 459.4 MB, free: 3.785 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01073/0.539, allocations: 8.754 MB / 468.2 MB, free: 10.63 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0026/0.5416, allocations: 127.8 kB / 468.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002971/0.5419, allocations: 84 kB / 468.4 MB, free: 10.43 MB / 382.1 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 (booleanStep2[3].y,booleanStep2[2].y,booleanStep2[1].y,idealCloser.control[3],idealCloser.control[2],idealCloser.control[1]) * 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,77.8%), (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.002846/0.5447, allocations: 1.214 MB / 469.6 MB, free: 9.203 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008137/0.5456, allocations: 280.7 kB / 469.9 MB, free: 8.926 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00717/0.5527, allocations: 3.742 MB / 473.6 MB, free: 5.148 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.736e-05/0.5528, allocations: 20 kB / 473.6 MB, free: 5.129 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.312e-05/0.5528, allocations: 8 kB / 473.6 MB, free: 5.121 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.148e-05/0.5528, allocations: 8.062 kB / 473.7 MB, free: 5.113 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01503/0.5679, allocations: 8.116 MB / 481.8 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.5679, allocations: 3.938 kB / 481.8 MB, free: 12.93 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001756/0.5697, allocations: 391.8 kB / 482.2 MB, free: 12.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003325/0.5731, allocations: 0.9315 MB / 483.1 MB, free: 11.6 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002527/0.5733, allocations: 51.98 kB / 483.1 MB, free: 11.55 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.012/0.5853, allocations: 10.23 MB / 493.4 MB, free: 0.7891 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.142e-06/0.5854, allocations: 4 kB / 493.4 MB, free: 0.7852 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009919/0.5953, allocations: 5.539 MB / 498.9 MB, free: 11.18 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001902/0.5972, allocations: 0.6343 MB / 499.5 MB, free: 10.53 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005291/0.5978, allocations: 48 kB / 499.6 MB, free: 10.48 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001476/0.5993, allocations: 131.9 kB / 499.7 MB, free: 10.35 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004906/0.5998, allocations: 177.7 kB / 499.9 MB, free: 10.18 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/0.5999, allocations: 59.98 kB / 500 MB, free: 10.12 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.003111/0.603, allocations: 1.735 MB / 0.4899 GB, free: 8.371 MB / 414.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.603, allocations: 0 / 0.4899 GB, free: 8.371 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0038/0.6069, allocations: 0.8085 MB / 0.4907 GB, free: 7.562 MB / 414.1 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.0008295/0.6077, allocations: 237.2 kB / 0.4909 GB, free: 7.332 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.007017/0.6147, allocations: 3.904 MB / 0.4948 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.6148, allocations: 0 / 0.4948 GB, free: 3.348 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.004265/0.619, allocations: 2.502 MB / 0.4972 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005094/0.6242, allocations: 0.7444 MB / 0.4979 GB, free: 32 kB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01666/0.6408, allocations: 9.53 MB / 0.5072 GB, free: 6.457 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003226/0.6441, allocations: 2.765 MB / 0.5099 GB, free: 3.664 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.002662/0.6468, allocations: 0.6827 MB / 0.5106 GB, free: 2.977 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000616/0.6474, allocations: 179.4 kB / 0.5108 GB, free: 2.801 MB / 430.1 MB Notification: Performance of SimCode: time 1.393e-06/0.6474, allocations: 0 / 0.5108 GB, free: 2.801 MB / 430.1 MB Notification: Performance of Templates: time 0.3118/0.9592, allocations: 43.87 MB / 0.5536 GB, free: 139.2 MB / 446.1 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches