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.001349/0.001349, allocations: 196.1 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 225.4 MB / 240.1 MB, free: 15.09 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008602/0.0008602, allocations: 89.83 kB / 292.1 MB, free: 5.965 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.994e-05/3.017e-05, allocations: 7.938 kB / 350.6 MB, free: 2.512 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09533/0.09538, allocations: 51.48 MB / 402.1 MB, free: 14.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3975/0.4929, allocations: 149.7 MB / 0.5389 GB, free: 4.773 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003709/0.4934, allocations: 103.7 kB / 0.539 GB, free: 4.719 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.031/1.525, allocations: 244.4 MB / 0.7776 GB, free: 35.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.593e-06/1.525, allocations: 0 / 0.7776 GB, free: 35.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005384/1.525, allocations: 161 kB / 0.7777 GB, free: 35.78 MB / 442.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.02746/1.553, allocations: 6.829 MB / 0.7844 GB, free: 33.48 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.034e-05/1.553, allocations: 9.5 kB / 0.7844 GB, free: 33.48 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02125/1.574, allocations: 3.652 MB / 0.788 GB, free: 33.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01673/1.591, allocations: 6.044 MB / 0.7939 GB, free: 32.26 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005835/1.592, allocations: 0.5264 MB / 0.7944 GB, free: 32.24 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002967/1.595, allocations: 0.6852 MB / 0.7951 GB, free: 32.24 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02918/1.624, allocations: 11.03 MB / 0.8058 GB, free: 31.42 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004922/1.624, allocations: 22.45 kB / 0.8059 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002974/1.627, allocations: 297.4 kB / 0.8061 GB, free: 31.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0006703/1.628, allocations: 0.5151 MB / 0.8067 GB, free: 31.39 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02704/1.655, allocations: 10.06 MB / 0.8165 GB, free: 31.33 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07157/1.727, allocations: 38.81 MB / 0.8544 GB, free: 11.56 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0222/1.749, allocations: 28.3 MB / 0.882 GB, free: 15.98 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005284/1.754, allocations: 2.591 MB / 0.8845 GB, free: 14.97 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01891/1.773, allocations: 8.458 MB / 0.8928 GB, free: 10.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.882e-05/1.773, allocations: 59.22 kB / 0.8929 GB, free: 10.3 MB / 474.7 MB Notification: Performance of pre-optimization done (n=217): time 4.759e-06/1.773, allocations: 0 / 0.8929 GB, free: 10.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=233): time 0.01823/1.792, allocations: 8.333 MB / 0.901 GB, free: 5.766 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002275/1.794, allocations: 1.916 MB / 0.9029 GB, free: 3.781 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007515/1.801, allocations: 3.334 MB / 0.9061 GB, free: 0.7578 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004484/1.802, allocations: 65.7 kB / 0.9062 GB, free: 0.6875 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002908/1.805, allocations: 3.561 MB / 0.9097 GB, free: 13.56 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.806, allocations: 0.8297 MB / 0.9105 GB, free: 12.82 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005514/1.807, allocations: 96 kB / 0.9106 GB, free: 12.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0004544/1.807, allocations: 0.493 MB / 0.911 GB, free: 12.28 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003308/1.81, allocations: 1.835 MB / 0.9128 GB, free: 10.62 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004883/1.815, allocations: 4.256 MB / 0.917 GB, free: 5.445 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004484/1.82, allocations: 2.797 MB / 0.9197 GB, free: 3.098 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.094e-05/1.82, allocations: 28 kB / 0.9198 GB, free: 3.07 MB / 490.7 MB Notification: Performance of matching and sorting (n=620) (initialization): time 0.3243/2.144, allocations: 6.822 MB / 0.9264 GB, free: 76.4 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.304e-05/2.144, allocations: 41.12 kB / 0.9265 GB, free: 76.4 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001494/2.145, allocations: 90.19 kB / 0.9265 GB, free: 76.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002096/2.147, allocations: 0.7434 MB / 0.9273 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00427/2.151, allocations: 1.098 MB / 0.9283 GB, free: 76.38 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006546/2.157, allocations: 5.207 MB / 0.9334 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005508/2.163, allocations: 309.1 kB / 0.9337 GB, free: 75.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/2.164, allocations: 271.3 kB / 0.934 GB, free: 75.1 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 384 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (583): * Single equations (assignments): 580 * 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.0008467/2.165, allocations: 445.8 kB / 0.9344 GB, free: 74.99 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001037/2.166, allocations: 386.3 kB / 0.9348 GB, free: 74.99 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006817/2.173, allocations: 4.205 MB / 0.9389 GB, free: 74.81 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/2.173, allocations: 24.09 kB / 0.9389 GB, free: 74.81 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.092e-05/2.173, allocations: 11.11 kB / 0.9389 GB, free: 74.81 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.253e-05/2.173, allocations: 16.08 kB / 0.9389 GB, free: 74.81 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02274/2.196, allocations: 14.15 MB / 0.9527 GB, free: 73.82 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.246e-05/2.196, allocations: 14.09 kB / 0.9528 GB, free: 73.82 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002072/2.198, allocations: 472 kB / 0.9532 GB, free: 73.82 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002235/2.2, allocations: 0.6914 MB / 0.9539 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004382/2.201, allocations: 68.23 kB / 0.9539 GB, free: 73.79 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008446/2.209, allocations: 6.925 MB / 0.9607 GB, free: 71.24 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001479/2.211, allocations: 1.865 MB / 0.9625 GB, free: 69.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01201/2.223, allocations: 7.739 MB / 0.9701 GB, free: 67.49 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002891/2.226, allocations: 0.7972 MB / 0.9709 GB, free: 67.19 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001336/2.227, allocations: 64.58 kB / 0.9709 GB, free: 67.19 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002961/2.23, allocations: 170.8 kB / 0.9711 GB, free: 67.19 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005807/2.231, allocations: 214.7 kB / 0.9713 GB, free: 67.18 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002215/2.231, allocations: 85.34 kB / 0.9714 GB, free: 67.18 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.005569/2.236, allocations: 2.442 MB / 0.9738 GB, free: 66.98 MB / 490.7 MB Notification: Performance of sort global known variables: time 3.81e-07/2.236, allocations: 0 / 0.9738 GB, free: 66.98 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.009082/2.245, allocations: 1.363 MB / 0.9751 GB, free: 66.97 MB / 490.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 () * 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.001848/2.247, allocations: 0.7328 MB / 0.9758 GB, free: 66.82 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.008631/2.256, allocations: 4.995 MB / 0.9807 GB, free: 66.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.511e-05/2.256, allocations: 6.984 kB / 0.9807 GB, free: 66.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003794/2.26, allocations: 2.346 MB / 0.983 GB, free: 66.03 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005703/2.266, allocations: 0.9144 MB / 0.9839 GB, free: 66.01 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02902/2.295, allocations: 10.71 MB / 0.9943 GB, free: 63.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009032/2.304, allocations: 4.619 MB / 0.9989 GB, free: 62.58 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.005697/2.309, allocations: 1.398 MB / 1 GB, free: 62.43 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001177/2.311, allocations: 298.1 kB / 1 GB, free: 62.41 MB / 490.7 MB Notification: Performance of SimCode: time 1.082e-06/2.311, allocations: 0 / 1 GB, free: 62.41 MB / 490.7 MB Notification: Performance of Templates: time 0.1076/2.418, allocations: 58.56 MB / 1.058 GB, free: 46.46 MB / 490.7 MB 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/jenkins/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