Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.1..Phi.re|imc.stator.electroMagneticConverter.singlePhaseElectroMagneticConverter.2..Phi.im|// imc.stator.zeroInductor.i0|imcQS.rotorCage.port_p.reference.gamma|loadInertia.phi|loadInertia.w|loadInertiaQS.phi|loadInertiaQS.w",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009301/0.00093, allocations: 182.6 kB / 18.04 MB, free: 3.785 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.611/1.611, allocations: 205.4 MB / 224.2 MB, free: 9.02 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000796/0.0007959, allocations: 98 kB / 272.5 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000315/0.000315, allocations: 16 kB / 330.8 MB, free: 13.9 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2325, allocations: 47.58 MB / 378.4 MB, free: 46.04 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3321/0.5647, allocations: 153.8 MB / 0.5197 GB, free: 102.2 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.565, allocations: 107.6 kB / 0.5198 GB, free: 102.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.308/1.873, allocations: 462.9 MB / 0.9719 GB, free: 1.637 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.605e-06/1.874, allocations: 0 / 0.9719 GB, free: 1.637 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.001648/1.875, allocations: 323.7 kB / 0.9722 GB, free: 1.32 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3951 * Number of variables: 3951 Notification: Performance of Generate backend data structure: time 0.6369/2.512, allocations: 14.27 MB / 0.9862 GB, free: 18.51 MB / 442.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.982e-05/2.512, allocations: 6.719 kB / 0.9862 GB, free: 18.51 MB / 442.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04208/2.554, allocations: 6.742 MB / 0.9927 GB, free: 17.74 MB / 442.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02626/2.581, allocations: 10.93 MB / 1.003 GB, free: 16.36 MB / 442.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00147/2.582, allocations: 1.041 MB / 1.004 GB, free: 16.33 MB / 442.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006954/2.589, allocations: 1.364 MB / 1.006 GB, free: 16.32 MB / 442.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06055/2.65, allocations: 24.22 MB / 1.029 GB, free: 14.68 MB / 442.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006269/2.65, allocations: 25 kB / 1.029 GB, free: 14.67 MB / 442.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004916/2.655, allocations: 0.5832 MB / 1.03 GB, free: 14.67 MB / 442.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0009574/2.656, allocations: 0.9363 MB / 1.031 GB, free: 14.64 MB / 442.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04509/2.701, allocations: 22.05 MB / 1.052 GB, free: 14.51 MB / 442.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1636/2.865, allocations: 78.67 MB / 1.129 GB, free: 5.953 MB / 474.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3382/3.203, allocations: 30.76 MB / 1.159 GB, free: 58.99 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0167/3.22, allocations: 10.81 MB / 1.17 GB, free: 58.87 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.05994/3.28, allocations: 33.31 MB / 1.202 GB, free: 57.76 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.025e-05/3.28, allocations: 130.8 kB / 1.203 GB, free: 57.71 MB / 490.8 MB Notification: Performance of pre-optimization done (n=1013): time 1.238e-05/3.28, allocations: 2.031 kB / 1.203 GB, free: 57.71 MB / 490.8 MB Notification: Performance of matching and sorting (n=1021): time 0.2571/3.537, allocations: 92.04 MB / 1.292 GB, free: 33.94 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.462e-05/3.537, allocations: 171.5 kB / 1.293 GB, free: 33.75 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006981/3.544, allocations: 4.877 MB / 1.297 GB, free: 29.68 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.001711/3.546, allocations: 169.7 kB / 1.298 GB, free: 29.5 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.00227/3.548, allocations: 5.196 MB / 1.303 GB, free: 24.91 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.003657/3.552, allocations: 3.34 MB / 1.306 GB, free: 21.89 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007619/3.553, allocations: 172 kB / 1.306 GB, free: 21.72 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 0.0005494/3.553, allocations: 0.7028 MB / 1.307 GB, free: 21.12 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009833/3.563, allocations: 6.797 MB / 1.313 GB, free: 15.3 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01243/3.576, allocations: 8.557 MB / 1.322 GB, free: 7.246 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.3275/3.903, allocations: 16.6 MB / 1.338 GB, free: 60.8 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.551e-05/3.903, allocations: 13.03 kB / 1.338 GB, free: 60.8 MB / 490.8 MB Notification: Performance of matching and sorting (n=1253) (initialization): time 0.03779/3.941, allocations: 21.25 MB / 1.359 GB, free: 60.32 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 6.77e-05/3.941, allocations: 22.94 kB / 1.359 GB, free: 60.32 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001154/3.941, allocations: 43.94 kB / 1.359 GB, free: 60.32 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0172/3.959, allocations: 8.494 MB / 1.367 GB, free: 60.13 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006232/3.965, allocations: 1.401 MB / 1.368 GB, free: 60.13 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03042/3.995, allocations: 27.89 MB / 1.396 GB, free: 51.95 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007768/4.003, allocations: 423.1 kB / 1.396 GB, free: 51.95 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002485/4.006, allocations: 377.7 kB / 1.396 GB, free: 51.95 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 199 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (729): * Single equations (assignments): 700 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 8 * 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: 5 {(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of prepare postOptimizeDAE: time 0.01268/4.018, allocations: 5.359 MB / 1.402 GB, free: 51.83 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002216/4.021, allocations: 0.6944 MB / 1.402 GB, free: 51.83 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03752/4.058, allocations: 21.28 MB / 1.423 GB, free: 44.38 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0002816/4.058, allocations: 246.9 kB / 1.423 GB, free: 44.25 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.633e-05/4.058, allocations: 9.781 kB / 1.423 GB, free: 44.25 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001807/4.059, allocations: 45.8 kB / 1.423 GB, free: 44.25 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07376/4.132, allocations: 40.27 MB / 1.463 GB, free: 24.04 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-05/4.133, allocations: 4 kB / 1.463 GB, free: 24.04 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004668/4.137, allocations: 0.9782 MB / 1.464 GB, free: 23.29 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01789/4.155, allocations: 8.592 MB / 1.472 GB, free: 16.34 MB / 490.8 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.002319/4.158, allocations: 215.1 kB / 1.472 GB, free: 16.15 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04123/4.199, allocations: 32.22 MB / 1.504 GB, free: 2.621 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.594e-05/4.199, allocations: 7.75 kB / 1.504 GB, free: 2.617 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3646/4.563, allocations: 32.66 MB / 1.536 GB, free: 72.94 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006931/4.57, allocations: 2.36 MB / 1.538 GB, free: 72.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003196/4.574, allocations: 159.2 kB / 1.538 GB, free: 72.85 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006465/4.58, allocations: 395.6 kB / 1.538 GB, free: 72.85 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.003203/4.583, allocations: 0.79 MB / 1.539 GB, free: 72.84 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001631/4.585, allocations: 276.8 kB / 1.539 GB, free: 72.84 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007077/4.592, allocations: 3.311 MB / 1.543 GB, free: 72.66 MB / 0.4949 GB Notification: Performance of sort global known variables: time 5.91e-07/4.592, allocations: 1.094 kB / 1.543 GB, free: 72.66 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.01433/4.606, allocations: 2.644 MB / 1.545 GB, free: 72.66 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 10 (imcQS.rotorCage.port_p.reference.gamma,loadInertiaQS.w,quadraticLoadTorqueQS.phi,imc.stator.core.Phi.re,imc.stator.core.Phi.im,imc.stator.zeroInductor.i0,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.re,imc.rotorCage.electroMagneticConverter.singlePhaseElectroMagneticConverter[3].Phi.im,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStepQS[1].y,booleanStepQS[2].y,booleanStepQS[3].y,booleanStepYDQS[1].y,booleanStepYDQS[2].y,booleanStepYDQS[3].y,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (512): * Single equations (assignments): 482 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 7 {(1,100.0%) 1,(1,100.0%) 1,(1,100.0%) 8,(9,33.3%) 19,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 3 {6 9,6 9,46 263} Notification: Performance of Backend phase and start with SimCode phase: time 0.003215/4.61, allocations: 0.6193 MB / 1.546 GB, free: 72.57 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.03195/4.642, allocations: 17.72 MB / 1.563 GB, free: 71.53 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 1.116e-05/4.642, allocations: 0 / 1.563 GB, free: 71.53 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.01995/4.662, allocations: 10.3 MB / 1.573 GB, free: 70.47 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01622/4.678, allocations: 1.678 MB / 1.575 GB, free: 70.45 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07428/4.752, allocations: 35.93 MB / 1.61 GB, free: 56.64 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02104/4.773, allocations: 9.276 MB / 1.619 GB, free: 53.42 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.01001/4.783, allocations: 1.991 MB / 1.621 GB, free: 53.2 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002902/4.786, allocations: 445.2 kB / 1.621 GB, free: 53.16 MB / 0.4949 GB Notification: Performance of SimCode: time 8.02e-07/4.786, allocations: 0 / 1.621 GB, free: 53.16 MB / 0.4949 GB Notification: Performance of Templates: time 0.5579/5.344, allocations: 189.2 MB / 1.806 GB, free: 42.59 MB / 0.4949 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -nls=newton -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_YD/IMC_YD.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches