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.0009941/0.0009942, allocations: 202.2 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.177/1.177, allocations: 227.2 MB / 245 MB, free: 5.895 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008734/0.0008734, allocations: 97.08 kB / 297.3 MB, free: 5.957 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002204/0.0002204, allocations: 4 kB / 357.9 MB, free: 9.301 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2264/0.2266, allocations: 51.48 MB / 409.4 MB, free: 26.69 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3401, allocations: 106.3 MB / 0.5036 GB, free: 248 kB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002391/0.3404, allocations: 92.67 kB / 0.5037 GB, free: 156 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2704/0.6108, allocations: 53.56 MB / 0.556 GB, free: 56.09 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.243e-06/0.6109, allocations: 4 kB / 0.556 GB, free: 56.08 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000208/0.6111, allocations: 71.92 kB / 0.5561 GB, free: 56.01 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.005658/0.6167, allocations: 3.028 MB / 0.559 GB, free: 52.92 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.269e-05/0.6168, allocations: 8.031 kB / 0.559 GB, free: 52.91 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009294/0.6177, allocations: 400 kB / 0.5594 GB, free: 52.52 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003/0.6207, allocations: 1.91 MB / 0.5613 GB, free: 50.55 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.6209, allocations: 201.1 kB / 0.5615 GB, free: 50.35 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002945/0.6212, allocations: 251.9 kB / 0.5617 GB, free: 50.11 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004192/0.6254, allocations: 3.489 MB / 0.5651 GB, free: 46.46 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.216e-05/0.6254, allocations: 11.98 kB / 0.5651 GB, free: 46.45 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002113/0.6256, allocations: 108 kB / 0.5652 GB, free: 46.34 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.798e-05/0.6257, allocations: 100.9 kB / 0.5653 GB, free: 46.24 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003819/0.6295, allocations: 2.978 MB / 0.5683 GB, free: 43.25 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.6417, allocations: 10.91 MB / 0.5789 GB, free: 32.05 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002499/0.6442, allocations: 3.138 MB / 0.582 GB, free: 28.69 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002387/0.6444, allocations: 130.4 kB / 0.5821 GB, free: 28.55 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001309/0.6458, allocations: 1.172 MB / 0.5832 GB, free: 27.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=159): time 3.367e-06/0.6458, allocations: 0 / 0.5832 GB, free: 27.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=175): time 0.01515/0.6609, allocations: 8.769 MB / 0.5918 GB, free: 18.46 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.005e-05/0.661, allocations: 184.2 kB / 0.592 GB, free: 18.24 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001721/0.6627, allocations: 1.608 MB / 0.5936 GB, free: 16.63 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001003/0.6629, allocations: 57.7 kB / 0.5936 GB, free: 16.57 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006816/0.6635, allocations: 1.165 MB / 0.5947 GB, free: 15.39 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002905/0.6638, allocations: 0.574 MB / 0.5953 GB, free: 14.81 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.688e-05/0.6639, allocations: 36 kB / 0.5953 GB, free: 14.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.293e-05/0.664, allocations: 377.9 kB / 0.5957 GB, free: 14.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001187/0.6652, allocations: 1.003 MB / 0.5967 GB, free: 13.39 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001322/0.6665, allocations: 1.378 MB / 0.598 GB, free: 11.88 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.6679, allocations: 1.161 MB / 0.5992 GB, free: 10.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.6679, allocations: 0 / 0.5992 GB, free: 10.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=228) (initialization): time 0.004189/0.6721, allocations: 3.303 MB / 0.6024 GB, free: 7.395 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.37e-05/0.6721, allocations: 8 kB / 0.6024 GB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.54e-05/0.6721, allocations: 12 kB / 0.6024 GB, free: 7.375 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/0.6739, allocations: 0.8762 MB / 0.6033 GB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001119/0.675, allocations: 335.5 kB / 0.6036 GB, free: 6.156 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009597/0.6846, allocations: 9.831 MB / 0.6132 GB, free: 11.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0017/0.6864, allocations: 147.9 kB / 0.6133 GB, free: 11.78 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000167/0.6865, allocations: 60 kB / 0.6134 GB, free: 11.72 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.00178/0.6883, allocations: 0.9292 MB / 0.6143 GB, free: 10.79 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004239/0.6888, allocations: 209.4 kB / 0.6145 GB, free: 10.58 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005445/0.6942, allocations: 3.166 MB / 0.6176 GB, free: 7.383 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.587e-05/0.6943, allocations: 19.95 kB / 0.6176 GB, free: 7.363 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.182e-05/0.6943, allocations: 8 kB / 0.6176 GB, free: 7.355 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-05/0.6943, allocations: 7.969 kB / 0.6176 GB, free: 7.348 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01085/0.7051, allocations: 6.29 MB / 0.6238 GB, free: 0.9453 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.535e-06/0.7052, allocations: 3.938 kB / 0.6238 GB, free: 0.9414 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009387/0.7061, allocations: 227.6 kB / 0.624 GB, free: 0.7188 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002225/0.7084, allocations: 0.9296 MB / 0.6249 GB, free: 15.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001275/0.7085, allocations: 39.98 kB / 0.6249 GB, free: 15.73 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01163/0.7202, allocations: 11.37 MB / 0.636 GB, free: 3.824 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.302e-06/0.7202, allocations: 7.969 kB / 0.636 GB, free: 3.816 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007021/0.7272, allocations: 4.747 MB / 0.6407 GB, free: 14.96 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001376/0.7287, allocations: 0.4946 MB / 0.6412 GB, free: 14.44 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002762/0.7289, allocations: 44.31 kB / 0.6412 GB, free: 14.4 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001009/0.73, allocations: 119.9 kB / 0.6413 GB, free: 14.28 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004406/0.7304, allocations: 201.6 kB / 0.6415 GB, free: 14.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001139/0.7305, allocations: 47.98 kB / 0.6415 GB, free: 14.04 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001735/0.7323, allocations: 1.239 MB / 0.6428 GB, free: 12.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7323, allocations: 0 / 0.6428 GB, free: 12.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001917/0.7342, allocations: 0.664 MB / 0.6434 GB, free: 12.14 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.0005257/0.7347, allocations: 334.8 kB / 0.6437 GB, free: 11.81 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004671/0.7394, allocations: 3.278 MB / 0.6469 GB, free: 8.449 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.7394, allocations: 3.938 kB / 0.6469 GB, free: 8.445 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003186/0.7426, allocations: 2.282 MB / 0.6492 GB, free: 6.098 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002106/0.7448, allocations: 0.5452 MB / 0.6497 GB, free: 5.559 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008384/0.7531, allocations: 6.702 MB / 0.6562 GB, free: 14.8 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001743/0.7549, allocations: 2.234 MB / 0.6584 GB, free: 12.53 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.001231/0.7561, allocations: 453.2 kB / 0.6589 GB, free: 12.08 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003693/0.7565, allocations: 127.4 kB / 0.659 GB, free: 11.96 MB / 442.7 MB Notification: Performance of SimCode: time 8.52e-07/0.7565, allocations: 0 / 0.659 GB, free: 11.96 MB / 442.7 MB Notification: Performance of Templates: time 0.2118/0.9684, allocations: 37.02 MB / 0.6951 GB, free: 111.5 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/jenkins/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