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_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.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") translateModel(Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD,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",fileNamePrefix="Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 186.5 kB / 16.4 MB, free: 5.75 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.941/1.941, allocations: 205.4 MB / 222.5 MB, free: 9.121 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.001143/0.001142, allocations: 100.6 kB / 270.9 MB, free: 8.363 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003891/0.0003891, allocations: 12 kB / 327 MB, free: 196 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3307, allocations: 47.56 MB / 374.5 MB, free: 45.43 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1937/0.5244, allocations: 104.8 MB / 479.3 MB, free: 7.922 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005465/0.5251, allocations: 91.95 kB / 479.4 MB, free: 7.832 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4941/1.019, allocations: 48.98 MB / 0.516 GB, free: 94.61 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.544e-06/1.019, allocations: 0 / 0.516 GB, free: 94.61 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002678/1.02, allocations: 67.09 kB / 0.5161 GB, free: 94.6 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: 592 * Number of variables: 592 Notification: Performance of Generate backend data structure: time 0.009779/1.029, allocations: 2.743 MB / 0.5188 GB, free: 93.17 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/1.029, allocations: 11.44 kB / 0.5188 GB, free: 93.17 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001762/1.031, allocations: 333.5 kB / 0.5191 GB, free: 93.02 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005376/1.037, allocations: 1.739 MB / 0.5208 GB, free: 92.02 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001879/1.037, allocations: 176 kB / 0.521 GB, free: 91.93 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000776/1.038, allocations: 230.7 kB / 0.5212 GB, free: 91.86 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008375/1.046, allocations: 3.155 MB / 0.5243 GB, free: 89.82 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001055/1.046, allocations: 7.734 kB / 0.5243 GB, free: 89.82 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003553/1.047, allocations: 102.5 kB / 0.5244 GB, free: 89.74 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001214/1.047, allocations: 94.44 kB / 0.5245 GB, free: 89.73 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008117/1.055, allocations: 2.634 MB / 0.527 GB, free: 87.78 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02361/1.078, allocations: 9.95 MB / 0.5367 GB, free: 77.64 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004051/1.083, allocations: 2.13 MB / 0.5388 GB, free: 75.41 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004453/1.083, allocations: 138.4 kB / 0.539 GB, free: 75.25 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/1.083, allocations: 51.81 kB / 0.539 GB, free: 75.2 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 5.22e-06/1.083, allocations: 3.984 kB / 0.539 GB, free: 75.19 MB / 378.7 MB Notification: Performance of matching and sorting (n=145): time 0.02925/1.112, allocations: 8.061 MB / 0.5469 GB, free: 67.02 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.188e-05/1.113, allocations: 68.72 kB / 0.5469 GB, free: 66.95 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003004/1.116, allocations: 1.461 MB / 0.5484 GB, free: 65.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003702/1.116, allocations: 53.7 kB / 0.5484 GB, free: 65.42 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006809/1.117, allocations: 1.019 MB / 0.5494 GB, free: 64.4 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005786/1.117, allocations: 492.4 kB / 0.5499 GB, free: 63.92 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001811/1.117, allocations: 32 kB / 0.5499 GB, free: 63.89 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001207/1.118, allocations: 370.8 kB / 0.5503 GB, free: 63.52 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002266/1.12, allocations: 0.9174 MB / 0.5512 GB, free: 62.6 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002443/1.122, allocations: 1.23 MB / 0.5524 GB, free: 61.24 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002513/1.125, allocations: 1.072 MB / 0.5534 GB, free: 60.18 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.598e-06/1.125, allocations: 4 kB / 0.5534 GB, free: 60.17 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.007616/1.132, allocations: 2.917 MB / 0.5563 GB, free: 57.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.251e-05/1.133, allocations: 8 kB / 0.5563 GB, free: 57.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/1.133, allocations: 11.98 kB / 0.5563 GB, free: 57.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003251/1.136, allocations: 0.8328 MB / 0.5571 GB, free: 56.37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002321/1.138, allocations: 319.5 kB / 0.5574 GB, free: 56.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01486/1.153, allocations: 9.346 MB / 0.5665 GB, free: 46.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002346/1.155, allocations: 99.89 kB / 0.5666 GB, free: 46.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000211/1.156, allocations: 56 kB / 0.5667 GB, free: 46.16 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 40 * Number of states: 0 () * Number of discrete variables: 6 (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 initialization (152): * Single equations (assignments): 147 * 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,(9,33.3%) 19} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002011/1.158, allocations: 0.812 MB / 0.5675 GB, free: 45.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005757/1.158, allocations: 185.7 kB / 0.5677 GB, free: 45.16 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007696/1.166, allocations: 2.893 MB / 0.5705 GB, free: 42.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.809e-05/1.166, allocations: 19.94 kB / 0.5705 GB, free: 42.21 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.364e-05/1.166, allocations: 11.98 kB / 0.5705 GB, free: 42.2 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.963e-05/1.166, allocations: 7.969 kB / 0.5705 GB, free: 42.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01497/1.181, allocations: 5.692 MB / 0.5761 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-05/1.181, allocations: 4 kB / 0.5761 GB, free: 36.41 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001724/1.183, allocations: 199.7 kB / 0.5763 GB, free: 36.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003851/1.187, allocations: 0.898 MB / 0.5771 GB, free: 35.3 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003184/1.187, allocations: 39.97 kB / 0.5772 GB, free: 35.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01665/1.204, allocations: 10.89 MB / 0.5878 GB, free: 23.85 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/1.204, allocations: 4 kB / 0.5878 GB, free: 23.84 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01104/1.215, allocations: 4.378 MB / 0.5921 GB, free: 19.35 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001702/1.217, allocations: 466.7 kB / 0.5925 GB, free: 18.87 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006796/1.217, allocations: 31.98 kB / 0.5926 GB, free: 18.84 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002051/1.22, allocations: 99.86 kB / 0.5927 GB, free: 18.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006637/1.22, allocations: 149 kB / 0.5928 GB, free: 18.59 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001708/1.22, allocations: 47.98 kB / 0.5929 GB, free: 18.55 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002602/1.223, allocations: 1.126 MB / 0.594 GB, free: 17.43 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.223, allocations: 0 / 0.594 GB, free: 17.43 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003122/1.226, allocations: 0.5898 MB / 0.5945 GB, free: 16.84 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 7 (aimc.i_0_s,aimc.idq_sr[1],aimc.idq_sr[2],aimc.idq_rr[1],aimc.idq_rr[2],loadInertia.w,quadraticLoadTorque.phi) * Number of discrete variables: 6 (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 (102): * Single equations (assignments): 97 * 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,(9,33.3%) 19,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000816/1.227, allocations: 294 kB / 0.5948 GB, free: 16.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007259/1.234, allocations: 3.042 MB / 0.5978 GB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/1.234, allocations: 0 / 0.5978 GB, free: 13.44 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005053/1.239, allocations: 2.065 MB / 0.5998 GB, free: 11.3 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003891/1.243, allocations: 495 kB / 0.6003 GB, free: 10.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.013/1.256, allocations: 6.123 MB / 0.6062 GB, free: 4.629 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002572/1.259, allocations: 2.036 MB / 0.6082 GB, free: 2.562 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009089/1.26, allocations: 123.4 kB / 0.6084 GB, free: 2.441 MB / 378.7 MB Notification: Performance of SimCode: time 1.282e-06/1.26, allocations: 0 / 0.6084 GB, free: 2.441 MB / 378.7 MB Notification: Performance of Templates: time 0.4208/1.681, allocations: 87.99 MB / 0.6943 GB, free: 85.5 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD_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_YD/AIMC_YD.csv","../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.AsynchronousInductionMachines.AIMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches