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.000954/0.000954, allocations: 88.25 kB / 22.22 MB, free: 2.281 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.001009/0.001009, allocations: 166 kB / 25.61 MB, free: 8.859 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.8838/0.8838, allocations: 177 MB / 205.9 MB, free: 4.438 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.302e-06/1.302e-06, allocations: 0 / 274.1 MB, free: 4.254 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.416e-05/1.546e-05, allocations: 5.094 kB / 274.1 MB, free: 4.25 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.02432/0.02434, allocations: 29.28 MB / 303.4 MB, free: 6.836 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.03769, allocations: 8.74 MB / 312.2 MB, free: 14.08 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002606/0.0403, allocations: 226.9 kB / 312.4 MB, free: 13.86 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.007016/0.04732, allocations: 5.069 MB / 317.5 MB, free: 8.762 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006772/0.05409, allocations: 3.122 MB / 320.6 MB, free: 5.621 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002769/0.05686, allocations: 1.607 MB / 322.2 MB, free: 4.016 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.00943/0.06629, allocations: 9.222 MB / 331.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0119/0.07818, allocations: 9.122 MB / 340.5 MB, free: 1.547 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1262/0.2044, allocations: 6.417 MB / 347 MB, free: 24.85 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007119/0.2115, allocations: 4.571 MB / 351.5 MB, free: 24.85 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002541/0.2141, allocations: 1.157 MB / 352.7 MB, free: 24.85 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002978/0.217, allocations: 1.538 MB / 354.2 MB, free: 24.85 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001709/0.2188, allocations: 2.501 MB / 356.7 MB, free: 24.85 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 0.004823/0.2236, allocations: 3.177 MB / 359.9 MB, free: 24.85 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0066/0.2302, allocations: 7.778 MB / 367.7 MB, free: 23.48 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.411e-06/0.2302, allocations: 2.906 kB / 367.7 MB, free: 23.48 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.002e-06/0.2302, allocations: 0 / 367.7 MB, free: 23.48 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001828/0.2304, allocations: 3.375 kB / 367.7 MB, free: 23.48 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.01451/0.2449, allocations: 9.901 MB / 377.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.2449, allocations: 9.719 kB / 377.6 MB, free: 18.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01374/0.2587, allocations: 4.955 MB / 382.5 MB, free: 14.79 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005533/0.2642, allocations: 4.59 MB / 387.1 MB, free: 10.37 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001991/0.2644, allocations: 0.5329 MB / 387.7 MB, free: 9.844 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008762/0.2653, allocations: 0.7167 MB / 388.4 MB, free: 9.137 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006594/0.2719, allocations: 5.861 MB / 394.2 MB, free: 3.461 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001227/0.272, allocations: 23.8 kB / 394.3 MB, free: 3.441 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004663/0.2724, allocations: 298.9 kB / 394.6 MB, free: 3.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000223/0.2727, allocations: 443 kB / 395 MB, free: 2.727 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003989/0.2767, allocations: 2.935 MB / 397.9 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03485/0.3115, allocations: 30.32 MB / 428.2 MB, free: 2.188 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006106/0.3176, allocations: 5.743 MB / 434 MB, free: 13.7 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001273/0.3189, allocations: 1.071 MB / 435.1 MB, free: 12.66 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006781/0.3257, allocations: 4.811 MB / 439.9 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.638e-05/0.3257, allocations: 63.39 kB / 439.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of pre-optimization done (n=217): time 4.709e-06/0.3257, allocations: 0 / 439.9 MB, free: 7.93 MB / 362.7 MB Notification: Performance of matching and sorting (n=233): time 0.009032/0.3348, allocations: 5.164 MB / 445.1 MB, free: 2.832 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001188/0.3359, allocations: 2.189 MB / 447.3 MB, free: 0.5234 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003242/0.3392, allocations: 3.281 MB / 450.6 MB, free: 13.77 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001191/0.3393, allocations: 69.7 kB / 450.6 MB, free: 13.69 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001802/0.3411, allocations: 3.896 MB / 454.5 MB, free: 9.93 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005194/0.3416, allocations: 0.8934 MB / 455.4 MB, free: 9.086 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009551/0.3426, allocations: 1.052 MB / 456.5 MB, free: 8.117 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0003463/0.3429, allocations: 484.7 kB / 457 MB, free: 7.641 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000975/0.3439, allocations: 0.5755 MB / 457.5 MB, free: 7.059 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002516/0.3464, allocations: 4.346 MB / 461.9 MB, free: 1.188 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003973/0.3504, allocations: 5.331 MB / 467.2 MB, free: 10.69 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-05/0.3504, allocations: 24.44 kB / 467.2 MB, free: 10.66 MB / 394.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.005305/0.3557, allocations: 4.259 MB / 471.5 MB, free: 6.965 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.127e-05/0.3558, allocations: 40 kB / 471.5 MB, free: 6.926 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.311e-05/0.3559, allocations: 88 kB / 471.6 MB, free: 6.84 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.3572, allocations: 0.6781 MB / 472.3 MB, free: 6.156 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001892/0.3591, allocations: 1.05 MB / 473.3 MB, free: 5.195 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003536/0.3626, allocations: 3.647 MB / 477 MB, free: 1.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00216/0.3648, allocations: 239.6 kB / 477.2 MB, free: 1.301 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.365, allocations: 236 kB / 477.4 MB, free: 1.07 MB / 394.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.001561/0.3666, allocations: 0.5143 MB / 478 MB, free: 0.6328 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005656/0.3672, allocations: 453.6 kB / 478.4 MB, free: 192 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002969/0.3701, allocations: 2.221 MB / 480.6 MB, free: 13.97 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.3701, allocations: 31.92 kB / 480.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.3701, allocations: 4 kB / 480.7 MB, free: 13.94 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.612e-05/0.3702, allocations: 11.95 kB / 480.7 MB, free: 13.93 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01312/0.3833, allocations: 11.24 MB / 491.9 MB, free: 3.32 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.949e-06/0.3833, allocations: 12 kB / 491.9 MB, free: 3.309 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009531/0.3842, allocations: 417.9 kB / 492.3 MB, free: 2.926 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001444/0.3857, allocations: 0.644 MB / 493 MB, free: 2.277 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000133/0.3858, allocations: 71.98 kB / 493 MB, free: 2.207 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1344/0.5202, allocations: 5.508 MB / 498.6 MB, free: 96.49 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0009171/0.5212, allocations: 2.135 MB / 0.489 GB, free: 94.61 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004517/0.5257, allocations: 3.28 MB / 0.4922 GB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001008/0.5267, allocations: 0.6244 MB / 0.4928 GB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003358/0.527, allocations: 62.02 kB / 0.4928 GB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008417/0.5279, allocations: 87.88 kB / 0.4929 GB, free: 93.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002808/0.5281, allocations: 243 kB / 0.4931 GB, free: 93.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000124/0.5283, allocations: 75.97 kB / 0.4932 GB, free: 93.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001647/0.5299, allocations: 1.473 MB / 0.4947 GB, free: 93.3 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.5299, allocations: 0 / 0.4947 GB, free: 93.3 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003231/0.5331, allocations: 1.296 MB / 0.4959 GB, free: 93.3 MB / 410.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.0003476/0.5335, allocations: 237.3 kB / 0.4961 GB, free: 93.21 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.003066/0.5366, allocations: 2.87 MB / 0.499 GB, free: 92.89 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 5.28e-06/0.5366, allocations: 3.5 kB / 0.499 GB, free: 92.89 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.5379, allocations: 1.522 MB / 0.5004 GB, free: 92.46 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002175/0.5401, allocations: 0.8948 MB / 0.5013 GB, free: 92.4 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01302/0.5531, allocations: 10.78 MB / 0.5118 GB, free: 87.73 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.5548, allocations: 1.772 MB / 0.5136 GB, free: 87.52 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00182/0.5566, allocations: 0.6049 MB / 0.5142 GB, free: 87.41 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001389/0.558, allocations: 0.9561 MB / 0.5151 GB, free: 87.34 MB / 410.7 MB Notification: Performance of SimCode: time 1.593e-06/0.558, allocations: 0 / 0.5151 GB, free: 87.34 MB / 410.7 MB Notification: Performance of Templates: time 0.06437/0.6224, allocations: 53.91 MB / 0.5677 GB, free: 45.32 MB / 410.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.513207908254117]