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/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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009653/0.0009653, allocations: 176.6 kB / 8.35 MB, free: 0.7227 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 221.5 MB / 230.3 MB, free: 7.598 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008428/0.0008428, allocations: 96.12 kB / 281.2 MB, free: 5.34 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.502e-05/1.494e-05, allocations: 4 kB / 337.1 MB, free: 10.03 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09825/0.09828, allocations: 50.42 MB / 387.5 MB, free: 7.574 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3244/0.4227, allocations: 111.4 MB / 498.9 MB, free: 15.43 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002017/0.423, allocations: 87.95 kB / 498.9 MB, free: 15.34 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5522/0.9752, allocations: 92.63 MB / 0.5777 GB, free: 94.33 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.9753, allocations: 0 / 0.5777 GB, free: 94.33 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004186/0.9757, allocations: 95.77 kB / 0.5778 GB, free: 94.32 MB / 426.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.008995/0.9847, allocations: 3.568 MB / 0.5813 GB, free: 92.88 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.9848, allocations: 11.16 kB / 0.5813 GB, free: 92.88 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00232/0.9871, allocations: 0.5043 MB / 0.5818 GB, free: 92.64 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006157/0.9933, allocations: 2.54 MB / 0.5843 GB, free: 92.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.9935, allocations: 112.8 kB / 0.5844 GB, free: 92.09 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00144/0.9949, allocations: 210.6 kB / 0.5846 GB, free: 92.09 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007016/1.002, allocations: 3.689 MB / 0.5882 GB, free: 92.07 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009023/1.011, allocations: 4.321 MB / 0.5924 GB, free: 90.63 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001209/1.011, allocations: 11.53 kB / 0.5924 GB, free: 90.62 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007006/1.012, allocations: 3.469 kB / 0.5924 GB, free: 90.62 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000151/1.012, allocations: 181.8 kB / 0.5926 GB, free: 90.61 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02356/1.036, allocations: 14.23 MB / 0.6065 GB, free: 83.47 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00346/1.039, allocations: 4.059 MB / 0.6104 GB, free: 80.65 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002083/1.041, allocations: 1.758 MB / 0.6122 GB, free: 80.04 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003154/1.042, allocations: 146 kB / 0.6123 GB, free: 79.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.199e-05/1.042, allocations: 58.47 kB / 0.6124 GB, free: 79.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=201): time 4.118e-06/1.042, allocations: 0 / 0.6124 GB, free: 79.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=221): time 0.01215/1.054, allocations: 7.199 MB / 0.6194 GB, free: 76.9 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.373e-05/1.054, allocations: 75.84 kB / 0.6195 GB, free: 76.83 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002929/1.057, allocations: 1.742 MB / 0.6212 GB, free: 76.12 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000212/1.057, allocations: 25.7 kB / 0.6212 GB, free: 76.09 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007893/1.058, allocations: 1.607 MB / 0.6228 GB, free: 74.87 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004833/1.058, allocations: 0.704 MB / 0.6234 GB, free: 74.31 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001498/1.058, allocations: 4 kB / 0.6234 GB, free: 74.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001191/1.059, allocations: 407.5 kB / 0.6238 GB, free: 73.95 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001406/1.06, allocations: 1.196 MB / 0.625 GB, free: 73.49 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001602/1.062, allocations: 1.6 MB / 0.6266 GB, free: 72.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001791/1.063, allocations: 1.438 MB / 0.628 GB, free: 72 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/1.063, allocations: 3.75 kB / 0.628 GB, free: 72 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.00544/1.069, allocations: 3.664 MB / 0.6316 GB, free: 68.87 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/1.069, allocations: 13.56 kB / 0.6316 GB, free: 68.86 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.164e-05/1.069, allocations: 15.94 kB / 0.6316 GB, free: 68.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001693/1.071, allocations: 0.7376 MB / 0.6323 GB, free: 68.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002224/1.073, allocations: 0.5264 MB / 0.6328 GB, free: 67.79 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007654/1.081, allocations: 8.337 MB / 0.641 GB, free: 59.86 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002293/1.083, allocations: 70.52 kB / 0.641 GB, free: 59.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000626/1.084, allocations: 87.94 kB / 0.6411 GB, free: 59.73 MB / 426.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 () * 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,(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009376/1.085, allocations: 155.4 kB / 0.6413 GB, free: 59.58 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001108/1.086, allocations: 248.5 kB / 0.6415 GB, free: 59.34 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005949/1.092, allocations: 3.415 MB / 0.6448 GB, free: 56.49 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.541e-05/1.092, allocations: 27.95 kB / 0.6449 GB, free: 56.46 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/1.092, allocations: 11.94 kB / 0.6449 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.33e-05/1.092, allocations: 12.61 kB / 0.6449 GB, free: 56.45 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01219/1.104, allocations: 7.286 MB / 0.652 GB, free: 50.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.709e-05/1.104, allocations: 8.344 kB / 0.652 GB, free: 50.53 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.106, allocations: 392.9 kB / 0.6524 GB, free: 50.21 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002118/1.108, allocations: 0.8022 MB / 0.6532 GB, free: 49.45 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003637/1.108, allocations: 31.92 kB / 0.6532 GB, free: 49.42 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008455/1.117, allocations: 9.809 MB / 0.6628 GB, free: 39.17 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.773e-06/1.117, allocations: 0 / 0.6628 GB, free: 39.17 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007874/1.125, allocations: 5.391 MB / 0.668 GB, free: 33.62 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/1.126, allocations: 0.5995 MB / 0.6686 GB, free: 33 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000824/1.127, allocations: 11.98 kB / 0.6686 GB, free: 32.99 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00174/1.129, allocations: 99.45 kB / 0.6687 GB, free: 32.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003802/1.129, allocations: 181.7 kB / 0.6689 GB, free: 32.71 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001578/1.13, allocations: 63.98 kB / 0.669 GB, free: 32.65 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002216/1.132, allocations: 1.313 MB / 0.6702 GB, free: 31.32 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/1.132, allocations: 4 kB / 0.6702 GB, free: 31.32 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002905/1.135, allocations: 0.7148 MB / 0.6709 GB, free: 30.6 MB / 426.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 () * 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,(3,88.9%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000636/1.135, allocations: 341.1 kB / 0.6713 GB, free: 30.29 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004612/1.14, allocations: 3.617 MB / 0.6748 GB, free: 26.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.321e-06/1.14, allocations: 5.062 kB / 0.6748 GB, free: 26.6 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002963/1.143, allocations: 2.344 MB / 0.6771 GB, free: 24.2 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/1.146, allocations: 0.5204 MB / 0.6776 GB, free: 23.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/1.157, allocations: 6.274 MB / 0.6837 GB, free: 17.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002702/1.16, allocations: 2.838 MB / 0.6865 GB, free: 14.54 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002247/1.162, allocations: 0.6357 MB / 0.6871 GB, free: 13.92 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007033/1.163, allocations: 159.4 kB / 0.6873 GB, free: 13.77 MB / 426.7 MB Notification: Performance of SimCode: time 1.032e-06/1.163, allocations: 0 / 0.6873 GB, free: 13.77 MB / 426.7 MB Notification: Performance of Templates: time 0.274/1.437, allocations: 35.57 MB / 0.722 GB, free: 97.82 MB / 442.7 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","../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