Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.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.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") translateModel(Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|loadInertia.phi|loadInertia.w|smee.is.1.|smee.is.2.|smr.idq_rr.1.|smr.idq_rr.2.|smr.idq_sr.1.|smr.idq_sr.2.",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001319/0.001319, allocations: 181.2 kB / 17.01 MB, free: 5.121 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.755/1.755, allocations: 205.4 MB / 223.1 MB, free: 9.125 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.0009691/0.0009692, allocations: 100.1 kB / 271.5 MB, free: 8.367 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002561/0.000256, allocations: 8 kB / 328.2 MB, free: 15.54 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2958, allocations: 47.57 MB / 375.8 MB, free: 45.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4379, allocations: 107.3 MB / 483.1 MB, free: 5.328 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4383, allocations: 91.95 kB / 483.2 MB, free: 5.238 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3643/0.8026, allocations: 50.09 MB / 0.5208 GB, free: 94.38 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.594e-06/0.8026, allocations: 0 / 0.5208 GB, free: 94.38 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001919/0.8028, allocations: 70.53 kB / 0.5209 GB, free: 94.37 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: 606 * Number of variables: 606 Notification: Performance of Generate backend data structure: time 0.007178/0.81, allocations: 2.806 MB / 0.5236 GB, free: 92.5 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/0.8101, allocations: 14.19 kB / 0.5236 GB, free: 92.5 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001491/0.8116, allocations: 339.3 kB / 0.5239 GB, free: 92.33 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004295/0.8159, allocations: 1.784 MB / 0.5257 GB, free: 91 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001393/0.8161, allocations: 180.6 kB / 0.5259 GB, free: 90.83 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000526/0.8166, allocations: 231.9 kB / 0.5261 GB, free: 90.6 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005/0.8216, allocations: 3.119 MB / 0.5291 GB, free: 87.34 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.08e-05/0.8217, allocations: 7.938 kB / 0.5291 GB, free: 87.33 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002205/0.8219, allocations: 96 kB / 0.5292 GB, free: 87.23 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.745e-05/0.822, allocations: 104.6 kB / 0.5293 GB, free: 87.13 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004092/0.8261, allocations: 2.583 MB / 0.5318 GB, free: 84.53 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01793/0.8441, allocations: 9.78 MB / 0.5414 GB, free: 74.55 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002551/0.8467, allocations: 2.222 MB / 0.5436 GB, free: 72.15 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003332/0.8471, allocations: 219.2 kB / 0.5438 GB, free: 71.9 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.758e-05/0.8471, allocations: 48.03 kB / 0.5438 GB, free: 71.84 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 3.667e-06/0.8471, allocations: 0 / 0.5438 GB, free: 71.84 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.01569/0.8628, allocations: 7.851 MB / 0.5515 GB, free: 63.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.282e-05/0.8629, allocations: 64.72 kB / 0.5515 GB, free: 63.8 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002298/0.8652, allocations: 1.527 MB / 0.553 GB, free: 62.27 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001731/0.8654, allocations: 49.7 kB / 0.5531 GB, free: 62.22 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006197/0.866, allocations: 1.14 MB / 0.5542 GB, free: 61.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003102/0.8663, allocations: 484.7 kB / 0.5547 GB, free: 60.6 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.758e-05/0.8664, allocations: 39.94 kB / 0.5547 GB, free: 60.56 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.8665, allocations: 365.9 kB / 0.555 GB, free: 60.2 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001159/0.8677, allocations: 0.8549 MB / 0.5559 GB, free: 59.34 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.869, allocations: 1.236 MB / 0.5571 GB, free: 57.95 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001289/0.8703, allocations: 1.033 MB / 0.5581 GB, free: 56.92 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.665e-06/0.8703, allocations: 4 kB / 0.5581 GB, free: 56.91 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.004377/0.8747, allocations: 2.844 MB / 0.5609 GB, free: 54.05 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.653e-05/0.8747, allocations: 12 kB / 0.5609 GB, free: 54.04 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.8748, allocations: 8 kB / 0.5609 GB, free: 54.03 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001306/0.8761, allocations: 0.5941 MB / 0.5615 GB, free: 53.43 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001282/0.8774, allocations: 371.4 kB / 0.5618 GB, free: 53.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006087/0.8835, allocations: 6.534 MB / 0.5682 GB, free: 46.27 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002335/0.8859, allocations: 119.8 kB / 0.5683 GB, free: 46.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002931/0.8862, allocations: 64 kB / 0.5684 GB, free: 46.09 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (171): * Single equations (assignments): 168 * 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.001738/0.8879, allocations: 0.8065 MB / 0.5692 GB, free: 45.27 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004682/0.8884, allocations: 185.7 kB / 0.5693 GB, free: 45.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/0.8925, allocations: 2.634 MB / 0.5719 GB, free: 42.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.115e-05/0.8925, allocations: 12 kB / 0.5719 GB, free: 42.42 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.03e-05/0.8925, allocations: 4 kB / 0.5719 GB, free: 42.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.159e-05/0.8925, allocations: 11.97 kB / 0.5719 GB, free: 42.4 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009078/0.9016, allocations: 5.335 MB / 0.5772 GB, free: 37 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.396e-06/0.9017, allocations: 4 kB / 0.5772 GB, free: 37 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009927/0.9027, allocations: 235.9 kB / 0.5774 GB, free: 36.77 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001691/0.9044, allocations: 0.6397 MB / 0.578 GB, free: 36.12 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001302/0.9045, allocations: 32.11 kB / 0.578 GB, free: 36.09 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007582/0.9121, allocations: 8.315 MB / 0.5862 GB, free: 27.38 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.839e-06/0.9122, allocations: 4 kB / 0.5862 GB, free: 27.37 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006124/0.9183, allocations: 3.932 MB / 0.59 GB, free: 23.34 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/0.92, allocations: 454.7 kB / 0.5904 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002691/0.9203, allocations: 24 kB / 0.5905 GB, free: 22.86 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001007/0.9213, allocations: 107.9 kB / 0.5906 GB, free: 22.75 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003948/0.9217, allocations: 125.1 kB / 0.5907 GB, free: 22.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001025/0.9219, allocations: 39.98 kB / 0.5907 GB, free: 22.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002053/0.9239, allocations: 1.175 MB / 0.5919 GB, free: 21.42 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.4e-07/0.9239, allocations: 3.938 kB / 0.5919 GB, free: 21.42 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002631/0.9266, allocations: 0.5702 MB / 0.5924 GB, free: 20.85 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.0008062/0.9274, allocations: 318 kB / 0.5927 GB, free: 20.55 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.005257/0.9327, allocations: 2.617 MB / 0.5953 GB, free: 17.89 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.437e-06/0.9327, allocations: 0 / 0.5953 GB, free: 17.89 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003135/0.9359, allocations: 1.69 MB / 0.5969 GB, free: 16.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003207/0.9391, allocations: 432 kB / 0.5974 GB, free: 15.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01073/0.9499, allocations: 5.989 MB / 0.6032 GB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001681/0.9516, allocations: 2.067 MB / 0.6052 GB, free: 7.598 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001957/0.9536, allocations: 435.5 kB / 0.6056 GB, free: 7.168 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004354/0.9541, allocations: 123.4 kB / 0.6058 GB, free: 7.047 MB / 378.7 MB Notification: Performance of SimCode: time 1.863e-06/0.9541, allocations: 0 / 0.6058 GB, free: 7.047 MB / 378.7 MB Notification: Performance of Templates: time 0.05628/1.01, allocations: 30.21 MB / 0.6353 GB, free: 8.824 MB / 410.7 MB make -j1 -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Electrical/Machines/Examples/SynchronousInductionMachines/SMR_DOL/SMR_DOL.csv","../files/Modelica_3.2.3_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches