Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.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.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|aimc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// aimc.stator.zeroInductor.i0|aimc.is.1.|aimc.is.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001596, allocations: 175.4 kB / 8.349 MB, free: 0.7266 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.465/1.465, allocations: 221.5 MB / 230.3 MB, free: 7.508 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.0009418/0.0009415, allocations: 88.44 kB / 281.2 MB, free: 5.262 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.618e-05/1.621e-05, allocations: 3.984 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09329/0.09333, allocations: 50.42 MB / 387.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3251/0.4185, allocations: 118.7 MB / 0.4943 GB, free: 8.094 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.4188, allocations: 95.94 kB / 0.4944 GB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5149/0.9337, allocations: 131.8 MB / 0.6231 GB, free: 83.53 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.9337, allocations: 0 / 0.6231 GB, free: 83.53 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003273/0.9341, allocations: 123.9 kB / 0.6232 GB, free: 83.41 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: 1287 * Number of variables: 1287 Notification: Performance of Generate backend data structure: time 0.01166/0.9458, allocations: 4.784 MB / 0.6279 GB, free: 78.57 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.9458, allocations: 8.031 kB / 0.6279 GB, free: 78.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004811/0.9506, allocations: 0.9731 MB / 0.6289 GB, free: 77.58 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009011/0.9597, allocations: 4.477 MB / 0.6332 GB, free: 73.11 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001639/0.9599, allocations: 160 kB / 0.6334 GB, free: 72.95 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001003/0.9609, allocations: 287.9 kB / 0.6337 GB, free: 72.67 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008791/0.9697, allocations: 5.108 MB / 0.6387 GB, free: 67.56 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01086/0.9806, allocations: 5.881 MB / 0.6444 GB, free: 61.49 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001011/0.9807, allocations: 7.938 kB / 0.6444 GB, free: 61.48 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004177/0.9811, allocations: 8 kB / 0.6444 GB, free: 61.48 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001647/0.9813, allocations: 237.8 kB / 0.6446 GB, free: 61.24 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02992/1.011, allocations: 20.02 MB / 0.6642 GB, free: 40.97 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006544/1.018, allocations: 9.696 MB / 0.6737 GB, free: 30.25 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002869/1.021, allocations: 2.319 MB / 0.6759 GB, free: 27.93 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009593/1.03, allocations: 6.294 MB / 0.6821 GB, free: 21.59 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.41e-05/1.03, allocations: 56.56 kB / 0.6821 GB, free: 21.53 MB / 426.7 MB Notification: Performance of pre-optimization done (n=217): time 4.678e-06/1.03, allocations: 0 / 0.6821 GB, free: 21.53 MB / 426.7 MB Notification: Performance of matching and sorting (n=224): time 0.01188/1.042, allocations: 7.247 MB / 0.6892 GB, free: 14.2 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.398e-05/1.042, allocations: 73.41 kB / 0.6893 GB, free: 14.11 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003172/1.046, allocations: 2.087 MB / 0.6913 GB, free: 12.01 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002894/1.046, allocations: 29.7 kB / 0.6913 GB, free: 11.98 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009536/1.047, allocations: 2.166 MB / 0.6935 GB, free: 9.781 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005136/1.047, allocations: 0.7274 MB / 0.6942 GB, free: 9.047 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.047, allocations: 0 / 0.6942 GB, free: 9.047 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/1.048, allocations: 411 kB / 0.6946 GB, free: 8.641 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001342/1.049, allocations: 1.161 MB / 0.6957 GB, free: 7.477 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001483/1.05, allocations: 1.709 MB / 0.6974 GB, free: 5.531 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002021/1.052, allocations: 1.583 MB / 0.6989 GB, free: 3.949 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/1.052, allocations: 8 kB / 0.6989 GB, free: 3.941 MB / 426.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.005453/1.058, allocations: 3.874 MB / 0.7027 GB, free: 24 kB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.913e-05/1.058, allocations: 13.09 kB / 0.7027 GB, free: 12 kB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.795e-05/1.058, allocations: 16.05 kB / 0.7027 GB, free: 15.99 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001588/1.06, allocations: 0.6234 MB / 0.7033 GB, free: 15.36 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/1.062, allocations: 0.5422 MB / 0.7039 GB, free: 14.82 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01051/1.072, allocations: 9.621 MB / 0.7133 GB, free: 4.738 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002296/1.075, allocations: 51.95 kB / 0.7133 GB, free: 4.688 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002326/1.075, allocations: 99.98 kB / 0.7134 GB, free: 4.59 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 75 * 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 (269): * Single equations (assignments): 264 * 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 {(1,100.0%) 1,(1,100.0%) 8,(2,100.0%) 26,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004717/1.075, allocations: 168 kB / 0.7136 GB, free: 4.422 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004654/1.076, allocations: 276.6 kB / 0.7138 GB, free: 4.148 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006262/1.082, allocations: 3.681 MB / 0.7174 GB, free: 408 kB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.938e-05/1.082, allocations: 24 kB / 0.7175 GB, free: 384 kB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.357e-05/1.082, allocations: 11.94 kB / 0.7175 GB, free: 372 kB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.021e-05/1.082, allocations: 11.95 kB / 0.7175 GB, free: 360 kB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2613/1.343, allocations: 7.662 MB / 0.725 GB, free: 89.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-05/1.344, allocations: 6.406 kB / 0.725 GB, free: 89.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001416/1.345, allocations: 338.6 kB / 0.7253 GB, free: 89.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002049/1.347, allocations: 0.7943 MB / 0.7261 GB, free: 89.3 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001669/1.347, allocations: 25.47 kB / 0.7261 GB, free: 89.3 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01286/1.36, allocations: 13.85 MB / 0.7396 GB, free: 81.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/1.36, allocations: 4.484 kB / 0.7396 GB, free: 81.81 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008775/1.369, allocations: 5.548 MB / 0.745 GB, free: 81.07 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001648/1.371, allocations: 0.6414 MB / 0.7457 GB, free: 80.98 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000493/1.371, allocations: 17.83 kB / 0.7457 GB, free: 80.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001337/1.372, allocations: 87.36 kB / 0.7458 GB, free: 80.98 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004236/1.373, allocations: 195.7 kB / 0.7459 GB, free: 80.97 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001374/1.373, allocations: 59.39 kB / 0.746 GB, free: 80.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002395/1.375, allocations: 1.571 MB / 0.7475 GB, free: 80.83 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.375, allocations: 0 / 0.7475 GB, free: 80.83 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003367/1.379, allocations: 0.858 MB / 0.7484 GB, free: 80.83 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 9 (aimc.stator.core.Phi.re,aimc.stator.core.Phi.im,aimc.stator.zeroInductor.i0,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,aimc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,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 (154): * Single equations (assignments): 148 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 6 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 6 {(2,100.0%) 26,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007112/1.38, allocations: 425 kB / 0.7488 GB, free: 80.73 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004425/1.384, allocations: 3.551 MB / 0.7523 GB, free: 80.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/1.384, allocations: 0 / 0.7523 GB, free: 80.16 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002849/1.387, allocations: 2.446 MB / 0.7546 GB, free: 79.5 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003033/1.39, allocations: 0.6059 MB / 0.7552 GB, free: 79.48 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01266/1.403, allocations: 7.533 MB / 0.7626 GB, free: 77.85 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003341/1.406, allocations: 3.51 MB / 0.766 GB, free: 77.01 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002821/1.409, allocations: 0.6865 MB / 0.7667 GB, free: 76.93 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005258/1.409, allocations: 173.8 kB / 0.7669 GB, free: 76.93 MB / 442.7 MB Notification: Performance of SimCode: time 1.112e-06/1.409, allocations: 3.938 kB / 0.7669 GB, free: 76.93 MB / 442.7 MB Notification: Performance of Templates: time 0.06418/1.474, allocations: 38.58 MB / 0.8045 GB, free: 68.4 MB / 442.7 MB make -j1 -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Magnetic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches