Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.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.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") translateModel(Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad,tolerance=1e-06,outputFormat="mat",numberOfIntervals=800,variableFilter="time|smpm.is.1.|smpm.is.2.|constantSpeed.phi",fileNamePrefix="Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001667/0.001667, allocations: 196 kB / 18.1 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.647/1.647, allocations: 226.5 MB / 245.4 MB, free: 6.484 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007763/0.0007758, allocations: 98.39 kB / 297.5 MB, free: 6.676 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0001984/0.0001984, allocations: 8 kB / 358.1 MB, free: 10.06 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2432/0.2435, allocations: 51.28 MB / 409.4 MB, free: 27.62 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1132/0.3567, allocations: 106.1 MB / 0.5034 GB, free: 1.406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/0.357, allocations: 87.95 kB / 0.5034 GB, free: 1.32 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.294/0.651, allocations: 39.64 MB / 0.5421 GB, free: 71.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.194e-06/0.651, allocations: 0 / 0.5421 GB, free: 71.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001751/0.6512, allocations: 47.88 kB / 0.5422 GB, free: 71.87 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: 401 * Number of variables: 401 Notification: Performance of Generate backend data structure: time 0.004804/0.656, allocations: 1.946 MB / 0.5441 GB, free: 69.86 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.6561, allocations: 8.031 kB / 0.5441 GB, free: 69.85 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001044/0.6571, allocations: 238.5 kB / 0.5443 GB, free: 69.62 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002915/0.66, allocations: 1.32 MB / 0.5456 GB, free: 68.24 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.948e-05/0.6602, allocations: 119.4 kB / 0.5457 GB, free: 68.12 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000438/0.6606, allocations: 148.4 kB / 0.5459 GB, free: 67.98 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/0.6643, allocations: 1.997 MB / 0.5478 GB, free: 65.9 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.751e-05/0.6644, allocations: 4.094 kB / 0.5478 GB, free: 65.89 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001868/0.6645, allocations: 71.92 kB / 0.5479 GB, free: 65.82 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-05/0.6646, allocations: 70.92 kB / 0.548 GB, free: 65.75 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002568/0.6672, allocations: 1.573 MB / 0.5495 GB, free: 64.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009172/0.6764, allocations: 6.866 MB / 0.5562 GB, free: 57.01 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000658/0.6771, allocations: 490.1 kB / 0.5567 GB, free: 56.52 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003781/0.6775, allocations: 290 kB / 0.557 GB, free: 56.24 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002527/0.68, allocations: 1.455 MB / 0.5584 GB, free: 54.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.6801, allocations: 42.55 kB / 0.5584 GB, free: 54.68 MB / 378.7 MB Notification: Performance of pre-optimization done (n=38): time 4.007e-06/0.6801, allocations: 0 / 0.5584 GB, free: 54.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=54): time 0.006015/0.6861, allocations: 3.143 MB / 0.5615 GB, free: 51.45 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001804/0.688, allocations: 2.162 MB / 0.5636 GB, free: 49.13 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002272/0.6903, allocations: 1.572 MB / 0.5651 GB, free: 47.55 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 5.602e-05/0.6903, allocations: 33.7 kB / 0.5652 GB, free: 47.51 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005042/0.6909, allocations: 1.029 MB / 0.5662 GB, free: 46.47 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001692/0.691, allocations: 209.3 kB / 0.5664 GB, free: 46.26 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.104e-05/0.6911, allocations: 28 kB / 0.5664 GB, free: 46.23 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.6912, allocations: 373.8 kB / 0.5667 GB, free: 45.86 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006802/0.6919, allocations: 499.7 kB / 0.5672 GB, free: 45.38 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00096/0.6929, allocations: 1.414 MB / 0.5686 GB, free: 43.51 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001786/0.6947, allocations: 2.056 MB / 0.5706 GB, free: 41 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-05/0.6947, allocations: 8 kB / 0.5706 GB, free: 40.99 MB / 378.7 MB Notification: Performance of matching and sorting (n=199) (initialization): time 0.002965/0.6977, allocations: 2.067 MB / 0.5726 GB, free: 38.91 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.6977, allocations: 20 kB / 0.5727 GB, free: 38.89 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.463e-05/0.6978, allocations: 32.88 kB / 0.5727 GB, free: 38.86 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005093/0.6983, allocations: 238.4 kB / 0.5729 GB, free: 38.61 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009766/0.6993, allocations: 379.4 kB / 0.5733 GB, free: 38.24 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001212/0.7005, allocations: 1.741 MB / 0.575 GB, free: 36.37 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001397/0.7019, allocations: 135.5 kB / 0.5751 GB, free: 36.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.702, allocations: 91.98 kB / 0.5752 GB, free: 36.14 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 148 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (195): * Single equations (assignments): 192 * 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: 1 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0008655/0.7029, allocations: 0.5905 MB / 0.5758 GB, free: 35.54 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002363/0.7031, allocations: 146.1 kB / 0.5759 GB, free: 35.4 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00153/0.7047, allocations: 1.059 MB / 0.5769 GB, free: 34.32 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.04e-06/0.7047, allocations: 4 kB / 0.5769 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.7047, allocations: 0 / 0.5769 GB, free: 34.31 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.071e-06/0.7047, allocations: 7.984 kB / 0.577 GB, free: 34.3 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004562/0.7093, allocations: 3.104 MB / 0.58 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.623e-06/0.7093, allocations: 4 kB / 0.58 GB, free: 31.09 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004053/0.7097, allocations: 95.81 kB / 0.5801 GB, free: 30.99 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005505/0.7103, allocations: 226.8 kB / 0.5803 GB, free: 30.76 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.896e-05/0.7103, allocations: 24 kB / 0.5803 GB, free: 30.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002751/0.7131, allocations: 3.73 MB / 0.584 GB, free: 26.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001489/0.7146, allocations: 2.01 MB / 0.5859 GB, free: 24.57 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001982/0.7166, allocations: 1.618 MB / 0.5875 GB, free: 22.88 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007078/0.7173, allocations: 295.1 kB / 0.5878 GB, free: 22.57 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003604/0.7177, allocations: 16 kB / 0.5878 GB, free: 22.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007331/0.7184, allocations: 48.02 kB / 0.5879 GB, free: 22.51 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001097/0.7185, allocations: 59.8 kB / 0.5879 GB, free: 22.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/0.7186, allocations: 16 kB / 0.5879 GB, free: 22.44 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001621/0.7202, allocations: 1.027 MB / 0.5889 GB, free: 21.41 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.7202, allocations: 8 kB / 0.5889 GB, free: 21.41 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001779/0.722, allocations: 411.9 kB / 0.5893 GB, free: 21 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 1 ($STATESET1.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 46 * 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: 1 {(2,100.0%) 1} * Non-linear torn systems: 1 {3 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004891/0.7225, allocations: 371.2 kB / 0.5897 GB, free: 20.64 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002117/0.7246, allocations: 1.543 MB / 0.5912 GB, free: 19.05 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.7247, allocations: 0 / 0.5912 GB, free: 19.05 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001009/0.7257, allocations: 0.8162 MB / 0.592 GB, free: 18.19 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002367/0.728, allocations: 380.1 kB / 0.5923 GB, free: 17.82 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004426/0.7325, allocations: 3.605 MB / 0.5959 GB, free: 14.13 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001131/0.7336, allocations: 1.464 MB / 0.5973 GB, free: 12.64 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001155/0.7348, allocations: 349.7 kB / 0.5976 GB, free: 12.29 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002667/0.7351, allocations: 111.4 kB / 0.5977 GB, free: 12.18 MB / 378.7 MB Notification: Performance of SimCode: time 9.41e-07/0.7351, allocations: 3.938 kB / 0.5977 GB, free: 12.18 MB / 378.7 MB Notification: Performance of Templates: time 0.03512/0.7702, allocations: 21.78 MB / 0.619 GB, free: 6.543 MB / 394.7 MB make -j1 -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.makefile (rm -f Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; mkfifo Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe >> ../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.sim & ./Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Electrical/Machines/Examples/SynchronousMachines/SMPM_NoLoad/SMPM_NoLoad.csv","../files/Modelica_trunk_Modelica.Electrical.Machines.Examples.SynchronousMachines.SMPM_NoLoad.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches