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/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009003/0.0009003, allocations: 84.73 kB / 21.5 MB, free: 2.992 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009062/0.0009062, allocations: 166.2 kB / 24.91 MB, free: 8.77 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8899/0.8899, allocations: 177 MB / 205.2 MB, free: 5.051 MB / 186.7 MB " [Timeout remaining time 179] 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) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,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=1000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 273.5 MB, free: 0.9844 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.845e-05/1.986e-05, allocations: 2.312 kB / 273.5 MB, free: 0.9805 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.14/0.14, allocations: 29.33 MB / 302.8 MB, free: 13.6 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.1564, allocations: 9.189 MB / 312 MB, free: 7.812 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003712/0.1601, allocations: 226.2 kB / 312.2 MB, free: 7.742 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.005392/0.1655, allocations: 5.182 MB / 317.4 MB, free: 4.281 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.005395/0.1709, allocations: 3.124 MB / 320.5 MB, free: 1.754 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001964/0.1729, allocations: 1.62 MB / 322.1 MB, free: 476 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00754/0.1804, allocations: 9.215 MB / 331.3 MB, free: 8.172 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009044/0.1895, allocations: 9.383 MB / 340.7 MB, free: 14.66 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006171/0.1956, allocations: 6.442 MB / 347.2 MB, free: 8.207 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004812/0.2004, allocations: 4.6 MB / 351.8 MB, free: 3.598 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001525/0.202, allocations: 1.156 MB / 352.9 MB, free: 2.441 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001996/0.204, allocations: 1.55 MB / 354.5 MB, free: 0.8867 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001271/0.2052, allocations: 2.489 MB / 357 MB, free: 14.39 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003088/0.2083, allocations: 3.185 MB / 360.2 MB, free: 11.2 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.007619/0.2159, allocations: 7.778 MB / 367.9 MB, free: 3.398 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2159, allocations: 0 / 367.9 MB, free: 3.398 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.543e-06/0.2159, allocations: 0 / 367.9 MB, free: 3.398 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000192/0.2161, allocations: 3.938 kB / 367.9 MB, free: 3.395 MB / 314.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.01613/0.2323, allocations: 9.39 MB / 377.3 MB, free: 9.922 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.2323, allocations: 12.03 kB / 377.3 MB, free: 9.91 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02256/0.2549, allocations: 5.202 MB / 382.5 MB, free: 4.703 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005254/0.2601, allocations: 2.799 MB / 385.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003367/0.2605, allocations: 0.5299 MB / 385.9 MB, free: 1.27 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009445/0.2614, allocations: 0.7147 MB / 386.6 MB, free: 0.5547 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008167/0.2696, allocations: 5.956 MB / 392.5 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001381/0.2697, allocations: 19.92 kB / 392.6 MB, free: 10.44 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006375/0.2703, allocations: 300 kB / 392.9 MB, free: 10.15 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003693/0.2707, allocations: 443 kB / 393.3 MB, free: 9.715 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005037/0.2758, allocations: 3.029 MB / 396.3 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0211/0.2968, allocations: 23.28 MB / 419.6 MB, free: 14.46 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004768/0.3016, allocations: 4.378 MB / 424 MB, free: 10.11 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001008/0.3026, allocations: 0.9525 MB / 424.9 MB, free: 9.145 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.004946/0.3076, allocations: 3.766 MB / 428.7 MB, free: 5.328 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.397e-05/0.3076, allocations: 56.56 kB / 428.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.256e-06/0.3076, allocations: 0 / 428.7 MB, free: 5.266 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.006909/0.3145, allocations: 4.725 MB / 433.5 MB, free: 0.5469 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1282/0.4428, allocations: 1.595 MB / 435.1 MB, free: 88.7 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00381/0.4466, allocations: 2.628 MB / 437.7 MB, free: 88.48 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004242/0.447, allocations: 64.2 kB / 437.8 MB, free: 88.45 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001607/0.4486, allocations: 3.339 MB / 441.1 MB, free: 87.17 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008282/0.4494, allocations: 0.8567 MB / 442 MB, free: 86.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001117/0.4505, allocations: 0.9099 MB / 442.9 MB, free: 86.64 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.634e-05/0.4506, allocations: 307.5 kB / 443.2 MB, free: 86.34 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/0.4519, allocations: 0.6824 MB / 443.8 MB, free: 86.31 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001981/0.4539, allocations: 3.129 MB / 447 MB, free: 83.09 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003359/0.4573, allocations: 4.127 MB / 451.1 MB, free: 79.93 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001122/0.4574, allocations: 25.66 kB / 451.1 MB, free: 79.93 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.004828/0.4622, allocations: 3.473 MB / 454.6 MB, free: 79.75 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.4623, allocations: 47.19 kB / 454.6 MB, free: 79.75 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.231e-05/0.4624, allocations: 90.56 kB / 454.7 MB, free: 79.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001276/0.4636, allocations: 0.6449 MB / 455.4 MB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/0.4657, allocations: 1.088 MB / 456.5 MB, free: 79.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00257/0.4683, allocations: 2.897 MB / 459.4 MB, free: 78.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002343/0.4706, allocations: 235.8 kB / 459.6 MB, free: 78.45 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.4709, allocations: 231 kB / 459.8 MB, free: 78.45 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 393 * 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 (590): * Single equations (assignments): 587 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 2 systems {(2,100.0%), (2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.001374/0.4723, allocations: 476.4 kB / 460.3 MB, free: 78.33 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004802/0.4727, allocations: 289.6 kB / 460.6 MB, free: 78.33 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002374/0.4751, allocations: 1.876 MB / 462.4 MB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.164e-05/0.4751, allocations: 25.84 kB / 462.5 MB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.4751, allocations: 7.938 kB / 462.5 MB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.422e-05/0.4751, allocations: 12.61 kB / 462.5 MB, free: 78.11 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01018/0.4853, allocations: 7.829 MB / 470.3 MB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-05/0.4853, allocations: 13.81 kB / 470.3 MB, free: 77.03 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009754/0.4863, allocations: 433.9 kB / 470.8 MB, free: 77.01 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001496/0.4878, allocations: 0.7683 MB / 471.5 MB, free: 76.52 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001464/0.488, allocations: 67.67 kB / 471.6 MB, free: 76.5 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003055/0.491, allocations: 4.216 MB / 475.8 MB, free: 73.15 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0006394/0.4917, allocations: 1.545 MB / 477.3 MB, free: 71.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003154/0.4948, allocations: 2.692 MB / 480 MB, free: 69.28 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/0.496, allocations: 441 kB / 480.5 MB, free: 68.89 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003704/0.4963, allocations: 67.27 kB / 480.5 MB, free: 68.82 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007491/0.4971, allocations: 91.53 kB / 480.6 MB, free: 68.74 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003065/0.4974, allocations: 221.8 kB / 480.8 MB, free: 68.63 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001009/0.4975, allocations: 68.62 kB / 480.9 MB, free: 68.57 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001248/0.4987, allocations: 1.201 MB / 482.1 MB, free: 67.71 MB / 378.7 MB Notification: Performance of sort global known variables: time 6e-08/0.4987, allocations: 4 kB / 482.1 MB, free: 67.71 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003741/0.5025, allocations: 1.291 MB / 483.4 MB, free: 66.42 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 49 * 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 (241): * Single equations (assignments): 238 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 0 systems * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(4,32,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(3,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003903/0.5029, allocations: 228.8 kB / 483.6 MB, free: 66.24 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003278/0.5061, allocations: 2.547 MB / 486.2 MB, free: 63.99 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 0.0001092/0.5063, allocations: 67.94 kB / 486.2 MB, free: 63.91 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001335/0.5076, allocations: 1.273 MB / 487.5 MB, free: 62.72 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00248/0.5101, allocations: 0.8888 MB / 488.4 MB, free: 61.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01269/0.5228, allocations: 10.52 MB / 498.9 MB, free: 51.22 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001254/0.524, allocations: 1.341 MB / 0.4885 GB, free: 49.85 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001807/0.5258, allocations: 0.6126 MB / 0.4891 GB, free: 49.23 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001345/0.5272, allocations: 0.8612 MB / 0.49 GB, free: 48.36 MB / 378.7 MB Notification: Performance of SimCode: time 3.236e-06/0.5272, allocations: 0 / 0.49 GB, free: 48.36 MB / 378.7 MB Notification: Performance of Templates: time 0.06538/0.5926, allocations: 53.16 MB / 0.5419 GB, free: 12.02 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (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=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] 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.1.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.018999991938472]