Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer,tolerance=1e-06,outputFormat="mat",numberOfIntervals=50000,variableFilter="time|aimc.is.1.|aimc.is.2.|aimc.idq_rr.1.|aimc.idq_rr.2.|aimc.idq_sr.1.|aimc.idq_sr.2.|loadInertia.phi|loadInertia.w|transformer.l2sigma.inductor.2..i|transformer.l2sigma.inductor.3..i",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00261/0.002611, allocations: 177.2 kB / 17.41 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.836/3.836, allocations: 205.4 MB / 223.6 MB, free: 9.027 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.001391/0.00139, allocations: 89.42 kB / 271.9 MB, free: 8.262 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000651/0.0006512, allocations: 8 kB / 328.2 MB, free: 15.95 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6022/0.6029, allocations: 47.57 MB / 375.7 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2517/0.8548, allocations: 112 MB / 487.7 MB, free: 0.5586 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005404/0.8555, allocations: 95.94 kB / 487.8 MB, free: 476 kB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6534/1.509, allocations: 93.07 MB / 0.5673 GB, free: 49.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 4.999e-06/1.509, allocations: 0 / 0.5673 GB, free: 49.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0005658/1.51, allocations: 103.9 kB / 0.5674 GB, free: 49.28 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 934 * Number of variables: 934 Notification: Performance of Generate backend data structure: time 0.01918/1.529, allocations: 3.924 MB / 0.5712 GB, free: 45.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.889e-05/1.529, allocations: 8.031 kB / 0.5712 GB, free: 45.28 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004757/1.534, allocations: 0.5034 MB / 0.5717 GB, free: 44.77 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0119/1.546, allocations: 2.637 MB / 0.5743 GB, free: 42.08 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004695/1.546, allocations: 267.4 kB / 0.5745 GB, free: 41.82 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002223/1.548, allocations: 352.3 kB / 0.5749 GB, free: 41.48 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01804/1.566, allocations: 4.972 MB / 0.5797 GB, free: 36.35 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001942/1.567, allocations: 8.094 kB / 0.5797 GB, free: 36.34 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009503/1.568, allocations: 155.9 kB / 0.5799 GB, free: 36.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002765/1.568, allocations: 179 kB / 0.5801 GB, free: 36.02 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01583/1.584, allocations: 4.061 MB / 0.584 GB, free: 31.95 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05192/1.636, allocations: 14.96 MB / 0.5986 GB, free: 16.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00803/1.644, allocations: 4.215 MB / 0.6028 GB, free: 12.14 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004818/1.649, allocations: 1.893 MB / 0.6046 GB, free: 10.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005022/1.649, allocations: 143 kB / 0.6047 GB, free: 10.09 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.687e-05/1.649, allocations: 60.5 kB / 0.6048 GB, free: 10.02 MB / 378.7 MB Notification: Performance of pre-optimization done (n=201): time 9.147e-06/1.649, allocations: 0 / 0.6048 GB, free: 10.02 MB / 378.7 MB Notification: Performance of matching and sorting (n=221): time 0.04179/1.691, allocations: 10.11 MB / 0.6147 GB, free: 15.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000132/1.691, allocations: 73.41 kB / 0.6147 GB, free: 15.71 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01209/1.704, allocations: 2.482 MB / 0.6172 GB, free: 13.21 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001186/1.705, allocations: 61.7 kB / 0.6172 GB, free: 13.14 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003441/1.708, allocations: 1.596 MB / 0.6188 GB, free: 11.53 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002468/1.711, allocations: 0.7432 MB / 0.6195 GB, free: 10.77 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003635/1.711, allocations: 44 kB / 0.6196 GB, free: 10.73 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003687/1.712, allocations: 402.5 kB / 0.6199 GB, free: 10.33 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004426/1.716, allocations: 1.289 MB / 0.6212 GB, free: 9.039 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005626/1.722, allocations: 1.733 MB / 0.6229 GB, free: 7.129 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0101/1.732, allocations: 3.163 MB / 0.626 GB, free: 3.809 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.495e-05/1.732, allocations: 4 kB / 0.626 GB, free: 3.805 MB / 394.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.0148/1.747, allocations: 4.028 MB / 0.6299 GB, free: 15.75 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001151/1.747, allocations: 13.09 kB / 0.6299 GB, free: 15.74 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.881e-05/1.747, allocations: 8 kB / 0.6299 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003527/1.751, allocations: 0.7623 MB / 0.6307 GB, free: 14.95 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004565/1.755, allocations: 0.5305 MB / 0.6312 GB, free: 14.42 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01843/1.774, allocations: 8.732 MB / 0.6397 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004821/1.779, allocations: 127.9 kB / 0.6398 GB, free: 5.172 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008683/1.779, allocations: 87.98 kB / 0.6399 GB, free: 5.086 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (248): * Single equations (assignments): 243 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 12,(1,100.0%) 1,(3,88.9%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005601/1.785, allocations: 1.21 MB / 0.6411 GB, free: 3.867 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001855/1.787, allocations: 284.6 kB / 0.6414 GB, free: 3.586 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5143/2.301, allocations: 3.746 MB / 0.645 GB, free: 80.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-05/2.301, allocations: 22.47 kB / 0.6451 GB, free: 80.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.168e-05/2.302, allocations: 7.625 kB / 0.6451 GB, free: 80.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001236/2.302, allocations: 11.06 kB / 0.6451 GB, free: 80.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03269/2.334, allocations: 8.053 MB / 0.6529 GB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.256e-05/2.334, allocations: 0 / 0.6529 GB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0035/2.338, allocations: 399.9 kB / 0.6533 GB, free: 80.14 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004525/2.343, allocations: 0.8074 MB / 0.6541 GB, free: 80.1 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008062/2.343, allocations: 52.28 kB / 0.6542 GB, free: 80.1 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01815/2.362, allocations: 10.22 MB / 0.6641 GB, free: 74.95 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.084e-05/2.362, allocations: 5.719 kB / 0.6641 GB, free: 74.95 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01867/2.38, allocations: 5.573 MB / 0.6696 GB, free: 74.58 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004039/2.384, allocations: 0.6376 MB / 0.6702 GB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001595/2.386, allocations: 51.84 kB / 0.6703 GB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003941/2.39, allocations: 135 kB / 0.6704 GB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009997/2.391, allocations: 180.4 kB / 0.6706 GB, free: 74.48 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004336/2.392, allocations: 65.23 kB / 0.6706 GB, free: 74.48 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.007283/2.399, allocations: 1.704 MB / 0.6723 GB, free: 74.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.212e-06/2.399, allocations: 0.875 kB / 0.6723 GB, free: 74.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.007714/2.407, allocations: 0.836 MB / 0.6731 GB, free: 74.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 9 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (178): * Single equations (assignments): 173 * 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 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 26,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001738/2.409, allocations: 385 kB / 0.6735 GB, free: 74.23 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01247/2.421, allocations: 3.899 MB / 0.6773 GB, free: 73.62 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.682e-05/2.421, allocations: 3.594 kB / 0.6773 GB, free: 73.62 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009956/2.431, allocations: 2.492 MB / 0.6797 GB, free: 73.04 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01328/2.445, allocations: 0.7578 MB / 0.6805 GB, free: 73.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03446/2.479, allocations: 9.078 MB / 0.6893 GB, free: 68.7 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008278/2.487, allocations: 2.731 MB / 0.692 GB, free: 67.56 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002374/2.49, allocations: 183.6 kB / 0.6922 GB, free: 67.55 MB / 410.7 MB Notification: Performance of SimCode: time 2.305e-06/2.49, allocations: 0 / 0.6922 GB, free: 67.55 MB / 410.7 MB Notification: Performance of Templates: time 0.7053/3.195, allocations: 142.1 MB / 0.8309 GB, free: 111.4 MB / 442.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/AsynchronousInductionMachines/AIMC_Transformer/AIMC_Transformer.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches