Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.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.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001088/0.001089, allocations: 180.6 kB / 16.39 MB, free: 5.762 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.33/1.33, allocations: 223.2 MB / 240.3 MB, free: 10.14 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000958/0.0009579, allocations: 94.42 kB / 291.5 MB, free: 10.68 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002549/0.0002549, allocations: 4 kB / 351.1 MB, free: 15.1 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2506/0.2509, allocations: 50.42 MB / 401.5 MB, free: 32.56 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.3838, allocations: 112.1 MB / 0.5016 GB, free: 268 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.3842, allocations: 88.45 kB / 0.5017 GB, free: 180 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4201/0.8043, allocations: 93.56 MB / 0.5931 GB, free: 20.57 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.743e-06/0.8044, allocations: 0 / 0.5931 GB, free: 20.57 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002744/0.8046, allocations: 99.88 kB / 0.5931 GB, free: 20.47 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.01019/0.8148, allocations: 3.977 MB / 0.597 GB, free: 16.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.8149, allocations: 8.031 kB / 0.597 GB, free: 16.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002386/0.8173, allocations: 0.5025 MB / 0.5975 GB, free: 15.91 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005753/0.8231, allocations: 2.564 MB / 0.6 GB, free: 13.3 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001627/0.8232, allocations: 271 kB / 0.6003 GB, free: 13.03 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006776/0.8239, allocations: 351.9 kB / 0.6006 GB, free: 12.69 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007449/0.8314, allocations: 4.925 MB / 0.6054 GB, free: 7.609 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.349e-05/0.8315, allocations: 7.906 kB / 0.6054 GB, free: 7.602 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003231/0.8318, allocations: 152 kB / 0.6056 GB, free: 7.453 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001242/0.8319, allocations: 175.1 kB / 0.6058 GB, free: 7.281 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006286/0.8382, allocations: 4.053 MB / 0.6097 GB, free: 3.223 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02732/0.8656, allocations: 14.94 MB / 0.6243 GB, free: 3.949 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004562/0.8702, allocations: 4.211 MB / 0.6284 GB, free: 15.44 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003395/0.8706, allocations: 155 kB / 0.6286 GB, free: 15.27 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.119e-05/0.8706, allocations: 56.56 kB / 0.6286 GB, free: 15.21 MB / 410.7 MB Notification: Performance of pre-optimization done (n=201): time 3.567e-06/0.8706, allocations: 0 / 0.6286 GB, free: 15.21 MB / 410.7 MB Notification: Performance of matching and sorting (n=221): time 0.02263/0.8933, allocations: 10.22 MB / 0.6386 GB, free: 4.863 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/0.8934, allocations: 73.41 kB / 0.6387 GB, free: 4.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004072/0.8975, allocations: 2.213 MB / 0.6408 GB, free: 2.547 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004489/0.8979, allocations: 65.7 kB / 0.6409 GB, free: 2.477 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001219/0.8991, allocations: 1.603 MB / 0.6425 GB, free: 0.8555 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007441/0.8999, allocations: 0.7392 MB / 0.6432 GB, free: 108 kB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001244/0.9, allocations: 48 kB / 0.6432 GB, free: 60 kB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001957/0.9002, allocations: 394.6 kB / 0.6436 GB, free: 15.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002042/0.9023, allocations: 1.308 MB / 0.6449 GB, free: 14.35 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002222/0.9045, allocations: 1.733 MB / 0.6466 GB, free: 12.45 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002254/0.9068, allocations: 1.548 MB / 0.6481 GB, free: 10.9 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-05/0.9068, allocations: 7.953 kB / 0.6481 GB, free: 10.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=291) (initialization): time 0.006951/0.9138, allocations: 4.056 MB / 0.6521 GB, free: 6.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.697e-05/0.9138, allocations: 8 kB / 0.6521 GB, free: 6.805 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.94e-05/0.9139, allocations: 15.94 kB / 0.6521 GB, free: 6.789 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001936/0.9158, allocations: 0.7701 MB / 0.6528 GB, free: 6.004 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002239/0.9181, allocations: 0.5227 MB / 0.6533 GB, free: 5.48 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2787/1.197, allocations: 8.943 MB / 0.6621 GB, free: 73.48 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002615/1.199, allocations: 122.4 kB / 0.6622 GB, free: 73.48 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003361/1.2, allocations: 89.31 kB / 0.6623 GB, free: 73.48 MB / 426.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.002556/1.202, allocations: 1.212 MB / 0.6635 GB, free: 73.37 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007286/1.203, allocations: 276.5 kB / 0.6637 GB, free: 73.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005743/1.209, allocations: 3.772 MB / 0.6674 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.439e-05/1.209, allocations: 19.28 kB / 0.6674 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/1.209, allocations: 10.47 kB / 0.6674 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.739e-05/1.209, allocations: 14.33 kB / 0.6674 GB, free: 73.2 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01203/1.221, allocations: 8.067 MB / 0.6753 GB, free: 72.61 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.277e-06/1.221, allocations: 7.109 kB / 0.6753 GB, free: 72.61 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001538/1.223, allocations: 401.7 kB / 0.6757 GB, free: 72.6 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001908/1.225, allocations: 0.7987 MB / 0.6765 GB, free: 72.56 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001801/1.225, allocations: 63.09 kB / 0.6766 GB, free: 72.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009452/1.234, allocations: 10.47 MB / 0.6868 GB, free: 67.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.449e-06/1.234, allocations: 5.375 kB / 0.6868 GB, free: 67.4 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008285/1.243, allocations: 5.829 MB / 0.6925 GB, free: 66.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002024/1.245, allocations: 0.6448 MB / 0.6931 GB, free: 66.58 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004902/1.245, allocations: 54.59 kB / 0.6932 GB, free: 66.58 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001389/1.246, allocations: 127.3 kB / 0.6933 GB, free: 66.58 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004176/1.247, allocations: 177.8 kB / 0.6934 GB, free: 66.58 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001419/1.247, allocations: 69.42 kB / 0.6935 GB, free: 66.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002745/1.25, allocations: 1.708 MB / 0.6952 GB, free: 66.43 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.01e-07/1.25, allocations: 0 / 0.6952 GB, free: 66.43 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003029/1.253, allocations: 0.835 MB / 0.696 GB, free: 66.43 MB / 426.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.0006997/1.254, allocations: 381.7 kB / 0.6964 GB, free: 66.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005247/1.259, allocations: 3.933 MB / 0.7002 GB, free: 65.29 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.893e-06/1.259, allocations: 3.719 kB / 0.7002 GB, free: 65.29 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003506/1.262, allocations: 2.505 MB / 0.7026 GB, free: 64.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004676/1.267, allocations: 0.7365 MB / 0.7034 GB, free: 63.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01494/1.282, allocations: 9.12 MB / 0.7123 GB, free: 59.39 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002442/1.285, allocations: 2.848 MB / 0.7151 GB, free: 58.25 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002595/1.287, allocations: 0.6803 MB / 0.7157 GB, free: 58.19 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/1.288, allocations: 172.7 kB / 0.7159 GB, free: 58.18 MB / 426.7 MB Notification: Performance of SimCode: time 1.062e-06/1.288, allocations: 4 kB / 0.7159 GB, free: 58.18 MB / 426.7 MB Notification: Performance of Templates: time 0.07292/1.361, allocations: 46.09 MB / 0.7609 GB, free: 35.27 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_Transformer/IMC_Transformer.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_Transformer.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches