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.001599/0.001599, allocations: 81.7 kB / 20.5 MB, free: 1.395 MB / 14.72 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.001394/0.001394, allocations: 158.5 kB / 23.75 MB, free: 4.578 MB / 14.72 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 1.405/1.405, allocations: 177.1 MB / 204 MB, free: 9.266 MB / 190.1 MB " [Timeout remaining time 178] 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 0.003239/0.003239, allocations: 62 kB / 324.8 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1099, allocations: 53.38 MB / 378.2 MB, free: 15.78 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03283/0.1427, allocations: 26.62 MB / 404.8 MB, free: 5.035 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.01906/0.1618, allocations: 8.561 MB / 413.4 MB, free: 12.45 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005306/0.1671, allocations: 226.9 kB / 413.6 MB, free: 12.23 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01404/0.1811, allocations: 4.847 MB / 418.4 MB, free: 7.363 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009704/0.1908, allocations: 3.046 MB / 421.5 MB, free: 4.305 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.004826/0.1956, allocations: 1.606 MB / 423.1 MB, free: 2.707 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01238/0.208, allocations: 8.867 MB / 432 MB, free: 9.809 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01471/0.2227, allocations: 9.072 MB / 441 MB, free: 0.6367 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01666/0.2394, allocations: 6.564 MB / 447.6 MB, free: 10.06 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.013/0.2524, allocations: 4.616 MB / 452.2 MB, free: 5.426 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00484/0.2572, allocations: 1.16 MB / 453.4 MB, free: 4.266 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006637/0.2639, allocations: 1.535 MB / 454.9 MB, free: 2.73 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.005328/0.2692, allocations: 2.415 MB / 457.3 MB, free: 316 kB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009327/0.2785, allocations: 3.657 MB / 461 MB, free: 12.63 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.2421/0.5206, allocations: 15.94 MB / 476.9 MB, free: 33.21 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.734e-06/0.5206, allocations: 0 / 476.9 MB, free: 33.21 MB / 430.1 MB Notification: Performance of FrontEnd: time 3.387e-06/0.5206, allocations: 1.031 kB / 476.9 MB, free: 33.21 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0005666/0.5212, allocations: 0 / 476.9 MB, free: 33.21 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.03076/0.5519, allocations: 9.876 MB / 486.8 MB, free: 30.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.552, allocations: 11.47 kB / 486.8 MB, free: 30.32 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02909/0.5811, allocations: 5.23 MB / 492 MB, free: 29.86 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01106/0.5921, allocations: 5.114 MB / 497.2 MB, free: 29.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000411/0.5925, allocations: 0.5305 MB / 497.7 MB, free: 29 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002846/0.5954, allocations: 0.7116 MB / 498.4 MB, free: 28.99 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02212/0.6175, allocations: 11.58 MB / 0.498 GB, free: 23.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002114/0.6177, allocations: 16.08 kB / 0.498 GB, free: 23.93 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000975/0.6187, allocations: 300 kB / 0.4983 GB, free: 23.71 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003348/0.619, allocations: 446.8 kB / 0.4987 GB, free: 23.62 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01741/0.6364, allocations: 10.81 MB / 0.5093 GB, free: 16.66 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05542/0.6918, allocations: 32.71 MB / 0.5412 GB, free: 15.79 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01322/0.7051, allocations: 7.434 MB / 0.5485 GB, free: 9.594 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004551/0.7096, allocations: 2.442 MB / 0.5509 GB, free: 7.148 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0145/0.7241, allocations: 6.894 MB / 0.5576 GB, free: 368 kB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.339e-05/0.7242, allocations: 60.55 kB / 0.5577 GB, free: 300 kB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 5.02e-06/0.7242, allocations: 4.938 kB / 0.5577 GB, free: 296 kB / 462.1 MB Notification: Performance of matching and sorting (n=233): time 0.02217/0.7464, allocations: 10.3 MB / 0.5677 GB, free: 6.047 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.002299/0.7487, allocations: 1.865 MB / 0.5696 GB, free: 4.059 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005787/0.7544, allocations: 3.631 MB / 0.5731 GB, free: 444 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0004071/0.7548, allocations: 69.7 kB / 0.5732 GB, free: 368 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.002876/0.7577, allocations: 3.695 MB / 0.5768 GB, free: 12.66 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.001063/0.7588, allocations: 0.8783 MB / 0.5776 GB, free: 11.8 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00148/0.7603, allocations: 0.9575 MB / 0.5786 GB, free: 10.83 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001238/0.7604, allocations: 304.3 kB / 0.5789 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003154/0.7635, allocations: 1.899 MB / 0.5807 GB, free: 8.625 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00546/0.769, allocations: 4.451 MB / 0.5851 GB, free: 2.98 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.009424/0.7784, allocations: 6.791 MB / 0.5917 GB, free: 11.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-05/0.7785, allocations: 24 kB / 0.5917 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01414/0.7927, allocations: 6.978 MB / 0.5985 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 8.927e-05/0.7927, allocations: 44.94 kB / 0.5986 GB, free: 4.809 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000153/0.7929, allocations: 84 kB / 0.5987 GB, free: 4.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002174/0.7951, allocations: 0.7413 MB / 0.5994 GB, free: 3.977 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004242/0.7993, allocations: 1.119 MB / 0.6005 GB, free: 2.945 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008361/0.8077, allocations: 5.416 MB / 0.6058 GB, free: 13.48 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/0.8121, allocations: 303.4 kB / 0.606 GB, free: 13.18 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007663/0.8128, allocations: 278.5 kB / 0.6063 GB, free: 12.91 MB / 0.5137 GB 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.005269/0.8181, allocations: 2.526 MB / 0.6088 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/0.8193, allocations: 381.7 kB / 0.6091 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00803/0.8274, allocations: 4.233 MB / 0.6133 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.371e-05/0.8274, allocations: 24 kB / 0.6133 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8274, allocations: 8 kB / 0.6133 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.427e-05/0.8274, allocations: 11.95 kB / 0.6133 GB, free: 5.809 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02378/0.8512, allocations: 12.67 MB / 0.6257 GB, free: 9.078 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.929e-05/0.8512, allocations: 12 kB / 0.6257 GB, free: 9.066 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00192/0.8531, allocations: 484.9 kB / 0.6262 GB, free: 8.617 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002119/0.8552, allocations: 0.6855 MB / 0.6268 GB, free: 7.926 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002/0.8554, allocations: 79.97 kB / 0.6269 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00998/0.8654, allocations: 7.116 MB / 0.6339 GB, free: 0.5508 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001925/0.8674, allocations: 1.805 MB / 0.6356 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01148/0.8788, allocations: 6.739 MB / 0.6422 GB, free: 7.668 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002142/0.881, allocations: 0.7226 MB / 0.6429 GB, free: 6.945 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005591/0.8815, allocations: 67.92 kB / 0.643 GB, free: 6.879 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001743/0.8833, allocations: 163.8 kB / 0.6431 GB, free: 6.719 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004564/0.8837, allocations: 235.9 kB / 0.6434 GB, free: 6.496 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001881/0.8839, allocations: 91.98 kB / 0.6434 GB, free: 6.406 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.003825/0.8877, allocations: 2.264 MB / 0.6457 GB, free: 4.156 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.6e-07/0.8877, allocations: 8 kB / 0.6457 GB, free: 4.148 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.005423/0.8932, allocations: 1.289 MB / 0.6469 GB, free: 2.859 MB / 0.545 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.0006481/0.8938, allocations: 229.8 kB / 0.6471 GB, free: 2.656 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.008713/0.9025, allocations: 4.822 MB / 0.6519 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.53e-05/0.9026, allocations: 4 kB / 0.6519 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.004208/0.9068, allocations: 2.184 MB / 0.654 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004461/0.9112, allocations: 0.8727 MB / 0.6548 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02281/0.934, allocations: 12.53 MB / 0.6671 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005205/0.9392, allocations: 4.016 MB / 0.671 GB, free: 10.33 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.003971/0.9432, allocations: 1.334 MB / 0.6723 GB, free: 8.992 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008284/0.944, allocations: 292.4 kB / 0.6726 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of SimCode: time 1.122e-06/0.944, allocations: 0 / 0.6726 GB, free: 8.707 MB / 0.5762 GB Notification: Performance of Templates: time 0.3057/1.25, allocations: 48.35 MB / 0.7198 GB, free: 196.5 MB / 0.5762 GB " [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=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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.166074754670262]