Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.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_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_DOL") translateModel(Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=30000,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_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001481/0.001481, allocations: 202.8 kB / 17.08 MB, free: 5.082 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.23/1.23, allocations: 227.2 MB / 245 MB, free: 7.621 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008184/0.0008183, allocations: 100.7 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002219/0.0002218, allocations: 4 kB / 357.9 MB, free: 9.543 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1957/0.1959, allocations: 51.48 MB / 409.4 MB, free: 26.75 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1135/0.3095, allocations: 105.1 MB / 0.5024 GB, free: 1.531 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002448/0.3098, allocations: 89.89 kB / 0.5025 GB, free: 1.445 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2853/0.5951, allocations: 44.8 MB / 0.5463 GB, free: 66 MB / 378.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.5951, allocations: 0 / 0.5463 GB, free: 66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001099/0.5952, allocations: 55.94 kB / 0.5463 GB, free: 65.95 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: 524 * Number of variables: 524 Notification: Performance of Generate backend data structure: time 0.003664/0.5989, allocations: 2.464 MB / 0.5487 GB, free: 63.42 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.158e-05/0.5989, allocations: 8.031 kB / 0.5487 GB, free: 63.41 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007927/0.5997, allocations: 332.7 kB / 0.549 GB, free: 63.08 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002196/0.602, allocations: 1.55 MB / 0.5506 GB, free: 61.47 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.062e-05/0.602, allocations: 156 kB / 0.5507 GB, free: 61.32 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002339/0.6023, allocations: 199.9 kB / 0.5509 GB, free: 61.12 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003284/0.6056, allocations: 2.699 MB / 0.5535 GB, free: 58.29 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.482e-05/0.6056, allocations: 4 kB / 0.5535 GB, free: 58.28 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001701/0.6058, allocations: 91.98 kB / 0.5536 GB, free: 58.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.299e-05/0.6059, allocations: 83.94 kB / 0.5537 GB, free: 58.11 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002875/0.6088, allocations: 2.229 MB / 0.5559 GB, free: 55.88 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0098/0.6186, allocations: 8.45 MB / 0.5641 GB, free: 47.2 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.6202, allocations: 1.817 MB / 0.5659 GB, free: 45.27 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000225/0.6205, allocations: 138 kB / 0.566 GB, free: 45.11 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/0.6205, allocations: 47.55 kB / 0.5661 GB, free: 45.06 MB / 378.7 MB Notification: Performance of pre-optimization done (n=107): time 3.276e-06/0.6205, allocations: 0 / 0.5661 GB, free: 45.06 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.01069/0.6312, allocations: 6.317 MB / 0.5723 GB, free: 38.62 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.875e-05/0.6313, allocations: 68.41 kB / 0.5723 GB, free: 38.54 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.6328, allocations: 1.318 MB / 0.5736 GB, free: 37.21 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 7.826e-05/0.6328, allocations: 49.64 kB / 0.5737 GB, free: 37.16 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.6333, allocations: 0.9759 MB / 0.5746 GB, free: 36.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000222/0.6335, allocations: 425.8 kB / 0.575 GB, free: 35.75 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.694e-05/0.6336, allocations: 28 kB / 0.575 GB, free: 35.72 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 7.017e-05/0.6337, allocations: 357.9 kB / 0.5754 GB, free: 35.37 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008951/0.6346, allocations: 0.7456 MB / 0.5761 GB, free: 34.62 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009863/0.6356, allocations: 1.05 MB / 0.5771 GB, free: 33.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00102/0.6366, allocations: 0.8925 MB / 0.578 GB, free: 32.55 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.6366, allocations: 4 kB / 0.578 GB, free: 32.55 MB / 378.7 MB Notification: Performance of matching and sorting (n=172) (initialization): time 0.003003/0.6396, allocations: 2.369 MB / 0.5803 GB, free: 30.16 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.95e-05/0.6396, allocations: 15.89 kB / 0.5803 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.09e-05/0.6397, allocations: 8 kB / 0.5803 GB, free: 30.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000826/0.6405, allocations: 407.2 kB / 0.5807 GB, free: 29.73 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/0.6417, allocations: 343.5 kB / 0.5811 GB, free: 29.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003567/0.6453, allocations: 4.739 MB / 0.5857 GB, free: 24.39 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009883/0.6463, allocations: 95.81 kB / 0.5858 GB, free: 24.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.749e-05/0.6464, allocations: 51.98 kB / 0.5858 GB, free: 24.25 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 39 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 152 * 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: 2 * 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: 2 {(2,100.0%) 12,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001058/0.6474, allocations: 0.7179 MB / 0.5865 GB, free: 23.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002312/0.6477, allocations: 158 kB / 0.5867 GB, free: 23.36 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003252/0.6509, allocations: 2.192 MB / 0.5888 GB, free: 21.14 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.687e-06/0.651, allocations: 16 kB / 0.5888 GB, free: 21.13 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.651, allocations: 7.984 kB / 0.5888 GB, free: 21.12 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.066e-05/0.651, allocations: 7.938 kB / 0.5889 GB, free: 21.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006431/0.6574, allocations: 4.587 MB / 0.5933 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.111e-06/0.6575, allocations: 0 / 0.5933 GB, free: 16.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009521/0.6584, allocations: 231.7 kB / 0.5936 GB, free: 16.2 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001073/0.6595, allocations: 479 kB / 0.594 GB, free: 15.72 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.19e-05/0.6596, allocations: 31.98 kB / 0.594 GB, free: 15.69 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004429/0.664, allocations: 6.301 MB / 0.6002 GB, free: 8.988 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.6641, allocations: 7.953 kB / 0.6002 GB, free: 8.98 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004046/0.6681, allocations: 3.386 MB / 0.6035 GB, free: 5.469 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008434/0.669, allocations: 410.9 kB / 0.6039 GB, free: 5.047 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.6692, allocations: 35.98 kB / 0.6039 GB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008119/0.67, allocations: 75.92 kB / 0.604 GB, free: 4.938 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002112/0.6702, allocations: 108.8 kB / 0.6041 GB, free: 4.828 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.771e-05/0.6703, allocations: 35.98 kB / 0.6041 GB, free: 4.793 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001184/0.6715, allocations: 1.024 MB / 0.6051 GB, free: 3.77 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.92e-07/0.6715, allocations: 0 / 0.6051 GB, free: 3.77 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001303/0.6728, allocations: 0.4922 MB / 0.6056 GB, free: 3.277 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: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 3 * 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: 3 {(2,100.0%) 12,(1,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003975/0.6732, allocations: 308.7 kB / 0.6059 GB, free: 2.969 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002734/0.6759, allocations: 2.305 MB / 0.6082 GB, free: 0.5977 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.985e-06/0.676, allocations: 3.938 kB / 0.6082 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002015/0.678, allocations: 1.52 MB / 0.6097 GB, free: 15.01 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001563/0.6796, allocations: 410.2 kB / 0.6101 GB, free: 14.62 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007513/0.6871, allocations: 5.331 MB / 0.6153 GB, free: 9.223 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001677/0.6888, allocations: 1.873 MB / 0.6171 GB, free: 7.316 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.001191/0.69, allocations: 397.5 kB / 0.6175 GB, free: 6.922 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00036/0.6903, allocations: 107.4 kB / 0.6176 GB, free: 6.816 MB / 394.7 MB Notification: Performance of SimCode: time 5.42e-07/0.6903, allocations: 0 / 0.6176 GB, free: 6.816 MB / 394.7 MB Notification: Performance of Templates: time 0.03824/0.7286, allocations: 25.78 MB / 0.6427 GB, free: 13.25 MB / 426.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/InductionMachines/IMC_DOL/IMC_DOL.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.InductionMachines.IMC_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches