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.00157/0.001569, allocations: 189.2 kB / 16.41 MB, free: 5.727 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.845/1.845, allocations: 205.4 MB / 222.5 MB, free: 9.137 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.001119/0.001119, allocations: 84.44 kB / 270.9 MB, free: 8.383 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000373/0.0003728, allocations: 8 kB / 327 MB, free: 208 kB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.322/0.3224, allocations: 47.57 MB / 374.5 MB, free: 45.44 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1759/0.4983, allocations: 107.3 MB / 481.8 MB, free: 5.434 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003597/0.4987, allocations: 99.88 kB / 481.9 MB, free: 5.336 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5431/1.042, allocations: 50.09 MB / 0.5196 GB, free: 94.3 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.357e-06/1.042, allocations: 0 / 0.5196 GB, free: 94.3 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002893/1.042, allocations: 68.25 kB / 0.5196 GB, free: 94.28 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.01058/1.053, allocations: 2.799 MB / 0.5224 GB, free: 92.43 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.053, allocations: 14.62 kB / 0.5224 GB, free: 92.42 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001849/1.055, allocations: 337.2 kB / 0.5227 GB, free: 92.26 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005948/1.061, allocations: 1.786 MB / 0.5244 GB, free: 91.04 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002071/1.061, allocations: 189.5 kB / 0.5246 GB, free: 90.95 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008174/1.062, allocations: 231.6 kB / 0.5248 GB, free: 90.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008904/1.071, allocations: 3.118 MB / 0.5279 GB, free: 87.47 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001224/1.071, allocations: 12 kB / 0.5279 GB, free: 87.46 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004526/1.071, allocations: 96 kB / 0.528 GB, free: 87.36 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001451/1.071, allocations: 100.6 kB / 0.5281 GB, free: 87.26 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00816/1.08, allocations: 2.587 MB / 0.5306 GB, free: 84.66 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02511/1.105, allocations: 9.777 MB / 0.5402 GB, free: 74.68 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004301/1.109, allocations: 2.226 MB / 0.5423 GB, free: 72.28 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005344/1.11, allocations: 215.2 kB / 0.5425 GB, free: 72.03 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.306e-05/1.11, allocations: 47.56 kB / 0.5426 GB, free: 71.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=119): time 3.948e-06/1.11, allocations: 4 kB / 0.5426 GB, free: 71.97 MB / 378.7 MB Notification: Performance of matching and sorting (n=140): time 0.03036/1.14, allocations: 7.843 MB / 0.5502 GB, free: 64.01 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.512e-05/1.14, allocations: 68.72 kB / 0.5503 GB, free: 63.93 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003623/1.144, allocations: 1.527 MB / 0.5518 GB, free: 62.41 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003912/1.144, allocations: 49.7 kB / 0.5518 GB, free: 62.35 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008382/1.145, allocations: 1.07 MB / 0.5529 GB, free: 61.27 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000731/1.146, allocations: 484.6 kB / 0.5533 GB, free: 60.8 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/1.146, allocations: 32 kB / 0.5534 GB, free: 60.77 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001432/1.146, allocations: 370.8 kB / 0.5537 GB, free: 60.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002382/1.149, allocations: 0.8588 MB / 0.5546 GB, free: 59.54 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002826/1.152, allocations: 1.236 MB / 0.5558 GB, free: 58.15 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002879/1.155, allocations: 1.033 MB / 0.5568 GB, free: 57.12 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.987e-05/1.155, allocations: 4 kB / 0.5568 GB, free: 57.12 MB / 378.7 MB Notification: Performance of matching and sorting (n=200) (initialization): time 0.008211/1.163, allocations: 2.733 MB / 0.5595 GB, free: 54.37 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.728e-05/1.163, allocations: 12 kB / 0.5595 GB, free: 54.36 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.89e-05/1.163, allocations: 12 kB / 0.5595 GB, free: 54.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002539/1.166, allocations: 0.59 MB / 0.5601 GB, free: 53.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/1.169, allocations: 355.5 kB / 0.5604 GB, free: 53.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01191/1.18, allocations: 6.546 MB / 0.5668 GB, free: 46.59 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002698/1.183, allocations: 123.8 kB / 0.5669 GB, free: 46.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004822/1.184, allocations: 60 kB / 0.567 GB, free: 46.41 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.00265/1.186, allocations: 0.8022 MB / 0.5677 GB, free: 45.59 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006917/1.187, allocations: 189.7 kB / 0.5679 GB, free: 45.41 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00825/1.195, allocations: 2.638 MB / 0.5705 GB, free: 42.75 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.027e-05/1.195, allocations: 12 kB / 0.5705 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.269e-05/1.196, allocations: 8 kB / 0.5705 GB, free: 42.73 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.42e-05/1.196, allocations: 11.91 kB / 0.5705 GB, free: 42.71 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01439/1.21, allocations: 5.338 MB / 0.5757 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.26e-05/1.21, allocations: 0 / 0.5757 GB, free: 37.31 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002012/1.212, allocations: 227.9 kB / 0.576 GB, free: 37.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002834/1.215, allocations: 0.6436 MB / 0.5766 GB, free: 36.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002729/1.215, allocations: 39.97 kB / 0.5766 GB, free: 36.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01313/1.228, allocations: 8.302 MB / 0.5847 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.019e-06/1.228, allocations: 4.125 kB / 0.5847 GB, free: 27.7 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009556/1.238, allocations: 3.944 MB / 0.5886 GB, free: 23.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0015/1.24, allocations: 450.6 kB / 0.589 GB, free: 23.2 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004825/1.24, allocations: 32 kB / 0.5891 GB, free: 23.16 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001934/1.242, allocations: 99.89 kB / 0.5892 GB, free: 23.07 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00056/1.243, allocations: 137 kB / 0.5893 GB, free: 22.93 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001629/1.243, allocations: 39.98 kB / 0.5893 GB, free: 22.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002946/1.246, allocations: 1.175 MB / 0.5905 GB, free: 21.73 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.874e-06/1.246, allocations: 0 / 0.5905 GB, free: 21.73 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003292/1.249, allocations: 0.5663 MB / 0.591 GB, free: 21.16 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.0009399/1.25, allocations: 314.4 kB / 0.5913 GB, free: 20.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007477/1.258, allocations: 2.615 MB / 0.5939 GB, free: 18.2 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.053e-05/1.258, allocations: 0 / 0.5939 GB, free: 18.2 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004882/1.263, allocations: 1.691 MB / 0.5955 GB, free: 16.47 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003992/1.267, allocations: 443.7 kB / 0.5959 GB, free: 16.04 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01449/1.281, allocations: 6.024 MB / 0.6018 GB, free: 9.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003187/1.284, allocations: 2.04 MB / 0.6038 GB, free: 7.887 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009998/1.285, allocations: 131.4 kB / 0.6039 GB, free: 7.758 MB / 378.7 MB Notification: Performance of SimCode: time 1.643e-06/1.285, allocations: 4 kB / 0.604 GB, free: 7.754 MB / 378.7 MB Notification: Performance of Templates: time 0.4143/1.7, allocations: 65.31 MB / 0.6677 GB, free: 109.2 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