Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smr.is.1.|smr.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001462/0.001462, allocations: 176.4 kB / 8.346 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.312/1.312, allocations: 221.5 MB / 230.3 MB, free: 7.504 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009358/0.0009359, allocations: 96.45 kB / 281.2 MB, free: 5.25 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 1.714e-05/1.73e-05, allocations: 4 kB / 337.1 MB, free: 10 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09159/0.09163, allocations: 50.42 MB / 387.5 MB, free: 7.543 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3156/0.4072, allocations: 107 MB / 494.5 MB, free: 3.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002778/0.4076, allocations: 87.95 kB / 494.6 MB, free: 3.664 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1307/0.5383, allocations: 49.85 MB / 0.5317 GB, free: 1.453 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5384, allocations: 0 / 0.5317 GB, free: 1.453 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002207/0.5386, allocations: 67.92 kB / 0.5317 GB, free: 1.387 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.006479/0.5451, allocations: 2.503 MB / 0.5342 GB, free: 14.82 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.322e-05/0.5452, allocations: 15.98 kB / 0.5342 GB, free: 14.81 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001415/0.5466, allocations: 332.3 kB / 0.5345 GB, free: 14.48 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003981/0.5506, allocations: 1.779 MB / 0.5362 GB, free: 12.64 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.733e-05/0.5507, allocations: 76 kB / 0.5363 GB, free: 12.57 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004157/0.5511, allocations: 144.6 kB / 0.5365 GB, free: 12.43 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004266/0.5554, allocations: 2.309 MB / 0.5387 GB, free: 10.11 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004636/0.5601, allocations: 2.696 MB / 0.5413 GB, free: 7.273 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.012e-05/0.5602, allocations: 11.91 kB / 0.5414 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001934/0.5604, allocations: 0 / 0.5414 GB, free: 7.262 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001285/0.5605, allocations: 108.6 kB / 0.5415 GB, free: 7.152 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2196/0.7802, allocations: 9.286 MB / 0.5505 GB, free: 102.9 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002244/0.7824, allocations: 2.128 MB / 0.5526 GB, free: 102 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001235/0.7837, allocations: 0.8992 MB / 0.5535 GB, free: 102 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003087/0.784, allocations: 220 kB / 0.5537 GB, free: 101.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.7841, allocations: 52.72 kB / 0.5537 GB, free: 101.8 MB / 426.7 MB Notification: Performance of pre-optimization done (n=121): time 3.446e-06/0.7841, allocations: 1.031 kB / 0.5537 GB, free: 101.8 MB / 426.7 MB Notification: Performance of matching and sorting (n=143): time 0.009751/0.7938, allocations: 5.272 MB / 0.5589 GB, free: 101.1 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.7939, allocations: 66.38 kB / 0.559 GB, free: 101.1 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002297/0.7962, allocations: 1.27 MB / 0.5602 GB, free: 100.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001164/0.7964, allocations: 25.7 kB / 0.5602 GB, free: 100.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007884/0.7972, allocations: 1.143 MB / 0.5613 GB, free: 100.5 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003776/0.7975, allocations: 476.4 kB / 0.5618 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.661e-05/0.7976, allocations: 0 / 0.5618 GB, free: 100.3 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001117/0.7977, allocations: 373.7 kB / 0.5621 GB, free: 99.96 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00109/0.7988, allocations: 0.7702 MB / 0.5629 GB, free: 99.95 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/0.8001, allocations: 1.141 MB / 0.564 GB, free: 99.55 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001355/0.8014, allocations: 0.943 MB / 0.5649 GB, free: 99.54 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.018e-05/0.8015, allocations: 6.062 kB / 0.5649 GB, free: 99.54 MB / 426.7 MB Notification: Performance of matching and sorting (n=203) (initialization): time 0.004426/0.8059, allocations: 2.566 MB / 0.5674 GB, free: 99.34 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.887e-05/0.8059, allocations: 10.72 kB / 0.5675 GB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.562e-05/0.806, allocations: 11.59 kB / 0.5675 GB, free: 99.34 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001444/0.8074, allocations: 0.5784 MB / 0.568 GB, free: 99.31 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.809, allocations: 371.9 kB / 0.5684 GB, free: 99.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006553/0.8156, allocations: 6.072 MB / 0.5743 GB, free: 96.83 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/0.8175, allocations: 85.5 kB / 0.5744 GB, free: 96.83 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001497/0.8176, allocations: 67.08 kB / 0.5745 GB, free: 96.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (174): * Single equations (assignments): 171 * 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: 2 * 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: 2 {(6,72.2%) 22,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003428/0.818, allocations: 142.1 kB / 0.5746 GB, free: 96.73 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003163/0.8183, allocations: 176.2 kB / 0.5748 GB, free: 96.63 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003665/0.822, allocations: 2.394 MB / 0.5771 GB, free: 95.89 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.203e-05/0.822, allocations: 14.97 kB / 0.5771 GB, free: 95.89 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.606e-06/0.822, allocations: 6.906 kB / 0.5771 GB, free: 95.89 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.353e-05/0.822, allocations: 7.359 kB / 0.5771 GB, free: 95.89 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007422/0.8295, allocations: 4.856 MB / 0.5819 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.312e-06/0.8295, allocations: 3.656 kB / 0.5819 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009083/0.8304, allocations: 241.7 kB / 0.5821 GB, free: 94 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001383/0.8318, allocations: 0.632 MB / 0.5827 GB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.607e-05/0.8319, allocations: 15.27 kB / 0.5827 GB, free: 93.83 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006502/0.8384, allocations: 7.747 MB / 0.5903 GB, free: 88.56 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.669e-06/0.8385, allocations: 3.656 kB / 0.5903 GB, free: 88.56 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004495/0.843, allocations: 3.708 MB / 0.5939 GB, free: 86.88 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008397/0.8438, allocations: 439 kB / 0.5943 GB, free: 86.61 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002286/0.8441, allocations: 11.3 kB / 0.5944 GB, free: 86.61 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008642/0.8449, allocations: 82.28 kB / 0.5944 GB, free: 86.61 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002528/0.8452, allocations: 124.7 kB / 0.5946 GB, free: 86.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.335e-05/0.8453, allocations: 41.02 kB / 0.5946 GB, free: 86.58 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001163/0.8465, allocations: 0.9639 MB / 0.5955 GB, free: 86.18 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.81e-07/0.8465, allocations: 0 / 0.5955 GB, free: 86.18 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.001636/0.8481, allocations: 0.4899 MB / 0.596 GB, free: 86.18 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * Number of states: 6 (smr.inertiaRotor.w,smr.idq_sr[1],smr.idq_sr[2],smr.idq_dr[1],smr.idq_dr[2],loadInertia.phi) * Number of discrete variables: 3 (booleanStep[1].y,booleanStep[2].y,booleanStep[3].y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (112): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(6,75.0%) 22,(1,100.0%) 1,(2,100.0%) 4} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000461/0.8486, allocations: 296.8 kB / 0.5963 GB, free: 86.08 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.002985/0.8516, allocations: 2.384 MB / 0.5986 GB, free: 85.08 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.8516, allocations: 3.75 kB / 0.5986 GB, free: 85.08 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.8536, allocations: 1.584 MB / 0.6002 GB, free: 84.35 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001738/0.8553, allocations: 344.6 kB / 0.6005 GB, free: 84.27 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006521/0.8618, allocations: 4.054 MB / 0.6045 GB, free: 82.62 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/0.8634, allocations: 2.071 MB / 0.6065 GB, free: 81.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001494/0.8649, allocations: 417.2 kB / 0.6069 GB, free: 81.61 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003303/0.8652, allocations: 116.7 kB / 0.607 GB, free: 81.6 MB / 426.7 MB Notification: Performance of SimCode: time 8.51e-07/0.8652, allocations: 3.5 kB / 0.607 GB, free: 81.6 MB / 426.7 MB Notification: Performance of Templates: time 0.03446/0.8997, allocations: 24.54 MB / 0.631 GB, free: 71.51 MB / 426.7 MB make -j1 -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.makefile (rm -f Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; mkfifo Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe >> ../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.sim & ./Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_4.0.0_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches