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.00235/0.00235, allocations: 181.3 kB / 17.41 MB, free: 4.41 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.883/3.883, allocations: 205.4 MB / 223.6 MB, free: 8.941 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.001415/0.001415, allocations: 88.08 kB / 271.9 MB, free: 8.25 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004954/0.0004956, allocations: 12 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5327/0.5332, allocations: 47.57 MB / 375.7 MB, free: 45.38 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2386/0.772, allocations: 105 MB / 480.7 MB, free: 7.582 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000375/0.7724, allocations: 95.94 kB / 480.8 MB, free: 7.488 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5386/1.311, allocations: 48.96 MB / 0.5174 GB, free: 94.73 MB / 378.7 MB Notification: Performance of FrontEnd: time 5.741e-06/1.311, allocations: 0 / 0.5174 GB, free: 94.73 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003798/1.312, allocations: 63.91 kB / 0.5174 GB, free: 94.71 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.01435/1.326, allocations: 2.719 MB / 0.5201 GB, free: 93.29 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.581e-05/1.326, allocations: 10.31 kB / 0.5201 GB, free: 93.29 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00314/1.329, allocations: 334.1 kB / 0.5204 GB, free: 93.13 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008602/1.338, allocations: 1.795 MB / 0.5222 GB, free: 91.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000298/1.338, allocations: 172.4 kB / 0.5223 GB, free: 91.85 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001287/1.34, allocations: 230.9 kB / 0.5225 GB, free: 91.78 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01121/1.351, allocations: 3.178 MB / 0.5256 GB, free: 89.74 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001225/1.351, allocations: 7.344 kB / 0.5257 GB, free: 89.74 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000447/1.351, allocations: 98.59 kB / 0.5257 GB, free: 89.66 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001792/1.352, allocations: 96.94 kB / 0.5258 GB, free: 89.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009978/1.362, allocations: 2.636 MB / 0.5284 GB, free: 87.39 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03164/1.393, allocations: 9.949 MB / 0.5381 GB, free: 77.25 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003927/1.397, allocations: 2.126 MB / 0.5402 GB, free: 75.01 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002388/1.4, allocations: 1.153 MB / 0.5413 GB, free: 73.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003894/1.4, allocations: 142.2 kB / 0.5415 GB, free: 73.71 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.795e-05/1.4, allocations: 43.88 kB / 0.5415 GB, free: 73.66 MB / 378.7 MB Notification: Performance of pre-optimization done (n=129): time 5.74e-06/1.4, allocations: 0 / 0.5415 GB, free: 73.66 MB / 378.7 MB Notification: Performance of matching and sorting (n=145): time 0.0263/1.427, allocations: 8.066 MB / 0.5494 GB, free: 65.48 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.905e-05/1.427, allocations: 64.72 kB / 0.5494 GB, free: 65.4 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005274/1.432, allocations: 1.641 MB / 0.551 GB, free: 63.75 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000433/1.432, allocations: 49.7 kB / 0.5511 GB, free: 63.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001052/1.434, allocations: 1.078 MB / 0.5521 GB, free: 62.61 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008794/1.434, allocations: 496.6 kB / 0.5526 GB, free: 62.13 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00029/1.435, allocations: 32 kB / 0.5527 GB, free: 62.1 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001977/1.435, allocations: 369.9 kB / 0.553 GB, free: 61.73 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002343/1.437, allocations: 0.9018 MB / 0.5539 GB, free: 60.83 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00258/1.44, allocations: 1.238 MB / 0.5551 GB, free: 59.47 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005085/1.445, allocations: 2.222 MB / 0.5573 GB, free: 57.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.643e-05/1.445, allocations: 4 kB / 0.5573 GB, free: 57.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=195) (initialization): time 0.008561/1.454, allocations: 3.025 MB / 0.5602 GB, free: 54.07 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.816e-05/1.454, allocations: 12 kB / 0.5602 GB, free: 54.06 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.442e-05/1.454, allocations: 8 kB / 0.5602 GB, free: 54.05 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002915/1.457, allocations: 0.8455 MB / 0.5611 GB, free: 53.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001984/1.459, allocations: 311.5 kB / 0.5614 GB, free: 52.89 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01418/1.473, allocations: 9.094 MB / 0.5702 GB, free: 43.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003018/1.476, allocations: 115.9 kB / 0.5704 GB, free: 43.29 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006007/1.477, allocations: 56 kB / 0.5704 GB, free: 43.23 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.00344/1.48, allocations: 0.8059 MB / 0.5712 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001057/1.481, allocations: 185.8 kB / 0.5714 GB, free: 42.24 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008706/1.49, allocations: 2.885 MB / 0.5742 GB, free: 39.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.459e-05/1.49, allocations: 16 kB / 0.5742 GB, free: 39.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-05/1.49, allocations: 4 kB / 0.5742 GB, free: 39.3 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.487e-05/1.49, allocations: 11.97 kB / 0.5742 GB, free: 39.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01918/1.509, allocations: 5.691 MB / 0.5798 GB, free: 33.52 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.408e-05/1.509, allocations: 4.281 kB / 0.5798 GB, free: 33.51 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001571/1.511, allocations: 207.7 kB / 0.58 GB, free: 33.31 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004059/1.515, allocations: 0.9015 MB / 0.5809 GB, free: 32.39 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000333/1.515, allocations: 35.98 kB / 0.5809 GB, free: 32.36 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01778/1.533, allocations: 10.61 MB / 0.5913 GB, free: 21.21 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.329e-05/1.533, allocations: 11.91 kB / 0.5913 GB, free: 21.2 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01192/1.545, allocations: 4.218 MB / 0.5954 GB, free: 16.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002299/1.548, allocations: 470.7 kB / 0.5958 GB, free: 16.44 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008955/1.549, allocations: 31.98 kB / 0.5959 GB, free: 16.41 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.551, allocations: 87.92 kB / 0.5959 GB, free: 16.32 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007756/1.552, allocations: 153.1 kB / 0.5961 GB, free: 16.17 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001945/1.552, allocations: 44 kB / 0.5961 GB, free: 16.13 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.003249/1.555, allocations: 1.134 MB / 0.5972 GB, free: 15 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.31e-07/1.555, allocations: 0 / 0.5972 GB, free: 15 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004638/1.56, allocations: 0.5859 MB / 0.5978 GB, free: 14.41 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.001021/1.561, allocations: 304.9 kB / 0.5981 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007231/1.568, allocations: 3.015 MB / 0.6011 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.307e-06/1.568, allocations: 192 / 0.6011 GB, free: 11.04 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004701/1.573, allocations: 2.065 MB / 0.6031 GB, free: 8.898 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005729/1.579, allocations: 0.4915 MB / 0.6035 GB, free: 8.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/1.596, allocations: 6.119 MB / 0.6095 GB, free: 2.23 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002681/1.598, allocations: 1.997 MB / 0.6115 GB, free: 204 kB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001226/1.6, allocations: 115.4 kB / 0.6116 GB, free: 88 kB / 378.7 MB Notification: Performance of SimCode: time 1.533e-06/1.6, allocations: 4 kB / 0.6116 GB, free: 84 kB / 378.7 MB Notification: Performance of Templates: time 0.6178/2.217, allocations: 92.62 MB / 0.702 GB, free: 79.01 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