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.0009762/0.0009762, allocations: 175.5 kB / 13.63 MB, free: 1.684 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.276/1.276, allocations: 221.3 MB / 235.5 MB, free: 2.926 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.0008712/0.0008713, allocations: 101.8 kB / 286.5 MB, free: 208 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.631e-05/2.635e-05, allocations: 7.984 kB / 343.8 MB, free: 4.281 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09062/0.09066, allocations: 50.41 MB / 394.3 MB, free: 1.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3232/0.4139, allocations: 119.3 MB / 0.5016 GB, free: 88 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4142, allocations: 93.5 kB / 0.5016 GB, free: 0 / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5284/0.9426, allocations: 133.5 MB / 0.632 GB, free: 72.48 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.894e-06/0.9426, allocations: 0 / 0.632 GB, free: 72.48 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000425/0.9431, allocations: 134.8 kB / 0.6321 GB, free: 72.35 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.01581/0.9589, allocations: 4.784 MB / 0.6368 GB, free: 67.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.875e-05/0.959, allocations: 12.02 kB / 0.6368 GB, free: 67.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007359/0.9663, allocations: 0.9719 MB / 0.6378 GB, free: 66.52 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/0.9795, allocations: 4.485 MB / 0.6421 GB, free: 62.06 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.9799, allocations: 361.8 kB / 0.6425 GB, free: 61.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001369/0.9813, allocations: 479.9 kB / 0.6429 GB, free: 61.24 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0159/0.9972, allocations: 6.607 MB / 0.6494 GB, free: 54.45 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001324/0.9974, allocations: 3.984 kB / 0.6494 GB, free: 54.44 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007285/0.9981, allocations: 207.9 kB / 0.6496 GB, free: 54.24 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002621/0.9984, allocations: 237.8 kB / 0.6498 GB, free: 54 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01363/1.012, allocations: 5.404 MB / 0.6551 GB, free: 48.59 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04139/1.053, allocations: 20.98 MB / 0.6756 GB, free: 27.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006934/1.06, allocations: 9.831 MB / 0.6852 GB, free: 16.3 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002965/1.063, allocations: 2.413 MB / 0.6876 GB, free: 13.88 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.009928/1.073, allocations: 6.486 MB / 0.6939 GB, free: 7.281 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/1.073, allocations: 56.56 kB / 0.6939 GB, free: 7.219 MB / 426.7 MB Notification: Performance of pre-optimization done (n=217): time 5.36e-06/1.073, allocations: 3.938 kB / 0.6939 GB, free: 7.215 MB / 426.7 MB Notification: Performance of matching and sorting (n=224): time 0.01184/1.085, allocations: 7.257 MB / 0.701 GB, free: 15.87 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/1.085, allocations: 77.34 kB / 0.7011 GB, free: 15.78 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006344/1.092, allocations: 2.616 MB / 0.7037 GB, free: 13.15 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004803/1.092, allocations: 61.7 kB / 0.7037 GB, free: 13.09 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00185/1.094, allocations: 2.168 MB / 0.7058 GB, free: 10.89 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009883/1.095, allocations: 0.7471 MB / 0.7066 GB, free: 10.14 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003116/1.095, allocations: 48 kB / 0.7066 GB, free: 10.09 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002504/1.096, allocations: 411 kB / 0.707 GB, free: 9.684 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002155/1.098, allocations: 1.204 MB / 0.7082 GB, free: 8.477 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002591/1.101, allocations: 1.772 MB / 0.7099 GB, free: 6.461 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002588/1.103, allocations: 1.517 MB / 0.7114 GB, free: 4.945 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.233e-05/1.103, allocations: 4 kB / 0.7114 GB, free: 4.941 MB / 442.7 MB Notification: Performance of matching and sorting (n=319) (initialization): time 0.007291/1.11, allocations: 4.03 MB / 0.7153 GB, free: 0.8633 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.486e-05/1.111, allocations: 12 kB / 0.7153 GB, free: 0.8516 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.624e-05/1.111, allocations: 20 kB / 0.7154 GB, free: 0.832 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001894/1.112, allocations: 0.6568 MB / 0.716 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.2472/1.36, allocations: 0.5358 MB / 0.7165 GB, free: 84.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009225/1.369, allocations: 9.988 MB / 0.7263 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002491/1.371, allocations: 112.3 kB / 0.7264 GB, free: 79.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002644/1.372, allocations: 103.2 kB / 0.7265 GB, free: 79.5 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,(3,88.9%) 25,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004225/1.372, allocations: 255 kB / 0.7267 GB, free: 79.39 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004668/1.373, allocations: 308.7 kB / 0.727 GB, free: 79.39 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005441/1.378, allocations: 3.781 MB / 0.7307 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.953e-05/1.378, allocations: 21.12 kB / 0.7307 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.73e-05/1.378, allocations: 10.69 kB / 0.7307 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-05/1.378, allocations: 11.3 kB / 0.7308 GB, free: 79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/1.392, allocations: 8.398 MB / 0.739 GB, free: 78.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/1.392, allocations: 2.062 kB / 0.739 GB, free: 78.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001541/1.393, allocations: 341 kB / 0.7393 GB, free: 78.25 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002222/1.395, allocations: 0.8073 MB / 0.7401 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002102/1.396, allocations: 61.47 kB / 0.7401 GB, free: 78.2 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01285/1.409, allocations: 14.37 MB / 0.7542 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.218e-06/1.409, allocations: 3.734 kB / 0.7542 GB, free: 70.32 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007514/1.416, allocations: 5.672 MB / 0.7597 GB, free: 69.54 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/1.418, allocations: 0.6839 MB / 0.7604 GB, free: 69.34 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003911/1.418, allocations: 55.92 kB / 0.7604 GB, free: 69.34 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/1.42, allocations: 122.8 kB / 0.7606 GB, free: 69.34 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004393/1.42, allocations: 191.3 kB / 0.7607 GB, free: 69.34 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.42, allocations: 59.08 kB / 0.7608 GB, free: 69.34 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002654/1.423, allocations: 2.005 MB / 0.7627 GB, free: 69 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.11e-07/1.423, allocations: 0 / 0.7627 GB, free: 69 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002808/1.426, allocations: 0.9792 MB / 0.7637 GB, free: 68.9 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.00077/1.426, allocations: 0.5048 MB / 0.7642 GB, free: 68.76 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004427/1.431, allocations: 3.733 MB / 0.7678 GB, free: 67.05 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 3.938e-06/1.431, allocations: 2.531 kB / 0.7678 GB, free: 67.05 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003007/1.434, allocations: 2.545 MB / 0.7703 GB, free: 65.65 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003382/1.437, allocations: 0.8589 MB / 0.7712 GB, free: 65.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01428/1.452, allocations: 7.755 MB / 0.7787 GB, free: 62.43 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002849/1.455, allocations: 3.511 MB / 0.7822 GB, free: 61.08 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002576/1.457, allocations: 0.7402 MB / 0.7829 GB, free: 61 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005457/1.458, allocations: 190.1 kB / 0.7831 GB, free: 60.99 MB / 442.7 MB Notification: Performance of SimCode: time 7.92e-07/1.458, allocations: 0 / 0.7831 GB, free: 60.99 MB / 442.7 MB Notification: Performance of Templates: time 0.07418/1.532, allocations: 51.54 MB / 0.8334 GB, free: 35.08 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