Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_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_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009962/0.0009962, allocations: 201.2 kB / 18.11 MB, free: 3.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.345/1.345, allocations: 226.5 MB / 245.4 MB, free: 6.469 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007995/0.0007996, allocations: 100.2 kB / 297.5 MB, free: 6.668 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003826/0.0003828, allocations: 8 kB / 358.1 MB, free: 10.05 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2643/0.2647, allocations: 51.28 MB / 409.4 MB, free: 27.6 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1334/0.3981, allocations: 106.3 MB / 0.5036 GB, free: 1.129 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002409/0.3984, allocations: 91.95 kB / 0.5037 GB, free: 1.039 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3101/0.7086, allocations: 53.53 MB / 0.556 GB, free: 57.56 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.533e-06/0.7086, allocations: 4 kB / 0.556 GB, free: 57.55 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003388/0.7089, allocations: 71.88 kB / 0.556 GB, free: 57.48 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: 658 * Number of variables: 658 Notification: Performance of Generate backend data structure: time 0.00892/0.7179, allocations: 3.009 MB / 0.559 GB, free: 54.41 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.982e-05/0.7179, allocations: 15.97 kB / 0.559 GB, free: 54.39 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002/0.7199, allocations: 396.9 kB / 0.5594 GB, free: 54 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004504/0.7245, allocations: 1.952 MB / 0.5613 GB, free: 51.99 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001812/0.7247, allocations: 205.4 kB / 0.5615 GB, free: 51.79 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008184/0.7255, allocations: 256.3 kB / 0.5617 GB, free: 51.54 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00676/0.7323, allocations: 3.516 MB / 0.5652 GB, free: 47.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.419e-05/0.7324, allocations: 4.188 kB / 0.5652 GB, free: 47.86 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003227/0.7327, allocations: 107.9 kB / 0.5653 GB, free: 47.76 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.638e-05/0.7328, allocations: 108.9 kB / 0.5654 GB, free: 47.65 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005053/0.7379, allocations: 2.974 MB / 0.5683 GB, free: 44.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01479/0.7527, allocations: 10.93 MB / 0.5789 GB, free: 33.45 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002757/0.7555, allocations: 3.124 MB / 0.582 GB, free: 30.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001539/0.757, allocations: 1.32 MB / 0.5833 GB, free: 28.79 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002595/0.7573, allocations: 134.4 kB / 0.5834 GB, free: 28.64 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001386/0.7587, allocations: 1.172 MB / 0.5846 GB, free: 27.45 MB / 378.7 MB Notification: Performance of pre-optimization done (n=159): time 3.616e-06/0.7587, allocations: 0 / 0.5846 GB, free: 27.45 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.0168/0.7755, allocations: 8.773 MB / 0.5931 GB, free: 18.55 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.808e-05/0.7756, allocations: 184.2 kB / 0.5933 GB, free: 18.34 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/0.7779, allocations: 1.805 MB / 0.5951 GB, free: 16.54 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001327/0.7781, allocations: 57.7 kB / 0.5951 GB, free: 16.47 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008278/0.7789, allocations: 1.173 MB / 0.5963 GB, free: 15.29 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003301/0.7793, allocations: 0.5701 MB / 0.5968 GB, free: 14.71 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.46e-05/0.7794, allocations: 32 kB / 0.5968 GB, free: 14.68 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.593e-05/0.7795, allocations: 377.8 kB / 0.5972 GB, free: 14.3 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001282/0.7807, allocations: 1.007 MB / 0.5982 GB, free: 13.29 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001409/0.7822, allocations: 1.378 MB / 0.5995 GB, free: 11.78 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002681/0.7849, allocations: 2.396 MB / 0.6019 GB, free: 9.262 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.55e-06/0.7849, allocations: 0 / 0.6019 GB, free: 9.262 MB / 378.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004675/0.7896, allocations: 3.287 MB / 0.6051 GB, free: 5.949 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.034e-05/0.7896, allocations: 8 kB / 0.6051 GB, free: 5.941 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.901e-05/0.7896, allocations: 12 kB / 0.6051 GB, free: 5.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001794/0.7914, allocations: 0.8883 MB / 0.606 GB, free: 5.027 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001132/0.7926, allocations: 331.5 kB / 0.6063 GB, free: 4.703 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009902/0.8025, allocations: 9.568 MB / 0.6156 GB, free: 10.73 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001927/0.8045, allocations: 143.9 kB / 0.6158 GB, free: 10.59 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002001/0.8047, allocations: 64 kB / 0.6158 GB, free: 10.53 MB / 394.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: 24 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],$PRE.switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[1].tSwitch,$PRE.switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[2].tSwitch,$PRE.switchYD.logicalDelay[3].tSwitch,switchYD.logicalDelay[3].tSwitch,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 (179): * Single equations (assignments): 174 * 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,(9,33.3%) 25,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001941/0.8066, allocations: 0.9199 MB / 0.6167 GB, free: 9.605 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000539/0.8072, allocations: 205.5 kB / 0.6169 GB, free: 9.402 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005606/0.8128, allocations: 3.154 MB / 0.62 GB, free: 6.219 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.939e-05/0.8128, allocations: 19.94 kB / 0.62 GB, free: 6.199 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.77e-05/0.8129, allocations: 15.98 kB / 0.62 GB, free: 6.184 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.635e-05/0.8129, allocations: 7.969 kB / 0.62 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01123/0.8241, allocations: 6.285 MB / 0.6262 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.953e-06/0.8242, allocations: 0 / 0.6262 GB, free: 15.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009649/0.8251, allocations: 231.9 kB / 0.6264 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002282/0.8274, allocations: 0.9211 MB / 0.6273 GB, free: 14.62 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001517/0.8276, allocations: 47.97 kB / 0.6273 GB, free: 14.57 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01262/0.8402, allocations: 11.04 MB / 0.6381 GB, free: 2.984 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.813e-06/0.8403, allocations: 8 kB / 0.6381 GB, free: 2.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007876/0.8482, allocations: 4.592 MB / 0.6426 GB, free: 14.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001306/0.8495, allocations: 0.4985 MB / 0.6431 GB, free: 13.8 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002979/0.8498, allocations: 36 kB / 0.6431 GB, free: 13.77 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001032/0.8508, allocations: 123.9 kB / 0.6433 GB, free: 13.65 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004952/0.8514, allocations: 205.5 kB / 0.6435 GB, free: 13.45 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001215/0.8515, allocations: 43.98 kB / 0.6435 GB, free: 13.41 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001935/0.8534, allocations: 1.243 MB / 0.6447 GB, free: 12.17 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.61e-07/0.8534, allocations: 0 / 0.6447 GB, free: 12.17 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002366/0.8558, allocations: 0.6601 MB / 0.6454 GB, free: 11.51 MB / 426.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: 21 (booleanStepYD[1].y,booleanStepYD[2].y,booleanStepYD[3].y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,booleanStep[1].y,booleanStep[2].y,booleanStep[3].y,switchYD.idealCloser.control[1],switchYD.idealCloser.control[2],switchYD.idealCloser.control[3],switchYD.idealOpener.control[1],switchYD.idealOpener.control[2],switchYD.idealOpener.control[3],switchYD.logicalDelay[1].tSwitch,switchYD.logicalDelay[2].tSwitch,switchYD.logicalDelay[3].tSwitch) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 118 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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%) 25,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000655/0.8565, allocations: 336.1 kB / 0.6457 GB, free: 11.18 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005226/0.8617, allocations: 3.259 MB / 0.6489 GB, free: 7.832 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.8617, allocations: 0.625 kB / 0.6489 GB, free: 7.832 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003395/0.8651, allocations: 2.281 MB / 0.6511 GB, free: 5.484 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003343/0.8685, allocations: 0.5559 MB / 0.6516 GB, free: 4.934 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01014/0.8787, allocations: 6.698 MB / 0.6582 GB, free: 14.18 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002114/0.8808, allocations: 2.196 MB / 0.6603 GB, free: 11.94 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001688/0.8825, allocations: 445.3 kB / 0.6607 GB, free: 11.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004219/0.8829, allocations: 127.4 kB / 0.6609 GB, free: 11.38 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.8829, allocations: 0 / 0.6609 GB, free: 11.38 MB / 442.7 MB Notification: Performance of Templates: time 0.2641/1.147, allocations: 37.46 MB / 0.6974 GB, free: 113.6 MB / 442.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_YD/IMC_YD.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_YD.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches