Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 78.97 kB / 21.42 MB, free: 3.078 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001235/0.001235, allocations: 152.6 kB / 24.8 MB, free: 9.281 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 0.9365/0.9365, allocations: 173.4 MB / 201.5 MB, free: 9.219 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.943e-05/2.122e-05, allocations: 2.312 kB / 268.4 MB, free: 6.188 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1429/0.1429, allocations: 28.67 MB / 297.1 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01502/0.1579, allocations: 8.504 MB / 305.6 MB, free: 13.43 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004172/0.1621, allocations: 220.3 kB / 305.8 MB, free: 13.37 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.006074/0.1682, allocations: 5.064 MB / 310.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006471/0.1746, allocations: 3.11 MB / 314 MB, free: 9.082 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002407/0.177, allocations: 1.59 MB / 315.6 MB, free: 7.82 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.00642/0.1834, allocations: 9.089 MB / 324.7 MB, free: 2.027 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.009472/0.1929, allocations: 9.127 MB / 333.8 MB, free: 8.797 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006396/0.1993, allocations: 6.419 MB / 340.2 MB, free: 2.367 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005312/0.2046, allocations: 4.557 MB / 344.8 MB, free: 13.8 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002197/0.2068, allocations: 1.156 MB / 345.9 MB, free: 12.64 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002272/0.2091, allocations: 1.515 MB / 347.4 MB, free: 11.13 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002824/0.2119, allocations: 2.501 MB / 349.9 MB, free: 8.621 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 0.005763/0.2177, allocations: 3.177 MB / 353.1 MB, free: 5.438 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01052/0.2282, allocations: 7.743 MB / 360.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.2282, allocations: 0 / 360.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2282, allocations: 0 / 360.9 MB, free: 13.67 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003614/0.2286, allocations: 0 / 360.9 MB, free: 13.67 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.01898/0.2475, allocations: 9.857 MB / 370.7 MB, free: 3.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.2476, allocations: 16.91 kB / 370.7 MB, free: 3.699 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01547/0.2631, allocations: 5.011 MB / 375.7 MB, free: 14.68 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008283/0.2713, allocations: 4.558 MB / 380.3 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003663/0.2717, allocations: 0.5298 MB / 380.8 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001889/0.2736, allocations: 0.7147 MB / 381.6 MB, free: 8.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01131/0.2849, allocations: 5.836 MB / 387.4 MB, free: 2.793 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001528/0.2851, allocations: 19.88 kB / 387.4 MB, free: 2.773 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005184/0.2856, allocations: 296 kB / 387.7 MB, free: 2.484 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003234/0.2859, allocations: 446.9 kB / 388.1 MB, free: 2.047 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006056/0.292, allocations: 2.898 MB / 391 MB, free: 15.14 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04351/0.3355, allocations: 30.18 MB / 421.2 MB, free: 4 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005968/0.3414, allocations: 5.719 MB / 426.9 MB, free: 11.45 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001437/0.3429, allocations: 1.064 MB / 428 MB, free: 10.38 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007542/0.3504, allocations: 4.722 MB / 432.7 MB, free: 5.609 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.319e-05/0.3505, allocations: 55.39 kB / 432.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.877e-06/0.3505, allocations: 0 / 432.8 MB, free: 5.547 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.009595/0.3601, allocations: 5.12 MB / 437.9 MB, free: 440 kB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.1543/0.5144, allocations: 2.185 MB / 440.1 MB, free: 91.74 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/0.5194, allocations: 3.27 MB / 443.3 MB, free: 91.42 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000462/0.5199, allocations: 64.8 kB / 443.4 MB, free: 91.39 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00243/0.5223, allocations: 3.894 MB / 447.3 MB, free: 90.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001116/0.5235, allocations: 0.8899 MB / 448.2 MB, free: 89.64 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001403/0.5249, allocations: 1.048 MB / 449.2 MB, free: 89.53 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 4.688e-05/0.5249, allocations: 478.2 kB / 449.7 MB, free: 89.06 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001264/0.5262, allocations: 0.5711 MB / 450.3 MB, free: 89.04 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002757/0.5289, allocations: 4.345 MB / 454.6 MB, free: 84.27 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004134/0.5331, allocations: 5.315 MB / 459.9 MB, free: 79.6 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001076/0.5332, allocations: 27.81 kB / 460 MB, free: 79.6 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.005699/0.5389, allocations: 4.242 MB / 464.2 MB, free: 79.18 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.255e-05/0.5389, allocations: 43.25 kB / 464.2 MB, free: 79.18 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.565e-05/0.539, allocations: 84.41 kB / 464.3 MB, free: 79.18 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001326/0.5403, allocations: 0.6836 MB / 465 MB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001875/0.5422, allocations: 1.047 MB / 466.1 MB, free: 79.12 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002878/0.5451, allocations: 3.642 MB / 469.7 MB, free: 77.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00261/0.5477, allocations: 243.5 kB / 469.9 MB, free: 77.27 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000308/0.548, allocations: 234.8 kB / 470.2 MB, free: 77.27 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.001559/0.5496, allocations: 0.5165 MB / 470.7 MB, free: 77.11 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006546/0.5502, allocations: 451 kB / 471.1 MB, free: 76.91 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002707/0.5529, allocations: 2.228 MB / 473.4 MB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.151e-05/0.5529, allocations: 26.83 kB / 473.4 MB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.5529, allocations: 7.656 kB / 473.4 MB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.553, allocations: 14.16 kB / 473.4 MB, free: 76.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01385/0.5668, allocations: 11.19 MB / 484.6 MB, free: 73.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-05/0.5668, allocations: 15.09 kB / 484.6 MB, free: 73.97 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008744/0.5677, allocations: 409.1 kB / 485 MB, free: 73.66 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001332/0.569, allocations: 0.6465 MB / 485.7 MB, free: 73.2 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001334/0.5692, allocations: 67.7 kB / 485.7 MB, free: 73.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003396/0.5725, allocations: 5.528 MB / 491.2 MB, free: 67.84 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008297/0.5734, allocations: 2.148 MB / 493.4 MB, free: 65.66 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003989/0.5774, allocations: 3.252 MB / 496.6 MB, free: 62.51 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001209/0.5786, allocations: 0.6152 MB / 497.3 MB, free: 61.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.5789, allocations: 60 kB / 497.3 MB, free: 61.92 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007773/0.5796, allocations: 95.48 kB / 497.4 MB, free: 61.83 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.5799, allocations: 227.1 kB / 497.6 MB, free: 61.72 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.114e-05/0.58, allocations: 71.7 kB / 497.7 MB, free: 61.65 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001429/0.5814, allocations: 1.467 MB / 499.2 MB, free: 60.62 MB / 378.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5814, allocations: 0 / 499.2 MB, free: 60.62 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003685/0.5851, allocations: 1.287 MB / 0.4887 GB, free: 59.34 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.000366/0.5855, allocations: 236.5 kB / 0.489 GB, free: 59.14 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003518/0.589, allocations: 2.86 MB / 0.4917 GB, free: 56.57 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/0.589, allocations: 4.062 kB / 0.4918 GB, free: 56.57 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001396/0.5904, allocations: 1.513 MB / 0.4932 GB, free: 55.12 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002564/0.593, allocations: 0.8652 MB / 0.4941 GB, free: 54.29 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01357/0.6065, allocations: 10.8 MB / 0.5046 GB, free: 43.29 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001341/0.6079, allocations: 1.765 MB / 0.5063 GB, free: 41.49 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001804/0.6097, allocations: 0.6045 MB / 0.5069 GB, free: 40.88 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001316/0.611, allocations: 0.943 MB / 0.5079 GB, free: 39.93 MB / 378.7 MB Notification: Performance of SimCode: time 1.272e-06/0.611, allocations: 0 / 0.5079 GB, free: 39.93 MB / 378.7 MB Notification: Performance of Templates: time 0.06977/0.6808, allocations: 52.23 MB / 0.5589 GB, free: 4.633 MB / 394.7 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.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.0.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.0571137722581625]