Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001312/0.001312, allocations: 83.59 kB / 21.18 MB, free: 3.383 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00148/0.00148, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.904/0.904, allocations: 177.1 MB / 205 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/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_4.1.0_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_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 4.157e-06/4.157e-06, allocations: 7.984 kB / 273 MB, free: 1.496 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.321e-05/2.737e-05, allocations: 6.25 kB / 273 MB, free: 1.488 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1266/0.1266, allocations: 30.59 MB / 303.6 MB, free: 12.75 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01471/0.1413, allocations: 8.794 MB / 312.4 MB, free: 7.543 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005066/0.1464, allocations: 225.4 kB / 312.6 MB, free: 7.473 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006854/0.1532, allocations: 5.218 MB / 317.8 MB, free: 4.102 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006957/0.1602, allocations: 3.152 MB / 321 MB, free: 1.582 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002918/0.1631, allocations: 1.621 MB / 322.6 MB, free: 316 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.009004/0.1721, allocations: 9.191 MB / 331.8 MB, free: 7.938 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01147/0.1836, allocations: 9.128 MB / 340.9 MB, free: 14.71 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.009/0.1926, allocations: 6.43 MB / 347.4 MB, free: 8.273 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005752/0.1983, allocations: 4.546 MB / 351.9 MB, free: 3.715 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002674/0.201, allocations: 1.156 MB / 353.1 MB, free: 2.559 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003753/0.2048, allocations: 1.542 MB / 354.6 MB, free: 1.016 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001839/0.2066, allocations: 2.493 MB / 357.1 MB, free: 14.52 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005639/0.2122, allocations: 3.181 MB / 360.3 MB, free: 11.33 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01198/0.2242, allocations: 7.778 MB / 368 MB, free: 3.527 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.2242, allocations: 4 kB / 368.1 MB, free: 3.523 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.2242, allocations: 0 / 368.1 MB, free: 3.523 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002987/0.2245, allocations: 0 / 368.1 MB, free: 3.523 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.0203/0.2448, allocations: 10.39 MB / 378.4 MB, free: 9.039 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.86e-05/0.2449, allocations: 12.03 kB / 378.5 MB, free: 9.027 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02051/0.2654, allocations: 6.508 MB / 385 MB, free: 2.508 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007703/0.2731, allocations: 4.867 MB / 389.8 MB, free: 13.54 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003668/0.2735, allocations: 0.5299 MB / 390.4 MB, free: 13.01 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001404/0.2749, allocations: 0.7147 MB / 391.1 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01213/0.287, allocations: 6.407 MB / 397.5 MB, free: 5.738 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001483/0.2871, allocations: 11.91 kB / 397.5 MB, free: 5.727 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005128/0.2877, allocations: 300 kB / 397.8 MB, free: 5.434 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003077/0.288, allocations: 447 kB / 398.2 MB, free: 4.996 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008313/0.2963, allocations: 3.734 MB / 402 MB, free: 1.254 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03652/0.3328, allocations: 30.72 MB / 432.7 MB, free: 1.59 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.1315/0.4643, allocations: 6.508 MB / 439.2 MB, free: 84.06 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002293/0.4666, allocations: 1.233 MB / 440.4 MB, free: 84.02 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007184/0.4738, allocations: 5.025 MB / 445.4 MB, free: 83.54 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.047e-05/0.4739, allocations: 59.34 kB / 445.5 MB, free: 83.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.797e-06/0.4739, allocations: 3.25 kB / 445.5 MB, free: 83.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.01169/0.4856, allocations: 6.384 MB / 451.9 MB, free: 82.4 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001541/0.4871, allocations: 2.232 MB / 454.1 MB, free: 80.41 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003827/0.4909, allocations: 3.337 MB / 457.5 MB, free: 79.96 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003023/0.4912, allocations: 67.3 kB / 457.5 MB, free: 79.93 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001516/0.4927, allocations: 3.871 MB / 461.4 MB, free: 78.28 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006885/0.4934, allocations: 0.8889 MB / 462.3 MB, free: 77.74 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008783/0.4943, allocations: 1.031 MB / 463.3 MB, free: 77.63 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 5.124e-05/0.4944, allocations: 483.4 kB / 463.8 MB, free: 77.16 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001039/0.4954, allocations: 0.6523 MB / 464.4 MB, free: 77.14 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001856/0.4973, allocations: 4.393 MB / 468.8 MB, free: 72.37 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003453/0.5007, allocations: 5.536 MB / 474.4 MB, free: 67.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-05/0.5007, allocations: 24.88 kB / 474.4 MB, free: 67.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.005784/0.5065, allocations: 4.608 MB / 479 MB, free: 67.2 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.323e-05/0.5066, allocations: 50.75 kB / 479 MB, free: 67.19 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.523e-05/0.5067, allocations: 86.47 kB / 479.1 MB, free: 67.14 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001362/0.508, allocations: 0.7092 MB / 479.8 MB, free: 66.64 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001796/0.5098, allocations: 1.125 MB / 481 MB, free: 65.8 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/0.5128, allocations: 3.818 MB / 484.8 MB, free: 62.7 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001794/0.5146, allocations: 309.3 kB / 485.1 MB, free: 62.44 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002098/0.5148, allocations: 279.6 kB / 485.4 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.001249/0.516, allocations: 0.5199 MB / 485.9 MB, free: 61.73 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004347/0.5165, allocations: 445.3 kB / 486.3 MB, free: 61.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003039/0.5195, allocations: 2.472 MB / 488.8 MB, free: 59.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.024e-05/0.5195, allocations: 28 kB / 488.8 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.142e-06/0.5195, allocations: 4 kB / 488.8 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/0.5195, allocations: 11.44 kB / 488.8 MB, free: 59.27 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01121/0.5307, allocations: 11.52 MB / 0.4886 GB, free: 49.2 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.5307, allocations: 12 kB / 0.4886 GB, free: 49.19 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009476/0.5317, allocations: 480.9 kB / 0.4891 GB, free: 48.74 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.5331, allocations: 0.6701 MB / 0.4897 GB, free: 48.06 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001343/0.5332, allocations: 71.97 kB / 0.4898 GB, free: 47.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003745/0.5369, allocations: 5.751 MB / 0.4954 GB, free: 42.03 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000769/0.5377, allocations: 2.174 MB / 0.4975 GB, free: 39.73 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/0.5417, allocations: 3.626 MB / 0.5011 GB, free: 35.8 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000882/0.5426, allocations: 0.6692 MB / 0.5017 GB, free: 35.12 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002886/0.5429, allocations: 59.98 kB / 0.5018 GB, free: 35.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008428/0.5438, allocations: 167.8 kB / 0.502 GB, free: 34.9 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000258/0.544, allocations: 239.8 kB / 0.5022 GB, free: 34.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.911e-05/0.5441, allocations: 91.98 kB / 0.5023 GB, free: 34.59 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001552/0.5457, allocations: 1.592 MB / 0.5038 GB, free: 33.01 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.5457, allocations: 0 / 0.5038 GB, free: 33.01 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002957/0.5486, allocations: 1.295 MB / 0.5051 GB, free: 31.72 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.0003279/0.5489, allocations: 239.4 kB / 0.5053 GB, free: 31.51 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003487/0.5524, allocations: 3.122 MB / 0.5084 GB, free: 28.61 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.93e-06/0.5524, allocations: 0 / 0.5084 GB, free: 28.61 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0015/0.5539, allocations: 1.629 MB / 0.51 GB, free: 27.01 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002111/0.5561, allocations: 0.8845 MB / 0.5108 GB, free: 26.18 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0109/0.567, allocations: 10.87 MB / 0.5214 GB, free: 15.03 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001093/0.568, allocations: 1.769 MB / 0.5232 GB, free: 13.23 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001762/0.5698, allocations: 1.147 MB / 0.5243 GB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004551/0.5703, allocations: 300.4 kB / 0.5246 GB, free: 11.78 MB / 378.7 MB Notification: Performance of SimCode: time 1.302e-06/0.5703, allocations: 0 / 0.5246 GB, free: 11.78 MB / 378.7 MB Notification: Performance of Templates: time 0.06071/0.631, allocations: 50.82 MB / 0.5742 GB, free: 9.902 MB / 426.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_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.291865897364914]