Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/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_cpp_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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001091/0.001091, allocations: 195.7 kB / 18.07 MB, free: 3.762 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.244/1.244, allocations: 226.5 MB / 245.4 MB, free: 8.223 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008302/0.0008307, allocations: 100.2 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002515/0.0002515, allocations: 8 kB / 357.4 MB, free: 10.94 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2347/0.2349, allocations: 51.29 MB / 408.7 MB, free: 27.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3041/0.539, allocations: 113 MB / 0.5094 GB, free: 98.21 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002403/0.5393, allocations: 93.69 kB / 0.5095 GB, free: 98.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1978/0.7371, allocations: 93.65 MB / 0.601 GB, free: 10.22 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.624e-06/0.7372, allocations: 0 / 0.601 GB, free: 10.22 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002768/0.7375, allocations: 95.88 kB / 0.6011 GB, free: 10.13 MB / 378.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.008281/0.7458, allocations: 3.947 MB / 0.6049 GB, free: 6.109 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.508e-05/0.7458, allocations: 12.03 kB / 0.6049 GB, free: 6.098 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00195/0.7478, allocations: 0.5385 MB / 0.6055 GB, free: 5.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004675/0.7524, allocations: 2.641 MB / 0.608 GB, free: 2.863 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001876/0.7527, allocations: 263.4 kB / 0.6083 GB, free: 2.605 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007618/0.7534, allocations: 352.3 kB / 0.6086 GB, free: 2.262 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008977/0.7624, allocations: 4.956 MB / 0.6135 GB, free: 13.15 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001181/0.7626, allocations: 16.11 kB / 0.6135 GB, free: 13.14 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005796/0.7631, allocations: 147.9 kB / 0.6136 GB, free: 12.99 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001977/0.7634, allocations: 175.1 kB / 0.6138 GB, free: 12.82 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008384/0.7717, allocations: 4.053 MB / 0.6177 GB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0255/0.7973, allocations: 14.97 MB / 0.6324 GB, free: 9.469 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004677/0.802, allocations: 4.215 MB / 0.6365 GB, free: 4.949 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002899/0.8049, allocations: 1.899 MB / 0.6383 GB, free: 3.051 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003299/0.8053, allocations: 139 kB / 0.6385 GB, free: 2.898 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.374e-05/0.8053, allocations: 68.5 kB / 0.6385 GB, free: 2.82 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 3.537e-06/0.8053, allocations: 0 / 0.6385 GB, free: 2.82 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02068/0.826, allocations: 10.15 MB / 0.6484 GB, free: 8.539 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.66e-05/0.8261, allocations: 73.41 kB / 0.6485 GB, free: 8.457 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004487/0.8306, allocations: 2.475 MB / 0.6509 GB, free: 5.961 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002905/0.8309, allocations: 61.7 kB / 0.651 GB, free: 5.895 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001313/0.8322, allocations: 1.608 MB / 0.6526 GB, free: 4.266 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007763/0.833, allocations: 0.7393 MB / 0.6533 GB, free: 3.516 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.8333, allocations: 44 kB / 0.6533 GB, free: 3.473 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001927/0.8335, allocations: 398.5 kB / 0.6537 GB, free: 3.078 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00216/0.8356, allocations: 1.301 MB / 0.655 GB, free: 1.773 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002462/0.8381, allocations: 1.725 MB / 0.6567 GB, free: 15.88 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/0.8427, allocations: 3.155 MB / 0.6597 GB, free: 12.56 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/0.8427, allocations: 4 kB / 0.6597 GB, free: 12.56 MB / 442.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.007377/0.8501, allocations: 4.021 MB / 0.6637 GB, free: 8.512 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.48e-05/0.8502, allocations: 12 kB / 0.6637 GB, free: 8.5 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.293e-05/0.8502, allocations: 15.94 kB / 0.6637 GB, free: 8.484 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001957/0.8522, allocations: 0.7623 MB / 0.6644 GB, free: 7.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.8543, allocations: 0.5227 MB / 0.665 GB, free: 7.184 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.203/1.057, allocations: 8.735 MB / 0.6735 GB, free: 81.46 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002126/1.059, allocations: 119 kB / 0.6736 GB, free: 81.46 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000291/1.06, allocations: 93.67 kB / 0.6737 GB, free: 81.46 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002016/1.062, allocations: 1.216 MB / 0.6749 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00055/1.062, allocations: 276.4 kB / 0.6751 GB, free: 81.34 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005332/1.068, allocations: 3.75 MB / 0.6788 GB, free: 81.19 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-05/1.068, allocations: 19.75 kB / 0.6788 GB, free: 81.19 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.969e-06/1.068, allocations: 7.812 kB / 0.6788 GB, free: 81.19 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.66e-05/1.068, allocations: 13.31 kB / 0.6788 GB, free: 81.19 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01197/1.08, allocations: 8.068 MB / 0.6867 GB, free: 80.58 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.887e-06/1.08, allocations: 3.906 kB / 0.6867 GB, free: 80.58 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001485/1.081, allocations: 392.2 kB / 0.6871 GB, free: 80.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001904/1.083, allocations: 0.8009 MB / 0.6879 GB, free: 80.54 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001572/1.083, allocations: 57.67 kB / 0.6879 GB, free: 80.54 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00848/1.092, allocations: 10.24 MB / 0.6979 GB, free: 75.39 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/1.092, allocations: 3.25 kB / 0.6979 GB, free: 75.39 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007585/1.099, allocations: 5.571 MB / 0.7034 GB, free: 75.02 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001369/1.101, allocations: 0.6414 MB / 0.704 GB, free: 74.92 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003681/1.101, allocations: 56.27 kB / 0.7041 GB, free: 74.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001292/1.103, allocations: 128.1 kB / 0.7042 GB, free: 74.92 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004096/1.103, allocations: 179.6 kB / 0.7043 GB, free: 74.91 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001409/1.103, allocations: 64.95 kB / 0.7044 GB, free: 74.91 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002278/1.105, allocations: 1.709 MB / 0.7061 GB, free: 74.77 MB / 442.7 MB Notification: Performance of sort global known variables: time 2.91e-07/1.105, allocations: 6.125 kB / 0.7061 GB, free: 74.77 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002363/1.108, allocations: 0.8404 MB / 0.7069 GB, free: 74.77 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (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,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,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 (178): * Single equations (assignments): 173 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 26,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005477/1.108, allocations: 378.5 kB / 0.7073 GB, free: 74.66 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004998/1.113, allocations: 3.901 MB / 0.7111 GB, free: 74.06 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.621e-06/1.113, allocations: 6.656 kB / 0.7111 GB, free: 74.06 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003103/1.116, allocations: 2.493 MB / 0.7135 GB, free: 73.45 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004175/1.121, allocations: 0.7623 MB / 0.7143 GB, free: 73.26 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.132, allocations: 9.091 MB / 0.7231 GB, free: 68.76 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001927/1.134, allocations: 2.723 MB / 0.7258 GB, free: 67.62 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009107/1.135, allocations: 184.5 kB / 0.726 GB, free: 67.62 MB / 442.7 MB Notification: Performance of SimCode: time 7.72e-07/1.135, allocations: 0 / 0.726 GB, free: 67.62 MB / 442.7 MB Notification: Performance of Templates: time 0.2976/1.433, allocations: 142.2 MB / 0.8648 GB, free: 113.9 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches