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_Transformer.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_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer,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|transformer.l2sigma.inductor.1..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001075/0.001075, allocations: 180.3 kB / 17.01 MB, free: 5.125 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.403/1.403, allocations: 205.4 MB / 223.1 MB, free: 9.117 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.0008966/0.0008967, allocations: 96.84 kB / 271.5 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002744/0.0002744, allocations: 4 kB / 329.6 MB, free: 14.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.2675, allocations: 47.57 MB / 377.2 MB, free: 46.08 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.404/0.6715, allocations: 167.3 MB / 0.5317 GB, free: 89.42 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002834/0.6719, allocations: 112 kB / 0.5318 GB, free: 89.36 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.279/3.95, allocations: 0.8584 GB / 1.39 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.264e-06/3.951, allocations: 4 kB / 1.39 GB, free: 31.14 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 0.002501/3.953, allocations: 473.1 kB / 1.391 GB, free: 31.09 MB / 0.4948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5875 * Number of variables: 5875 Notification: Performance of Generate backend data structure: time 0.08856/4.042, allocations: 20.72 MB / 1.411 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/4.042, allocations: 10.34 kB / 1.411 GB, free: 24.71 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05742/4.099, allocations: 10.37 MB / 1.421 GB, free: 23.52 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04398/4.143, allocations: 15.87 MB / 1.437 GB, free: 21.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002428/4.146, allocations: 1.551 MB / 1.438 GB, free: 21.67 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01067/4.156, allocations: 2.01 MB / 1.44 GB, free: 21.66 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.09869/4.255, allocations: 35.94 MB / 1.475 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001077/4.256, allocations: 26.88 kB / 1.475 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.009684/4.266, allocations: 0.8612 MB / 1.476 GB, free: 19.23 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001916/4.268, allocations: 1.395 MB / 1.477 GB, free: 19.18 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.09764/4.365, allocations: 34.57 MB / 1.511 GB, free: 0 / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5878/4.953, allocations: 112.1 MB / 1.621 GB, free: 22.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04728/5.001, allocations: 44.26 MB / 1.664 GB, free: 17.87 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.117/5.118, allocations: 49.83 MB / 1.712 GB, free: 12.28 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001844/5.118, allocations: 179 kB / 1.713 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1590): time 2.586e-05/5.118, allocations: 0 / 1.713 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1602): time 0.482/5.6, allocations: 73.79 MB / 1.785 GB, free: 86.88 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001057/5.6, allocations: 220.8 kB / 1.785 GB, free: 86.77 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009759/5.61, allocations: 5.983 MB / 1.791 GB, free: 86.36 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.002839/5.613, allocations: 246.6 kB / 1.791 GB, free: 86.32 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.00419/5.617, allocations: 7.343 MB / 1.798 GB, free: 82.75 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.006458/5.623, allocations: 5.246 MB / 1.803 GB, free: 79.33 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002019/5.625, allocations: 257 kB / 1.804 GB, free: 79.33 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.001158/5.627, allocations: 0.9054 MB / 1.804 GB, free: 79 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01564/5.642, allocations: 10.4 MB / 1.815 GB, free: 78.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01815/5.66, allocations: 12.59 MB / 1.827 GB, free: 77 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02097/5.681, allocations: 12.32 MB / 1.839 GB, free: 75.86 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001484/5.682, allocations: 18.91 kB / 1.839 GB, free: 75.86 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1877) (initialization): time 0.0556/5.737, allocations: 31.91 MB / 1.87 GB, free: 62.5 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 6.816e-05/5.737, allocations: 32.3 kB / 1.87 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001405/5.738, allocations: 51.25 kB / 1.87 GB, free: 62.49 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02721/5.765, allocations: 14.89 MB / 1.885 GB, free: 58.47 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01021/5.775, allocations: 2.103 MB / 1.887 GB, free: 58.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05045/5.825, allocations: 36.01 MB / 1.922 GB, free: 27.15 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01064/5.836, allocations: 0.6297 MB / 1.923 GB, free: 26.66 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00373/5.84, allocations: 0.523 MB / 1.923 GB, free: 26.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 228 * Number of states: 0 () * Number of discrete variables: 12 (booleanStep1[1].y,booleanStep1[2].y,booleanStep1[3].y,booleanStep2[1].y,booleanStep2[2].y,booleanStep2[3].y,booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1070): * Single equations (assignments): 1030 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 1 * Torn equation systems: 10 * 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 {(3,100.0%) 25,(1,100.0%) 8,(1,100.0%) 1,(1,100.0%) 13,(1,100.0%) 1} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of prepare postOptimizeDAE: time 0.02203/5.862, allocations: 7.916 MB / 1.931 GB, free: 19.57 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.005283/5.867, allocations: 1.007 MB / 1.932 GB, free: 18.55 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4005/6.268, allocations: 32.79 MB / 1.964 GB, free: 85.33 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004396/6.268, allocations: 385.2 kB / 1.964 GB, free: 85.33 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-05/6.268, allocations: 10.25 kB / 1.964 GB, free: 85.33 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002587/6.269, allocations: 70.34 kB / 1.964 GB, free: 85.33 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1104/6.379, allocations: 60.91 MB / 2.024 GB, free: 83.26 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001588/6.379, allocations: 3.688 kB / 2.024 GB, free: 83.26 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007852/6.387, allocations: 1.646 MB / 2.025 GB, free: 83.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0303/6.417, allocations: 14.84 MB / 2.04 GB, free: 79.18 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.003936/6.421, allocations: 340.3 kB / 2.04 GB, free: 78.98 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04665/6.468, allocations: 40.31 MB / 2.08 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/6.468, allocations: 5.25 kB / 2.08 GB, free: 54.41 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08564/6.554, allocations: 48.43 MB / 2.127 GB, free: 17.98 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.01206/6.566, allocations: 3.501 MB / 2.13 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005558/6.572, allocations: 244 kB / 2.13 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01024/6.582, allocations: 0.6301 MB / 2.131 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004918/6.587, allocations: 1.172 MB / 2.132 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.003376/6.59, allocations: 430.5 kB / 2.133 GB, free: 13.57 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.009294/6.599, allocations: 4.593 MB / 2.137 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.502e-06/6.599, allocations: 0 / 2.137 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0201/6.62, allocations: 3.917 MB / 2.141 GB, free: 5.871 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 12 (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,transformer.l1sigma.inductor[2].i,transformer.l1sigma.inductor[3].i,loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 12 (booleanStep1QS[1].y,booleanStep1QS[2].y,booleanStep1QS[3].y,booleanStep2QS[1].y,booleanStep2QS[2].y,booleanStep2QS[3].y,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 (834): * Single equations (assignments): 793 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 29 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 12 * 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%) 8,(2,100.0%) 26,(1,100.0%) 1,(1,100.0%) 8,(1,100.0%) 13,(2,100.0%) 12} * Non-linear torn systems: 5 {6 9,6 9,6 9,6 9,66 432} Notification: Performance of Backend phase and start with SimCode phase: time 0.004513/6.624, allocations: 0.7928 MB / 2.142 GB, free: 5.305 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.3909/7.015, allocations: 28.69 MB / 2.17 GB, free: 85.33 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.442e-05/7.015, allocations: 6.031 kB / 2.17 GB, free: 85.33 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.03325/7.048, allocations: 15.23 MB / 2.185 GB, free: 84.11 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01684/7.065, allocations: 2.332 MB / 2.187 GB, free: 84.08 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1071/7.172, allocations: 54.72 MB / 2.24 GB, free: 65.67 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02626/7.199, allocations: 13.89 MB / 2.254 GB, free: 64.27 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01301/7.212, allocations: 3.109 MB / 2.257 GB, free: 63.94 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003892/7.216, allocations: 0.65 MB / 2.258 GB, free: 63.93 MB / 0.5573 GB Notification: Performance of SimCode: time 1.373e-06/7.216, allocations: 0 / 2.258 GB, free: 63.93 MB / 0.5573 GB Notification: Performance of Templates: time 1.095/8.311, allocations: 284.2 MB / 2.535 GB, free: 7.996 MB / 0.573 GB make -j1 -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.sim & ./Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer -nls=newton -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_3.2.3_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches