Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.3_cpp_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_cpp_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_cpp_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.002461/0.002461, allocations: 181.5 kB / 17.41 MB, free: 4.402 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.369/3.369, allocations: 205.4 MB / 223.6 MB, free: 9.02 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.001158/0.001158, allocations: 85.42 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005211/0.0005218, allocations: 19.98 kB / 328.2 MB, free: 15.92 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4198/0.4203, allocations: 47.56 MB / 375.7 MB, free: 45.41 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1956/0.616, allocations: 107.5 MB / 483.3 MB, free: 5.035 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004264/0.6165, allocations: 87.95 kB / 483.3 MB, free: 4.949 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5295/1.146, allocations: 50.05 MB / 0.5209 GB, free: 94.18 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.446e-06/1.146, allocations: 0 / 0.5209 GB, free: 94.18 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.000295/1.146, allocations: 65.69 kB / 0.521 GB, free: 94.16 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.009853/1.156, allocations: 2.781 MB / 0.5237 GB, free: 92.3 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.575e-05/1.156, allocations: 7.844 kB / 0.5237 GB, free: 92.3 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002098/1.159, allocations: 335.1 kB / 0.524 GB, free: 92.14 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005587/1.164, allocations: 1.85 MB / 0.5258 GB, free: 90.71 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001871/1.164, allocations: 173 kB / 0.526 GB, free: 90.54 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000787/1.165, allocations: 232.3 kB / 0.5262 GB, free: 90.31 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00839/1.174, allocations: 3.139 MB / 0.5293 GB, free: 87.03 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001022/1.174, allocations: 12.17 kB / 0.5293 GB, free: 87.02 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003567/1.174, allocations: 99.84 kB / 0.5294 GB, free: 86.92 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000135/1.174, allocations: 100.6 kB / 0.5295 GB, free: 86.82 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007304/1.182, allocations: 2.595 MB / 0.532 GB, free: 84.21 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02269/1.204, allocations: 9.776 MB / 0.5415 GB, free: 74.23 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003678/1.208, allocations: 2.234 MB / 0.5437 GB, free: 71.82 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002136/1.21, allocations: 0.98 MB / 0.5447 GB, free: 70.84 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000415/1.211, allocations: 219.1 kB / 0.5449 GB, free: 70.59 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/1.211, allocations: 43.56 kB / 0.5449 GB, free: 70.54 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 4.859e-06/1.211, allocations: 4 kB / 0.5449 GB, free: 70.54 MB / 378.7 MB Notification: Performance of matching and sorting (n=141): time 0.024/1.235, allocations: 7.862 MB / 0.5526 GB, free: 62.56 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/1.235, allocations: 68.72 kB / 0.5527 GB, free: 62.48 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004162/1.239, allocations: 1.715 MB / 0.5544 GB, free: 60.76 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003761/1.239, allocations: 49.7 kB / 0.5544 GB, free: 60.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009136/1.24, allocations: 1.132 MB / 0.5555 GB, free: 59.56 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007821/1.241, allocations: 488.7 kB / 0.556 GB, free: 59.09 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/1.241, allocations: 32 kB / 0.556 GB, free: 59.05 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001752/1.242, allocations: 369.9 kB / 0.5564 GB, free: 58.69 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002151/1.244, allocations: 0.851 MB / 0.5572 GB, free: 57.84 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002383/1.246, allocations: 1.24 MB / 0.5584 GB, free: 56.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004591/1.251, allocations: 2.195 MB / 0.5605 GB, free: 54.1 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.72e-05/1.251, allocations: 4 kB / 0.5605 GB, free: 54.09 MB / 378.7 MB Notification: Performance of matching and sorting (n=201) (initialization): time 0.007735/1.259, allocations: 2.84 MB / 0.5633 GB, free: 51.23 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.739e-05/1.259, allocations: 11.94 kB / 0.5633 GB, free: 51.22 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.417e-05/1.259, allocations: 12 kB / 0.5633 GB, free: 51.21 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002056/1.261, allocations: 0.5849 MB / 0.5639 GB, free: 50.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002134/1.263, allocations: 367.4 kB / 0.5643 GB, free: 50.26 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.273, allocations: 6.342 MB / 0.5705 GB, free: 43.65 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002764/1.276, allocations: 115.9 kB / 0.5706 GB, free: 43.54 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004718/1.276, allocations: 67.92 kB / 0.5706 GB, free: 43.47 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 (172): * Single equations (assignments): 169 * 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.002845/1.279, allocations: 0.8017 MB / 0.5714 GB, free: 42.66 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009105/1.28, allocations: 189.7 kB / 0.5716 GB, free: 42.47 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007035/1.287, allocations: 2.627 MB / 0.5742 GB, free: 39.82 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.79e-05/1.287, allocations: 12 kB / 0.5742 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.214e-05/1.287, allocations: 7.984 kB / 0.5742 GB, free: 39.8 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.082e-05/1.287, allocations: 7.984 kB / 0.5742 GB, free: 39.79 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01392/1.301, allocations: 5.371 MB / 0.5794 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.301, allocations: 4 kB / 0.5794 GB, free: 34.34 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001397/1.303, allocations: 235.7 kB / 0.5797 GB, free: 34.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002252/1.305, allocations: 0.6509 MB / 0.5803 GB, free: 33.45 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001826/1.305, allocations: 35.98 kB / 0.5803 GB, free: 33.41 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01123/1.316, allocations: 8.076 MB / 0.5882 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.518e-06/1.317, allocations: 4.312 kB / 0.5882 GB, free: 24.93 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008961/1.326, allocations: 3.829 MB / 0.592 GB, free: 21.04 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001943/1.328, allocations: 458.6 kB / 0.5924 GB, free: 20.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005565/1.328, allocations: 36.11 kB / 0.5924 GB, free: 20.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001602/1.33, allocations: 103.9 kB / 0.5925 GB, free: 20.43 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005024/1.33, allocations: 125.1 kB / 0.5926 GB, free: 20.31 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001503/1.33, allocations: 47.98 kB / 0.5927 GB, free: 20.27 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002776/1.333, allocations: 1.171 MB / 0.5938 GB, free: 19.1 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.61e-07/1.333, allocations: 0 / 0.5938 GB, free: 19.1 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003331/1.337, allocations: 0.578 MB / 0.5944 GB, free: 18.52 MB / 378.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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (111): * Single equations (assignments): 108 * 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.0008824/1.337, allocations: 321.7 kB / 0.5947 GB, free: 18.23 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006564/1.344, allocations: 2.597 MB / 0.5972 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/1.344, allocations: 0 / 0.5972 GB, free: 15.59 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004104/1.348, allocations: 1.706 MB / 0.5989 GB, free: 13.84 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005499/1.354, allocations: 453.6 kB / 0.5993 GB, free: 13.4 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01678/1.371, allocations: 6.056 MB / 0.6053 GB, free: 7.277 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002752/1.374, allocations: 1.993 MB / 0.6072 GB, free: 5.25 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001409/1.375, allocations: 139.4 kB / 0.6073 GB, free: 5.113 MB / 378.7 MB Notification: Performance of SimCode: time 3.467e-06/1.375, allocations: 0 / 0.6073 GB, free: 5.113 MB / 378.7 MB Notification: Performance of Templates: time 0.5074/1.882, allocations: 68.39 MB / 0.6741 GB, free: 107.8 MB / 410.7 MB make -j1 -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.makefile (rm -f Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; mkfifo Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe ; head -c 1048576 < Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe >> ../files/Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.sim & ./Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL --alarm=480 -emit_protected > Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL_res.mat","/var/lib/jenkins1/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_cpp_Modelica.Electrical.Machines.Examples.SynchronousInductionMachines.SMR_DOL.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches