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.0007962/0.0007962, allocations: 79.69 kB / 21.7 MB, free: 2.848 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.0008514/0.0008514, allocations: 167.7 kB / 24.99 MB, free: 8.219 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.9237/0.9237, allocations: 177 MB / 205.2 MB, free: 5.574 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.703e-06/1.703e-06, allocations: 0 / 273 MB, free: 1.711 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.702e-05/2.872e-05, allocations: 5.406 kB / 273 MB, free: 1.707 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1425/0.1425, allocations: 30.42 MB / 303.4 MB, free: 12.79 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.01326/0.1557, allocations: 8.797 MB / 312.2 MB, free: 7.609 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002794/0.1585, allocations: 228.2 kB / 312.5 MB, free: 7.539 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00516/0.1637, allocations: 5.191 MB / 317.7 MB, free: 4.219 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004599/0.1683, allocations: 3.142 MB / 320.8 MB, free: 1.707 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00205/0.1703, allocations: 1.624 MB / 322.4 MB, free: 440 kB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.006604/0.1769, allocations: 9.2 MB / 331.6 MB, free: 8.188 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00857/0.1855, allocations: 9.126 MB / 340.8 MB, free: 14.96 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005413/0.1909, allocations: 6.411 MB / 347.2 MB, free: 8.543 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003448/0.1944, allocations: 4.457 MB / 351.6 MB, free: 4.078 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001102/0.1955, allocations: 1.164 MB / 352.8 MB, free: 2.914 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.1971, allocations: 1.538 MB / 354.3 MB, free: 1.375 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001257/0.1984, allocations: 2.509 MB / 356.8 MB, free: 14.86 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00249/0.2009, allocations: 3.185 MB / 360 MB, free: 11.66 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006181/0.2071, allocations: 7.782 MB / 367.8 MB, free: 3.859 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.773e-06/0.2071, allocations: 3.984 kB / 367.8 MB, free: 3.855 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.804e-06/0.2071, allocations: 0 / 367.8 MB, free: 3.855 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.295e-05/0.2071, allocations: 0 / 367.8 MB, free: 3.855 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.01316/0.2203, allocations: 10.41 MB / 378.2 MB, free: 9.348 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.006e-05/0.2203, allocations: 8.031 kB / 378.2 MB, free: 9.34 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01736/0.2377, allocations: 6.512 MB / 384.7 MB, free: 2.816 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005354/0.2431, allocations: 4.891 MB / 389.6 MB, free: 13.83 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002521/0.2433, allocations: 0.5299 MB / 390.2 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007711/0.2441, allocations: 0.7069 MB / 390.9 MB, free: 12.59 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008609/0.2527, allocations: 6.407 MB / 397.3 MB, free: 6.031 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001186/0.2528, allocations: 15.95 kB / 397.3 MB, free: 6.016 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005167/0.2533, allocations: 300 kB / 397.6 MB, free: 5.723 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004699/0.2538, allocations: 446.9 kB / 398 MB, free: 5.285 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00668/0.2605, allocations: 3.741 MB / 401.8 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02878/0.2893, allocations: 30.69 MB / 432.4 MB, free: 1.906 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.114/0.4033, allocations: 6.516 MB / 439 MB, free: 114 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002312/0.4056, allocations: 1.236 MB / 440.2 MB, free: 114 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007267/0.4128, allocations: 5.028 MB / 445.2 MB, free: 113.5 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.4129, allocations: 60.05 kB / 445.3 MB, free: 113.5 MB / 378.7 MB Notification: Performance of pre-optimization done (n=217): time 3.487e-06/0.4129, allocations: 3.5 kB / 445.3 MB, free: 113.5 MB / 378.7 MB Notification: Performance of matching and sorting (n=233): time 0.009136/0.422, allocations: 6.378 MB / 451.7 MB, free: 112.3 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0009371/0.423, allocations: 2.238 MB / 453.9 MB, free: 110.3 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002828/0.4258, allocations: 3.344 MB / 457.2 MB, free: 109.8 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 9.95e-05/0.4259, allocations: 65.3 kB / 457.3 MB, free: 109.7 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001166/0.427, allocations: 3.878 MB / 461.2 MB, free: 107.1 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003591/0.4274, allocations: 0.8734 MB / 462.1 MB, free: 106.4 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000803/0.4282, allocations: 1.035 MB / 463.1 MB, free: 105.9 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 3.457e-05/0.4282, allocations: 476.8 kB / 463.6 MB, free: 105.4 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009875/0.4292, allocations: 0.6507 MB / 464.2 MB, free: 105.3 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001811/0.431, allocations: 4.404 MB / 468.6 MB, free: 100.2 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003345/0.4344, allocations: 5.535 MB / 474.1 MB, free: 94.52 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.56e-05/0.4344, allocations: 23.34 kB / 474.2 MB, free: 94.52 MB / 378.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.00507/0.4395, allocations: 4.614 MB / 478.8 MB, free: 91.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.498e-05/0.4395, allocations: 44.62 kB / 478.8 MB, free: 91.17 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.56e-05/0.4396, allocations: 84 kB / 478.9 MB, free: 91.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.4409, allocations: 0.7151 MB / 479.6 MB, free: 90.55 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.4426, allocations: 1.125 MB / 480.7 MB, free: 89.57 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002906/0.4455, allocations: 3.816 MB / 484.6 MB, free: 85.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/0.4471, allocations: 316.7 kB / 484.9 MB, free: 85.68 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002044/0.4473, allocations: 275.7 kB / 485.1 MB, free: 85.42 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.001041/0.4483, allocations: 0.5178 MB / 485.7 MB, free: 84.89 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000398/0.4487, allocations: 453.2 kB / 486.1 MB, free: 84.45 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003009/0.4517, allocations: 2.47 MB / 488.6 MB, free: 82.43 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.466e-06/0.4517, allocations: 28 kB / 488.6 MB, free: 82.4 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.4517, allocations: 4 kB / 488.6 MB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.447e-05/0.4518, allocations: 14.62 kB / 488.6 MB, free: 82.39 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01035/0.4621, allocations: 11.52 MB / 0.4884 GB, free: 70.95 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.546e-06/0.4621, allocations: 8 kB / 0.4884 GB, free: 70.94 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00092/0.463, allocations: 483.2 kB / 0.4889 GB, free: 70.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001325/0.4644, allocations: 0.6669 MB / 0.4895 GB, free: 69.79 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001063/0.4645, allocations: 78.97 kB / 0.4896 GB, free: 69.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003613/0.4681, allocations: 5.739 MB / 0.4952 GB, free: 63.73 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0007181/0.4688, allocations: 2.183 MB / 0.4973 GB, free: 61.41 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/0.4726, allocations: 3.616 MB / 0.5009 GB, free: 57.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007569/0.4734, allocations: 0.6691 MB / 0.5015 GB, free: 56.79 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002723/0.4736, allocations: 67.92 kB / 0.5016 GB, free: 56.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008414/0.4745, allocations: 163.9 kB / 0.5018 GB, free: 56.56 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002512/0.4747, allocations: 237.3 kB / 0.502 GB, free: 56.32 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.979e-05/0.4748, allocations: 87.98 kB / 0.5021 GB, free: 56.24 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001447/0.4763, allocations: 1.601 MB / 0.5036 GB, free: 54.65 MB / 378.7 MB Notification: Performance of sort global known variables: time 9e-08/0.4763, allocations: 0 / 0.5036 GB, free: 54.65 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.002751/0.479, allocations: 1.293 MB / 0.5049 GB, free: 53.36 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.0003245/0.4794, allocations: 230.4 kB / 0.5051 GB, free: 53.13 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.003382/0.4827, allocations: 3.129 MB / 0.5082 GB, free: 49.96 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.4828, allocations: 0.75 kB / 0.5082 GB, free: 49.96 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001496/0.4842, allocations: 1.636 MB / 0.5098 GB, free: 48.29 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002053/0.4863, allocations: 0.9009 MB / 0.5106 GB, free: 47.45 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.4964, allocations: 10.88 MB / 0.5213 GB, free: 36.26 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001028/0.4975, allocations: 1.766 MB / 0.523 GB, free: 34.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001706/0.4992, allocations: 1.151 MB / 0.5241 GB, free: 33.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004541/0.4996, allocations: 300.4 kB / 0.5244 GB, free: 33.01 MB / 378.7 MB Notification: Performance of SimCode: time 9.51e-07/0.4996, allocations: 0 / 0.5244 GB, free: 33.01 MB / 378.7 MB Notification: Performance of Templates: time 0.05365/0.5533, allocations: 48.24 MB / 0.5715 GB, free: 1.422 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: 4.241592001868412]