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.0009438/0.0009438, allocations: 88.86 kB / 21.5 MB, free: 2.988 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.0009069/0.0009069, allocations: 160.9 kB / 24.91 MB, free: 8.719 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.8988/0.8988, allocations: 177 MB / 205.2 MB, free: 5.035 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.393e-06/1.393e-06, allocations: 0 / 273.4 MB, free: 1.031 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.758e-06/1.115e-05, allocations: 2.312 kB / 273.4 MB, free: 1.027 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1168/0.1168, allocations: 29.29 MB / 302.7 MB, free: 13.65 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01378/0.1305, allocations: 9.189 MB / 311.9 MB, free: 7.887 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003225/0.1338, allocations: 226.4 kB / 312.1 MB, free: 7.816 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00508/0.1388, allocations: 5.224 MB / 317.3 MB, free: 4.336 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004389/0.1432, allocations: 3.143 MB / 320.5 MB, free: 1.812 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001875/0.1451, allocations: 1.63 MB / 322.1 MB, free: 0.5195 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006529/0.1516, allocations: 9.203 MB / 331.3 MB, free: 8.219 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.008527/0.1602, allocations: 9.396 MB / 340.7 MB, free: 14.7 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005525/0.1657, allocations: 6.438 MB / 347.2 MB, free: 8.246 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003552/0.1692, allocations: 4.592 MB / 351.7 MB, free: 3.645 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008683/0.1701, allocations: 1.16 MB / 352.9 MB, free: 2.484 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001676/0.1718, allocations: 1.53 MB / 354.4 MB, free: 0.9492 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001293/0.1731, allocations: 2.505 MB / 356.9 MB, free: 14.44 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002228/0.1753, allocations: 3.169 MB / 360.1 MB, free: 11.26 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005645/0.181, allocations: 7.778 MB / 367.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.181, allocations: 0 / 367.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.181, allocations: 0 / 367.9 MB, free: 3.461 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.127e-05/0.181, allocations: 0 / 367.9 MB, free: 3.461 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.01062/0.1916, allocations: 9.397 MB / 377.3 MB, free: 9.98 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.117e-05/0.1917, allocations: 8.031 kB / 377.3 MB, free: 9.973 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01314/0.2048, allocations: 5.206 MB / 382.5 MB, free: 4.762 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004082/0.2089, allocations: 2.792 MB / 385.3 MB, free: 1.867 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002411/0.2091, allocations: 0.5337 MB / 385.8 MB, free: 1.332 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007314/0.2099, allocations: 0.7108 MB / 386.5 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00622/0.2161, allocations: 5.967 MB / 392.5 MB, free: 10.52 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001179/0.2162, allocations: 15.89 kB / 392.5 MB, free: 10.5 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004839/0.2167, allocations: 296 kB / 392.8 MB, free: 10.21 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002788/0.217, allocations: 446.9 kB / 393.2 MB, free: 9.773 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004542/0.2215, allocations: 3.033 MB / 396.3 MB, free: 6.727 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02284/0.2443, allocations: 23.28 MB / 419.6 MB, free: 14.52 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005008/0.2493, allocations: 4.389 MB / 423.9 MB, free: 10.15 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009961/0.2503, allocations: 0.9526 MB / 424.9 MB, free: 9.188 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005148/0.2555, allocations: 3.767 MB / 428.7 MB, free: 5.371 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.094e-05/0.2555, allocations: 56.56 kB / 428.7 MB, free: 5.309 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.506e-06/0.2555, allocations: 0 / 428.7 MB, free: 5.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.007134/0.2627, allocations: 4.721 MB / 433.4 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1131/0.3758, allocations: 1.586 MB / 435 MB, free: 90.53 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003873/0.3797, allocations: 2.631 MB / 437.7 MB, free: 90.3 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004048/0.3801, allocations: 63.05 kB / 437.7 MB, free: 90.27 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001308/0.3814, allocations: 3.338 MB / 441.1 MB, free: 88.63 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000492/0.3819, allocations: 0.8562 MB / 441.9 MB, free: 88.1 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009284/0.3828, allocations: 0.9134 MB / 442.8 MB, free: 88 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 2.055e-05/0.3828, allocations: 307.7 kB / 443.1 MB, free: 87.7 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001205/0.384, allocations: 0.6844 MB / 443.8 MB, free: 87.67 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001779/0.3858, allocations: 3.129 MB / 446.9 MB, free: 84.45 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/0.3885, allocations: 4.126 MB / 451.1 MB, free: 81.29 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.184e-05/0.3885, allocations: 26.41 kB / 451.1 MB, free: 81.29 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.003775/0.3923, allocations: 3.475 MB / 454.6 MB, free: 81.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.3923, allocations: 42.84 kB / 454.6 MB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.124e-05/0.3924, allocations: 89.06 kB / 454.7 MB, free: 81.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001118/0.3935, allocations: 0.6576 MB / 455.4 MB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00176/0.3953, allocations: 1.033 MB / 456.4 MB, free: 81.05 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002171/0.3974, allocations: 2.87 MB / 459.3 MB, free: 79.85 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001677/0.3991, allocations: 233.8 kB / 459.5 MB, free: 79.81 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/0.3993, allocations: 230.3 kB / 459.7 MB, free: 79.81 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.001006/0.4003, allocations: 483.6 kB / 460.2 MB, free: 79.64 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003517/0.4007, allocations: 295.7 kB / 460.5 MB, free: 79.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002124/0.4028, allocations: 1.863 MB / 462.3 MB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.047e-06/0.4028, allocations: 26.28 kB / 462.4 MB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.4028, allocations: 7.688 kB / 462.4 MB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/0.4028, allocations: 12.09 kB / 462.4 MB, free: 79.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007613/0.4104, allocations: 7.834 MB / 470.2 MB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.766e-06/0.4104, allocations: 14.14 kB / 470.2 MB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007947/0.4112, allocations: 407 kB / 470.6 MB, free: 78.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001254/0.4125, allocations: 0.7672 MB / 471.4 MB, free: 77.94 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001039/0.4126, allocations: 63.92 kB / 471.5 MB, free: 77.92 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002579/0.4152, allocations: 4.187 MB / 475.6 MB, free: 74.59 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0005192/0.4157, allocations: 1.554 MB / 477.2 MB, free: 73.09 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002414/0.4181, allocations: 2.69 MB / 479.9 MB, free: 70.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005913/0.4187, allocations: 433 kB / 480.3 MB, free: 70.45 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002578/0.4189, allocations: 61.38 kB / 480.4 MB, free: 70.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006972/0.4196, allocations: 90.12 kB / 480.5 MB, free: 70.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002089/0.4199, allocations: 231.6 kB / 480.7 MB, free: 70.22 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.268e-05/0.4199, allocations: 71.5 kB / 480.7 MB, free: 70.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0007931/0.4207, allocations: 1.202 MB / 482 MB, free: 69.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 7e-08/0.4207, allocations: 6.625 kB / 482 MB, free: 69.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00226/0.423, allocations: 1.281 MB / 483.2 MB, free: 68.06 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.0002905/0.4233, allocations: 233.2 kB / 483.5 MB, free: 67.87 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002154/0.4254, allocations: 2.546 MB / 486 MB, free: 65.77 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 8.997e-05/0.4255, allocations: 67.94 kB / 486.1 MB, free: 65.7 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001018/0.4265, allocations: 1.273 MB / 487.4 MB, free: 64.5 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001771/0.4283, allocations: 0.884 MB / 488.2 MB, free: 63.67 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008587/0.4369, allocations: 10.54 MB / 498.8 MB, free: 52.98 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001205/0.4381, allocations: 1.344 MB / 0.4884 GB, free: 51.6 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001574/0.4397, allocations: 0.6048 MB / 0.489 GB, free: 50.99 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001551/0.4412, allocations: 0.8544 MB / 0.4898 GB, free: 50.13 MB / 378.7 MB Notification: Performance of SimCode: time 6.71e-07/0.4412, allocations: 0 / 0.4898 GB, free: 50.13 MB / 378.7 MB Notification: Performance of Templates: time 0.07234/0.5136, allocations: 53.16 MB / 0.5417 GB, free: 13.79 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 -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: 3.883214616216719]