Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.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.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002174/0.002174, allocations: 196.9 kB / 18.11 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.341/1.341, allocations: 226.5 MB / 245.4 MB, free: 8.195 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008416/0.0008416, allocations: 103 kB / 297.5 MB, free: 6.898 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002067/0.0002068, allocations: 4 kB / 358.1 MB, free: 10.27 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2155/0.2157, allocations: 51.29 MB / 409.4 MB, free: 27.64 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3847/0.6004, allocations: 150 MB / 0.5463 GB, free: 40.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002469/0.6007, allocations: 106.2 kB / 0.5464 GB, free: 40.66 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7072/1.308, allocations: 242.7 MB / 0.7835 GB, free: 68.17 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.427e-06/1.308, allocations: 0 / 0.7835 GB, free: 68.17 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0006353/1.309, allocations: 159.8 kB / 0.7836 GB, free: 68.01 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1994 * Number of variables: 1994 Notification: Performance of Generate backend data structure: time 0.0245/1.333, allocations: 7.234 MB / 0.7907 GB, free: 60.73 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/1.333, allocations: 8.031 kB / 0.7907 GB, free: 60.72 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02076/1.354, allocations: 3.679 MB / 0.7943 GB, free: 57.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01477/1.369, allocations: 5.505 MB / 0.7997 GB, free: 51.52 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006623/1.37, allocations: 0.5218 MB / 0.8002 GB, free: 51.01 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003391/1.373, allocations: 0.6918 MB / 0.8009 GB, free: 50.32 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03143/1.404, allocations: 11.21 MB / 0.8118 GB, free: 38.91 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004601/1.405, allocations: 15.81 kB / 0.8118 GB, free: 38.89 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002743/1.408, allocations: 307.7 kB / 0.8121 GB, free: 38.6 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005919/1.408, allocations: 0.5068 MB / 0.8126 GB, free: 38.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02325/1.432, allocations: 10.23 MB / 0.8226 GB, free: 27.86 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3787/1.81, allocations: 38.8 MB / 0.8605 GB, free: 48.61 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01906/1.829, allocations: 28.35 MB / 0.8882 GB, free: 39.04 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004702/1.834, allocations: 2.628 MB / 0.8908 GB, free: 39.01 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0166/1.851, allocations: 8.443 MB / 0.899 GB, free: 37.49 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.521e-05/1.851, allocations: 59.38 kB / 0.8991 GB, free: 37.45 MB / 474.7 MB Notification: Performance of pre-optimization done (n=217): time 6.141e-06/1.851, allocations: 0 / 0.8991 GB, free: 37.45 MB / 474.7 MB Notification: Performance of matching and sorting (n=233): time 0.01992/1.871, allocations: 10.33 MB / 0.9091 GB, free: 35.99 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001813/1.873, allocations: 1.922 MB / 0.911 GB, free: 34.53 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006408/1.879, allocations: 3.8 MB / 0.9147 GB, free: 34.18 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004433/1.88, allocations: 67.92 kB / 0.9148 GB, free: 34.15 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001843/1.882, allocations: 3.545 MB / 0.9183 GB, free: 32.25 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007551/1.882, allocations: 0.8277 MB / 0.9191 GB, free: 31.75 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/1.882, allocations: 97.94 kB / 0.9192 GB, free: 31.75 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002713/1.883, allocations: 0.4925 MB / 0.9196 GB, free: 31.44 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002474/1.885, allocations: 1.871 MB / 0.9215 GB, free: 31.42 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003316/1.889, allocations: 4.325 MB / 0.9257 GB, free: 28.31 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006378/1.895, allocations: 6.698 MB / 0.9322 GB, free: 25.18 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.425e-05/1.895, allocations: 22.88 kB / 0.9323 GB, free: 25.18 MB / 474.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01054/1.906, allocations: 6.912 MB / 0.939 GB, free: 24.79 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.87e-05/1.906, allocations: 40.91 kB / 0.939 GB, free: 24.79 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001106/1.906, allocations: 83.34 kB / 0.9391 GB, free: 24.79 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00176/1.908, allocations: 0.7434 MB / 0.9399 GB, free: 24.76 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003557/1.911, allocations: 1.098 MB / 0.9409 GB, free: 24.76 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006203/1.917, allocations: 5.23 MB / 0.946 GB, free: 23.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004636/1.922, allocations: 309.8 kB / 0.9463 GB, free: 23.36 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000787/1.923, allocations: 270.3 kB / 0.9466 GB, free: 23.36 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 385 * 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 (584): * Single equations (assignments): 581 * 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 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005555/1.928, allocations: 2.514 MB / 0.949 GB, free: 23.19 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001046/1.93, allocations: 391.4 kB / 0.9494 GB, free: 23 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006883/1.936, allocations: 4.244 MB / 0.9536 GB, free: 21.72 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/1.936, allocations: 26.34 kB / 0.9536 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.419e-05/1.936, allocations: 9.406 kB / 0.9536 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-05/1.936, allocations: 11.48 kB / 0.9536 GB, free: 21.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02415/1.961, allocations: 14.19 MB / 0.9675 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.86e-05/1.961, allocations: 16 kB / 0.9675 GB, free: 15.39 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001686/1.962, allocations: 466.6 kB / 0.9679 GB, free: 15.36 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001862/1.964, allocations: 0.6925 MB / 0.9686 GB, free: 15.19 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002303/1.965, allocations: 70.06 kB / 0.9687 GB, free: 15.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007807/1.972, allocations: 6.962 MB / 0.9755 GB, free: 10.55 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001626/1.974, allocations: 1.869 MB / 0.9773 GB, free: 8.879 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009212/1.983, allocations: 6.641 MB / 0.9838 GB, free: 5.551 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00193/1.985, allocations: 0.7904 MB / 0.9845 GB, free: 5.047 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005101/1.986, allocations: 62.55 kB / 0.9846 GB, free: 5.012 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001656/1.987, allocations: 171.3 kB / 0.9848 GB, free: 4.973 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004041/1.988, allocations: 219.4 kB / 0.985 GB, free: 4.922 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001555/1.988, allocations: 82.03 kB / 0.9851 GB, free: 4.906 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.004684/1.993, allocations: 2.485 MB / 0.9875 GB, free: 3.945 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.7e-07/1.993, allocations: 0 / 0.9875 GB, free: 3.945 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006323/1.999, allocations: 1.363 MB / 0.9888 GB, free: 3.797 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 46 * 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 (238): * Single equations (assignments): 235 * 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 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001113/2, allocations: 0.6099 MB / 0.9894 GB, free: 3.551 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007729/2.008, allocations: 5.076 MB / 0.9944 GB, free: 0.6289 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.369e-05/2.008, allocations: 4 kB / 0.9944 GB, free: 0.625 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007128/2.015, allocations: 2.636 MB / 0.9969 GB, free: 15.13 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01086/2.026, allocations: 0.9337 MB / 0.9979 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02938/2.055, allocations: 14.77 MB / 1.012 GB, free: 0.6016 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008693/2.064, allocations: 4.542 MB / 1.017 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.006089/2.07, allocations: 1.397 MB / 1.018 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001305/2.072, allocations: 296.2 kB / 1.018 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of SimCode: time 6.81e-07/2.072, allocations: 0 / 1.018 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of Templates: time 0.4052/2.477, allocations: 58.32 MB / 1.075 GB, free: 101.1 MB / 0.4948 GB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches