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.00161/0.00161, allocations: 111.1 kB / 20.44 MB, free: 1.176 MB / 14.72 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.001799/0.001799, allocations: 209.4 kB / 23.73 MB, free: 4.387 MB / 14.72 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 1.469/1.469, allocations: 230.6 MB / 257.5 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] 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 0.001574/0.001574, allocations: 43.92 kB / 378.2 MB, free: 2.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.2523, allocations: 53.38 MB / 431.6 MB, free: 6.695 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03286/0.2852, allocations: 26.61 MB / 458.2 MB, free: 11.96 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.02283/0.308, allocations: 8.565 MB / 466.8 MB, free: 3.371 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007815/0.3158, allocations: 222.9 kB / 467 MB, free: 3.152 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01427/0.3301, allocations: 4.654 MB / 471.7 MB, free: 14.48 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01136/0.3414, allocations: 3.072 MB / 474.7 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005767/0.3472, allocations: 1.587 MB / 476.3 MB, free: 9.816 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01387/0.3611, allocations: 8.87 MB / 485.2 MB, free: 0.9258 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01913/0.3802, allocations: 9.236 MB / 494.4 MB, free: 7.59 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008193/0.3884, allocations: 4.351 MB / 498.8 MB, free: 3.227 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008744/0.3972, allocations: 4.893 MB / 0.4919 GB, free: 14.32 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003762/0.4009, allocations: 1.16 MB / 0.493 GB, free: 13.16 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005521/0.4064, allocations: 1.535 MB / 0.4945 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005165/0.4116, allocations: 2.415 MB / 0.4969 GB, free: 9.199 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009153/0.4208, allocations: 3.661 MB / 0.5004 GB, free: 5.523 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02426/0.445, allocations: 15.94 MB / 0.516 GB, free: 5.539 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.445, allocations: 0 / 0.516 GB, free: 5.539 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.854e-06/0.445, allocations: 0 / 0.516 GB, free: 5.539 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005046/0.4455, allocations: 0 / 0.516 GB, free: 5.539 MB / 430.1 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.02973/0.4753, allocations: 9.884 MB / 0.5256 GB, free: 11.57 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4753, allocations: 8.031 kB / 0.5257 GB, free: 11.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03045/0.5058, allocations: 5.224 MB / 0.5308 GB, free: 6.324 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01482/0.5206, allocations: 5.105 MB / 0.5357 GB, free: 1.129 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000661/0.5212, allocations: 0.5376 MB / 0.5363 GB, free: 0.5898 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.2447/0.7659, allocations: 0.7059 MB / 0.537 GB, free: 93.36 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02924/0.7951, allocations: 11.58 MB / 0.5483 GB, free: 89.11 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002598/0.7954, allocations: 14.77 kB / 0.5483 GB, free: 89.11 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001609/0.797, allocations: 305.4 kB / 0.5486 GB, free: 88.88 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003713/0.7974, allocations: 446 kB / 0.549 GB, free: 88.84 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01847/0.8158, allocations: 10.81 MB / 0.5596 GB, free: 80.58 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04951/0.8654, allocations: 32.69 MB / 0.5915 GB, free: 47.83 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01124/0.8766, allocations: 7.43 MB / 0.5987 GB, free: 41.59 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003753/0.8803, allocations: 2.447 MB / 0.6011 GB, free: 39.15 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01301/0.8934, allocations: 6.891 MB / 0.6079 GB, free: 32.41 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.8934, allocations: 63.38 kB / 0.6079 GB, free: 32.34 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.651e-06/0.8934, allocations: 0 / 0.6079 GB, free: 32.34 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01789/0.9113, allocations: 10.29 MB / 0.618 GB, free: 22.38 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001483/0.9128, allocations: 1.871 MB / 0.6198 GB, free: 20.38 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004107/0.9169, allocations: 3.634 MB / 0.6233 GB, free: 16.86 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003116/0.9172, allocations: 61.7 kB / 0.6234 GB, free: 16.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001399/0.9186, allocations: 3.706 MB / 0.627 GB, free: 13.1 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005645/0.9192, allocations: 0.8596 MB / 0.6279 GB, free: 12.25 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001097/0.9203, allocations: 0.9691 MB / 0.6288 GB, free: 11.27 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.812e-05/0.9203, allocations: 305.1 kB / 0.6291 GB, free: 10.96 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002146/0.9224, allocations: 1.895 MB / 0.6309 GB, free: 9.062 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003097/0.9255, allocations: 4.446 MB / 0.6353 GB, free: 3.371 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007824/0.9334, allocations: 6.804 MB / 0.6419 GB, free: 11.36 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.524e-05/0.9334, allocations: 24 kB / 0.642 GB, free: 11.33 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01372/0.9471, allocations: 6.974 MB / 0.6488 GB, free: 4.34 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.583e-05/0.9472, allocations: 40 kB / 0.6488 GB, free: 4.301 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001401/0.9474, allocations: 88 kB / 0.6489 GB, free: 4.215 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00224/0.9496, allocations: 0.7293 MB / 0.6496 GB, free: 3.477 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004289/0.9539, allocations: 1.127 MB / 0.6507 GB, free: 2.348 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008165/0.9621, allocations: 5.419 MB / 0.656 GB, free: 12.83 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004259/0.9663, allocations: 323.4 kB / 0.6563 GB, free: 12.52 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008427/0.9672, allocations: 272 kB / 0.6566 GB, free: 12.25 MB / 478.1 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.004858/0.972, allocations: 2.526 MB / 0.659 GB, free: 9.711 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001078/0.9731, allocations: 377.6 kB / 0.6594 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008247/0.9813, allocations: 4.222 MB / 0.6635 GB, free: 5.09 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.528e-05/0.9814, allocations: 24 kB / 0.6635 GB, free: 5.066 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.14e-05/0.9814, allocations: 15.92 kB / 0.6635 GB, free: 5.051 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.75e-05/0.9814, allocations: 11.95 kB / 0.6636 GB, free: 5.039 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02636/1.008, allocations: 12.66 MB / 0.6759 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.122e-05/1.008, allocations: 12 kB / 0.6759 GB, free: 8.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/1.01, allocations: 491.2 kB / 0.6764 GB, free: 7.703 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002251/1.012, allocations: 0.7016 MB / 0.6771 GB, free: 6.992 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002453/1.012, allocations: 71.97 kB / 0.6772 GB, free: 6.922 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01027/1.023, allocations: 7.106 MB / 0.6841 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.002049/1.025, allocations: 1.814 MB / 0.6859 GB, free: 13.68 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01179/1.037, allocations: 6.729 MB / 0.6924 GB, free: 6.676 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002391/1.039, allocations: 0.7238 MB / 0.6931 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006978/1.04, allocations: 59.98 kB / 0.6932 GB, free: 5.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001965/1.042, allocations: 163.8 kB / 0.6934 GB, free: 5.73 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004956/1.042, allocations: 237.3 kB / 0.6936 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002156/1.042, allocations: 95.97 kB / 0.6937 GB, free: 5.402 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.004136/1.046, allocations: 2.276 MB / 0.6959 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.2e-07/1.046, allocations: 0 / 0.6959 GB, free: 3.141 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.005736/1.052, allocations: 1.289 MB / 0.6972 GB, free: 1.852 MB / 0.4981 GB 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.0006775/1.053, allocations: 230.3 kB / 0.6974 GB, free: 1.621 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.008802/1.062, allocations: 4.822 MB / 0.7021 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.347e-05/1.062, allocations: 5.688 kB / 0.7021 GB, free: 12.78 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00407/1.066, allocations: 2.18 MB / 0.7042 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004808/1.071, allocations: 0.871 MB / 0.7051 GB, free: 9.723 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02535/1.096, allocations: 12.53 MB / 0.7173 GB, free: 12.99 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006343/1.102, allocations: 4.016 MB / 0.7212 GB, free: 8.922 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.004148/1.106, allocations: 1.334 MB / 0.7225 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008847/1.107, allocations: 291.4 kB / 0.7228 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of SimCode: time 1.403e-06/1.107, allocations: 0 / 0.7228 GB, free: 7.297 MB / 0.5294 GB Notification: Performance of Templates: time 0.3229/1.43, allocations: 58.5 MB / 0.7799 GB, free: 167.9 MB / 0.545 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.420391878113151]