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.001093/0.001093, allocations: 95.5 kB / 21.2 MB, free: 3.371 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.001045/0.001045, allocations: 160.5 kB / 24.55 MB, free: 16 kB / 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 1.009/1.009, allocations: 177 MB / 204.8 MB, free: 5.566 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.152e-06/1.152e-06, allocations: 0 / 272.9 MB, free: 1.406 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.491e-05/1.606e-05, allocations: 2.312 kB / 273 MB, free: 1.402 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.159/0.159, allocations: 30.6 MB / 303.5 MB, free: 13.23 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01715/0.1761, allocations: 8.801 MB / 312.3 MB, free: 7.68 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006563/0.1827, allocations: 226.5 kB / 312.6 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008235/0.1909, allocations: 5.21 MB / 317.8 MB, free: 4.195 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008921/0.1999, allocations: 3.148 MB / 320.9 MB, free: 1.684 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003763/0.2036, allocations: 1.614 MB / 322.5 MB, free: 424 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.01078/0.2144, allocations: 9.207 MB / 331.7 MB, free: 7.949 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01271/0.2271, allocations: 9.134 MB / 340.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0103/0.2374, allocations: 6.411 MB / 347.3 MB, free: 8.293 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007222/0.2446, allocations: 4.471 MB / 351.8 MB, free: 3.812 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.003027/0.2477, allocations: 1.164 MB / 352.9 MB, free: 2.648 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005011/0.2527, allocations: 1.538 MB / 354.5 MB, free: 1.105 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002436/0.2551, allocations: 2.501 MB / 357 MB, free: 14.6 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005839/0.2609, allocations: 3.189 MB / 360.2 MB, free: 11.4 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01043/0.2714, allocations: 7.791 MB / 367.9 MB, free: 3.59 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.2714, allocations: 0 / 367.9 MB, free: 3.59 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.373e-06/0.2714, allocations: 0 / 367.9 MB, free: 3.59 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000313/0.2717, allocations: 0 / 367.9 MB, free: 3.59 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.01771/0.2894, allocations: 10.4 MB / 378.3 MB, free: 9.094 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.2894, allocations: 12.03 kB / 378.4 MB, free: 9.082 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.017/0.3064, allocations: 6.519 MB / 384.9 MB, free: 2.555 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008424/0.3149, allocations: 4.883 MB / 389.8 MB, free: 13.57 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003407/0.3152, allocations: 0.5338 MB / 390.3 MB, free: 13.04 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001291/0.3165, allocations: 0.7108 MB / 391 MB, free: 12.33 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01501/0.3315, allocations: 6.403 MB / 397.4 MB, free: 5.773 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002137/0.3317, allocations: 15.94 kB / 397.4 MB, free: 5.758 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007269/0.3324, allocations: 304 kB / 397.7 MB, free: 5.461 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004/0.3328, allocations: 443 kB / 398.2 MB, free: 5.027 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00965/0.3425, allocations: 3.745 MB / 401.9 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04086/0.3834, allocations: 30.69 MB / 432.6 MB, free: 1.641 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1624/0.5457, allocations: 6.509 MB / 439.1 MB, free: 84.25 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002597/0.5483, allocations: 1.238 MB / 440.3 MB, free: 84.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008247/0.5566, allocations: 5.024 MB / 445.4 MB, free: 83.73 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.404e-05/0.5566, allocations: 59.16 kB / 445.4 MB, free: 83.69 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.797e-06/0.5566, allocations: 0.875 kB / 445.4 MB, free: 83.69 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01104/0.5677, allocations: 6.381 MB / 451.8 MB, free: 82.59 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001233/0.5689, allocations: 2.235 MB / 454 MB, free: 80.61 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004655/0.5736, allocations: 3.345 MB / 457.4 MB, free: 80.16 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001506/0.5737, allocations: 65.2 kB / 457.4 MB, free: 80.13 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001897/0.5756, allocations: 3.87 MB / 461.3 MB, free: 78.46 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005637/0.5762, allocations: 0.8819 MB / 462.2 MB, free: 77.93 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00109/0.5773, allocations: 1.035 MB / 463.2 MB, free: 77.82 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.257e-05/0.5773, allocations: 480.7 kB / 463.7 MB, free: 77.35 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001339/0.5786, allocations: 0.6493 MB / 464.4 MB, free: 77.33 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002634/0.5813, allocations: 4.397 MB / 468.7 MB, free: 72.56 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00468/0.586, allocations: 5.536 MB / 474.3 MB, free: 67.79 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.794e-05/0.586, allocations: 24.41 kB / 474.3 MB, free: 67.79 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.00752/0.5935, allocations: 4.611 MB / 478.9 MB, free: 67.39 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.778e-05/0.5936, allocations: 47.34 kB / 479 MB, free: 67.39 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/0.5937, allocations: 87.25 kB / 479 MB, free: 67.32 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001826/0.5955, allocations: 0.7103 MB / 479.8 MB, free: 66.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002559/0.5981, allocations: 1.124 MB / 480.9 MB, free: 65.98 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004059/0.6021, allocations: 3.82 MB / 484.7 MB, free: 62.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002853/0.605, allocations: 313.3 kB / 485 MB, free: 62.43 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002996/0.6053, allocations: 277.7 kB / 485.3 MB, free: 62.17 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.001665/0.607, allocations: 0.5249 MB / 485.8 MB, free: 61.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006072/0.6076, allocations: 441.6 kB / 486.2 MB, free: 61.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004171/0.6117, allocations: 2.477 MB / 488.7 MB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.506e-05/0.6118, allocations: 24 kB / 488.7 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.629e-06/0.6118, allocations: 4 kB / 488.7 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.831e-05/0.6118, allocations: 15.44 kB / 488.8 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01411/0.6259, allocations: 11.51 MB / 0.4885 GB, free: 49.15 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.109e-05/0.6259, allocations: 12 kB / 0.4886 GB, free: 49.14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009789/0.6269, allocations: 485.5 kB / 0.489 GB, free: 48.69 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.6283, allocations: 0.6759 MB / 0.4897 GB, free: 48 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001404/0.6285, allocations: 67.98 kB / 0.4897 GB, free: 47.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004192/0.6327, allocations: 5.743 MB / 0.4954 GB, free: 41.97 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008873/0.6336, allocations: 2.18 MB / 0.4975 GB, free: 39.68 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004458/0.638, allocations: 3.628 MB / 0.501 GB, free: 35.75 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00118/0.6392, allocations: 0.6691 MB / 0.5017 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002783/0.6395, allocations: 63.98 kB / 0.5017 GB, free: 35.01 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008807/0.6404, allocations: 167.9 kB / 0.5019 GB, free: 34.85 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.6406, allocations: 239.6 kB / 0.5021 GB, free: 34.62 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001109/0.6408, allocations: 91.97 kB / 0.5022 GB, free: 34.54 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001904/0.6427, allocations: 1.601 MB / 0.5038 GB, free: 32.95 MB / 378.7 MB Notification: Performance of sort global known variables: time 5e-08/0.6427, allocations: 0 / 0.5038 GB, free: 32.95 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003954/0.6466, allocations: 1.285 MB / 0.505 GB, free: 31.66 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.0004788/0.6471, allocations: 244.8 kB / 0.5053 GB, free: 31.45 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00548/0.6526, allocations: 3.116 MB / 0.5083 GB, free: 28.56 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.572e-05/0.6526, allocations: 4.188 kB / 0.5083 GB, free: 28.55 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002363/0.6549, allocations: 1.63 MB / 0.5099 GB, free: 26.95 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00384/0.6588, allocations: 0.8972 MB / 0.5108 GB, free: 26.11 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01553/0.6743, allocations: 10.88 MB / 0.5214 GB, free: 14.96 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001269/0.6756, allocations: 1.77 MB / 0.5231 GB, free: 13.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00225/0.6778, allocations: 1.143 MB / 0.5242 GB, free: 12 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005402/0.6784, allocations: 300.4 kB / 0.5245 GB, free: 11.71 MB / 378.7 MB Notification: Performance of SimCode: time 1.572e-06/0.6784, allocations: 0 / 0.5245 GB, free: 11.71 MB / 378.7 MB Notification: Performance of Templates: time 0.06407/0.7425, allocations: 48.25 MB / 0.5717 GB, free: 12.23 MB / 426.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: 4.669223904144019]