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.001509/0.001509, allocations: 174.9 kB / 14.1 MB, free: 1.211 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.422/1.422, allocations: 205.2 MB / 219.8 MB, free: 14.29 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.0008239/0.000824, allocations: 86.64 kB / 268 MB, free: 14.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.762e-05/2.777e-05, allocations: 8 kB / 323.5 MB, free: 16.34 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09496, allocations: 47.57 MB / 371 MB, free: 0.707 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3923/0.4873, allocations: 167.2 MB / 0.5256 GB, free: 6.875 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.4877, allocations: 99.94 kB / 0.5257 GB, free: 6.777 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.088/4.575, allocations: 0.8579 GB / 1.384 GB, free: 29.07 MB / 0.4949 GB Notification: Performance of FrontEnd: time 2.014e-06/4.576, allocations: 0.7188 kB / 1.384 GB, free: 29.07 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.001976/4.578, allocations: 476.8 kB / 1.384 GB, free: 29.07 MB / 0.4949 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.0859/4.663, allocations: 19.58 MB / 1.403 GB, free: 26.23 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 5.845e-05/4.664, allocations: 9.531 kB / 1.403 GB, free: 26.23 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0562/4.72, allocations: 10.32 MB / 1.413 GB, free: 25.1 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04713/4.767, allocations: 15.82 MB / 1.429 GB, free: 23.34 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.002496/4.769, allocations: 1.548 MB / 1.43 GB, free: 23.29 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01074/4.78, allocations: 2.014 MB / 1.432 GB, free: 23.28 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1058/4.886, allocations: 35.52 MB / 1.467 GB, free: 20.91 MB / 0.4949 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.001307/4.887, allocations: 29.61 kB / 1.467 GB, free: 20.9 MB / 0.4949 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.008237/4.896, allocations: 0.8617 MB / 1.468 GB, free: 20.9 MB / 0.4949 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00158/4.897, allocations: 1.386 MB / 1.469 GB, free: 20.86 MB / 0.4949 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07044/4.968, allocations: 32.13 MB / 1.5 GB, free: 16.26 MB / 0.4949 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6928/5.661, allocations: 114.2 MB / 1.612 GB, free: 47.73 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0485/5.709, allocations: 43.99 MB / 1.655 GB, free: 27.96 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.02897/5.738, allocations: 16.32 MB / 1.671 GB, free: 27.8 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.1056/5.844, allocations: 50.37 MB / 1.72 GB, free: 26.55 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001402/5.844, allocations: 180.8 kB / 1.72 GB, free: 26.5 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=1576): time 1.828e-05/5.844, allocations: 0 / 1.72 GB, free: 26.5 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1588): time 0.1254/5.969, allocations: 57.16 MB / 1.776 GB, free: 3.07 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001063/5.97, allocations: 227.4 kB / 1.776 GB, free: 2.84 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01636/5.986, allocations: 6.313 MB / 1.783 GB, free: 14.53 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.003529/5.989, allocations: 245.7 kB / 1.783 GB, free: 14.28 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.006347/5.996, allocations: 7.357 MB / 1.79 GB, free: 7.777 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.008316/6.004, allocations: 5.192 MB / 1.795 GB, free: 3.082 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002257/6.006, allocations: 260 kB / 1.795 GB, free: 2.828 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.001403/6.008, allocations: 0.9048 MB / 1.796 GB, free: 2.09 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4191/6.427, allocations: 12.75 MB / 1.809 GB, free: 85.2 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0214/6.448, allocations: 12.36 MB / 1.821 GB, free: 83.23 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02041/6.469, allocations: 12.11 MB / 1.832 GB, free: 83.05 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001405/6.469, allocations: 16.97 kB / 1.832 GB, free: 83.05 MB / 0.5574 GB Notification: Performance of matching and sorting (n=1865) (initialization): time 0.05995/6.529, allocations: 31.28 MB / 1.863 GB, free: 82.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 9.375e-05/6.529, allocations: 28.28 kB / 1.863 GB, free: 82.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001506/6.529, allocations: 48.41 kB / 1.863 GB, free: 82.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02782/6.557, allocations: 14.61 MB / 1.877 GB, free: 81.96 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01114/6.568, allocations: 2.084 MB / 1.879 GB, free: 81.96 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04238/6.611, allocations: 35.63 MB / 1.914 GB, free: 69.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01285/6.624, allocations: 0.6248 MB / 1.915 GB, free: 69.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.004242/6.628, allocations: 0.5252 MB / 1.915 GB, free: 69.48 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 230 * 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1058): * Single equations (assignments): 1018 * 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 {(1,100.0%) 1,(1,100.0%) 8,(3,88.9%) 25,(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.005924/6.634, allocations: 0.7625 MB / 1.916 GB, free: 68.99 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003188/6.637, allocations: 1.017 MB / 1.917 GB, free: 68.99 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05878/6.696, allocations: 31.92 MB / 1.948 GB, free: 55.55 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0004738/6.696, allocations: 381 kB / 1.949 GB, free: 55.36 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.087e-05/6.697, allocations: 11.47 kB / 1.949 GB, free: 55.36 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0003187/6.697, allocations: 71.25 kB / 1.949 GB, free: 55.36 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.5213/7.218, allocations: 60.2 MB / 2.007 GB, free: 73.33 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001854/7.218, allocations: 3.375 kB / 2.007 GB, free: 73.33 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008968/7.227, allocations: 1.624 MB / 2.009 GB, free: 73.33 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.03278/7.26, allocations: 14.8 MB / 2.024 GB, free: 72.8 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.004062/7.264, allocations: 341.1 kB / 2.024 GB, free: 72.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04581/7.31, allocations: 39.87 MB / 2.063 GB, free: 60.92 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/7.31, allocations: 9.938 kB / 2.063 GB, free: 60.92 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.08194/7.392, allocations: 47.39 MB / 2.109 GB, free: 58.94 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.012/7.404, allocations: 3.481 MB / 2.112 GB, free: 58.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.005069/7.409, allocations: 243 kB / 2.113 GB, free: 58.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009742/7.419, allocations: 0.6246 MB / 2.113 GB, free: 58.84 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.004431/7.424, allocations: 1.168 MB / 2.114 GB, free: 58.83 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.002636/7.426, allocations: 419.8 kB / 2.115 GB, free: 58.83 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.00862/7.435, allocations: 4.532 MB / 2.119 GB, free: 57.61 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.11e-07/7.435, allocations: 1.438 kB / 2.119 GB, free: 57.61 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01915/7.454, allocations: 3.896 MB / 2.123 GB, free: 57.2 MB / 0.5574 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (820): * Single equations (assignments): 779 * 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,(3,88.9%) 25,(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.004297/7.458, allocations: 0.9431 MB / 2.124 GB, free: 56.89 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.04564/7.504, allocations: 26.13 MB / 2.15 GB, free: 46.46 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 9.167e-06/7.504, allocations: 3.75 kB / 2.15 GB, free: 46.46 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.02728/7.531, allocations: 14.95 MB / 2.164 GB, free: 35.56 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01493/7.546, allocations: 2.33 MB / 2.166 GB, free: 33.76 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08002/7.626, allocations: 40.84 MB / 2.206 GB, free: 13.57 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.4317/8.058, allocations: 15.41 MB / 2.221 GB, free: 82.72 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.01594/8.074, allocations: 3.099 MB / 2.224 GB, free: 82.62 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003722/8.078, allocations: 0.638 MB / 2.225 GB, free: 82.62 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/8.078, allocations: 0 / 2.225 GB, free: 82.62 MB / 0.573 GB Notification: Performance of Templates: time 0.767/8.845, allocations: 269.2 MB / 2.488 GB, free: 99.05 MB / 0.6043 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