Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_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_cpp_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_cpp_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.001439/0.001439, allocations: 195.2 kB / 18.07 MB, free: 3.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 226.5 MB / 245.4 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007197/0.0007198, allocations: 102.7 kB / 297.4 MB, free: 6.883 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002552/0.0002552, allocations: 8 kB / 357.4 MB, free: 10.93 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2389/0.2392, allocations: 51.29 MB / 408.7 MB, free: 27.71 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4005/0.6397, allocations: 150 MB / 0.5456 GB, free: 40.82 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002276/0.64, allocations: 104.3 kB / 0.5457 GB, free: 40.81 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6558/1.296, allocations: 242.7 MB / 0.7828 GB, free: 68.12 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.456e-06/1.296, allocations: 0 / 0.7828 GB, free: 68.12 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004365/1.296, allocations: 159.8 kB / 0.7829 GB, free: 67.97 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.02388/1.32, allocations: 7.238 MB / 0.79 GB, free: 60.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.279e-05/1.32, allocations: 19.91 kB / 0.79 GB, free: 60.67 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01955/1.34, allocations: 3.668 MB / 0.7936 GB, free: 57.02 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01342/1.353, allocations: 5.507 MB / 0.799 GB, free: 51.47 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005462/1.354, allocations: 0.5154 MB / 0.7995 GB, free: 50.96 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00291/1.357, allocations: 0.6918 MB / 0.8002 GB, free: 50.28 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02898/1.386, allocations: 11.22 MB / 0.8111 GB, free: 38.86 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000452/1.386, allocations: 19.81 kB / 0.8111 GB, free: 38.84 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002673/1.389, allocations: 297.1 kB / 0.8114 GB, free: 38.56 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0005884/1.39, allocations: 0.5107 MB / 0.8119 GB, free: 38.05 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02184/1.411, allocations: 10.24 MB / 0.8219 GB, free: 27.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3412/1.753, allocations: 38.79 MB / 0.8598 GB, free: 48.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01659/1.769, allocations: 28.35 MB / 0.8875 GB, free: 38.79 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004377/1.774, allocations: 2.622 MB / 0.89 GB, free: 38.75 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01494/1.789, allocations: 8.448 MB / 0.8983 GB, free: 37.23 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.409e-05/1.789, allocations: 60.31 kB / 0.8984 GB, free: 37.19 MB / 474.7 MB Notification: Performance of pre-optimization done (n=217): time 4.439e-06/1.789, allocations: 0 / 0.8984 GB, free: 37.19 MB / 474.7 MB Notification: Performance of matching and sorting (n=233): time 0.01942/1.808, allocations: 10.33 MB / 0.9084 GB, free: 35.73 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001815/1.81, allocations: 1.935 MB / 0.9103 GB, free: 34.26 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006906/1.817, allocations: 3.789 MB / 0.914 GB, free: 33.92 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004554/1.818, allocations: 64.45 kB / 0.9141 GB, free: 33.89 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002123/1.82, allocations: 3.55 MB / 0.9176 GB, free: 31.99 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009493/1.821, allocations: 0.824 MB / 0.9184 GB, free: 31.49 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004536/1.821, allocations: 101.3 kB / 0.9185 GB, free: 31.49 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004078/1.822, allocations: 0.4901 MB / 0.9189 GB, free: 31.18 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003523/1.825, allocations: 1.874 MB / 0.9208 GB, free: 31.16 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00426/1.829, allocations: 4.322 MB / 0.925 GB, free: 28.05 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007221/1.837, allocations: 6.697 MB / 0.9315 GB, free: 24.92 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001032/1.837, allocations: 24.22 kB / 0.9316 GB, free: 24.92 MB / 474.7 MB Notification: Performance of matching and sorting (n=621) (initialization): time 0.01242/1.849, allocations: 6.913 MB / 0.9383 GB, free: 24.53 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000117/1.849, allocations: 45.58 kB / 0.9383 GB, free: 24.53 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001852/1.849, allocations: 84.78 kB / 0.9384 GB, free: 24.53 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002002/1.851, allocations: 0.7354 MB / 0.9391 GB, free: 24.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003718/1.855, allocations: 1.106 MB / 0.9402 GB, free: 24.5 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006448/1.862, allocations: 5.228 MB / 0.9453 GB, free: 23.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004417/1.866, allocations: 310.5 kB / 0.9456 GB, free: 23.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000973/1.867, allocations: 271 kB / 0.9459 GB, free: 23.1 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.005811/1.873, allocations: 2.525 MB / 0.9484 GB, free: 22.93 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001321/1.874, allocations: 383.5 kB / 0.9487 GB, free: 22.73 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008416/1.883, allocations: 4.251 MB / 0.9529 GB, free: 21.56 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.629e-05/1.883, allocations: 23.81 kB / 0.9529 GB, free: 21.56 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.396e-05/1.883, allocations: 9.688 kB / 0.9529 GB, free: 21.55 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.874e-05/1.883, allocations: 11.16 kB / 0.9529 GB, free: 21.55 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03175/1.915, allocations: 14.18 MB / 0.9668 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.081e-05/1.915, allocations: 10.28 kB / 0.9668 GB, free: 15.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001866/1.917, allocations: 468.5 kB / 0.9672 GB, free: 15.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/1.919, allocations: 0.6899 MB / 0.9679 GB, free: 15.03 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003602/1.919, allocations: 73.06 kB / 0.968 GB, free: 14.99 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008201/1.927, allocations: 6.961 MB / 0.9748 GB, free: 10.39 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001746/1.929, allocations: 1.864 MB / 0.9766 GB, free: 8.727 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01027/1.939, allocations: 6.635 MB / 0.9831 GB, free: 5.395 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002324/1.942, allocations: 0.7979 MB / 0.9838 GB, free: 4.891 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001192/1.943, allocations: 64.06 kB / 0.9839 GB, free: 4.855 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002569/1.945, allocations: 171.2 kB / 0.9841 GB, free: 4.816 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005162/1.946, allocations: 221.1 kB / 0.9843 GB, free: 4.766 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002485/1.946, allocations: 88.36 kB / 0.9844 GB, free: 4.75 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006193/1.952, allocations: 2.479 MB / 0.9868 GB, free: 3.793 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.9e-07/1.952, allocations: 4 kB / 0.9868 GB, free: 3.789 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007113/1.96, allocations: 1.362 MB / 0.9881 GB, free: 3.641 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.001371/1.961, allocations: 0.6051 MB / 0.9887 GB, free: 3.391 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.008619/1.97, allocations: 5.082 MB / 0.9937 GB, free: 468 kB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.231e-05/1.97, allocations: 0 / 0.9937 GB, free: 468 kB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008409/1.978, allocations: 2.706 MB / 0.9963 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.01088/1.989, allocations: 0.931 MB / 0.9972 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02596/2.015, allocations: 14.69 MB / 1.012 GB, free: 0.6445 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005025/2.02, allocations: 4.394 MB / 1.016 GB, free: 13.24 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001454/2.021, allocations: 329.8 kB / 1.016 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of SimCode: time 1.333e-06/2.022, allocations: 0 / 1.016 GB, free: 12.93 MB / 0.4948 GB Notification: Performance of Templates: time 0.5162/2.538, allocations: 202.5 MB / 1.214 GB, free: 7.996 MB / 0.5105 GB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches