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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) 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=2000,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=2000,variableFilter="time|Vtr|Vqs",fileNamePrefix="Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00121/0.00121, allocations: 109.2 kB / 17.86 MB, free: 5.504 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 209.7 kB / 18.79 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 227.3 MB / 246.9 MB, free: 8.988 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001283/0.001284, allocations: 62.25 kB / 306.9 MB, free: 0.7695 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09117/0.09248, allocations: 50.54 MB / 357.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1959/0.2884, allocations: 30.47 MB / 387.9 MB, free: 4.492 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.01878/0.3073, allocations: 8.808 MB / 396.7 MB, free: 14.41 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00773/0.315, allocations: 179.3 kB / 396.9 MB, free: 14.38 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01218/0.3272, allocations: 4.589 MB / 401.5 MB, free: 11.75 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01083/0.3381, allocations: 2.739 MB / 404.2 MB, free: 9.754 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005315/0.3434, allocations: 1.512 MB / 405.8 MB, free: 8.566 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01269/0.3561, allocations: 9.106 MB / 414.9 MB, free: 3.316 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0187/0.3749, allocations: 10.31 MB / 425.2 MB, free: 8.906 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007247/0.3822, allocations: 3.609 MB / 428.8 MB, free: 5.285 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009051/0.3913, allocations: 4.499 MB / 433.3 MB, free: 0.7695 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003268/0.3946, allocations: 0.7305 MB / 434 MB, free: 40 kB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005677/0.4003, allocations: 1.121 MB / 435.1 MB, free: 14.92 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003467/0.4038, allocations: 1.966 MB / 437.1 MB, free: 12.95 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.008927/0.4127, allocations: 4.219 MB / 441.3 MB, free: 8.707 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01379/0.4265, allocations: 13.61 MB / 454.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.306e-06/0.4266, allocations: 0 / 454.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.084e-06/0.4266, allocations: 0 / 454.9 MB, free: 11.07 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0004801/0.4271, allocations: 0 / 454.9 MB, free: 11.07 MB / 366.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.03062/0.4577, allocations: 9.822 MB / 464.8 MB, free: 1.148 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.127e-05/0.4578, allocations: 8.031 kB / 464.8 MB, free: 1.141 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02894/0.4867, allocations: 5.247 MB / 470 MB, free: 11.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01129/0.4981, allocations: 4.972 MB / 475 MB, free: 6.824 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005511/0.4987, allocations: 0.5378 MB / 475.5 MB, free: 6.285 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002686/0.5014, allocations: 0.7146 MB / 476.2 MB, free: 5.57 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02874/0.5301, allocations: 11.32 MB / 487.6 MB, free: 10.17 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004451/0.5306, allocations: 15.89 kB / 487.6 MB, free: 10.16 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002767/0.5334, allocations: 303.9 kB / 487.9 MB, free: 9.859 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004989/0.5339, allocations: 443 kB / 488.3 MB, free: 9.426 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02434/0.5583, allocations: 10.83 MB / 499.1 MB, free: 14.59 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06854/0.6268, allocations: 38.88 MB / 0.5254 GB, free: 6.398 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2115/0.8384, allocations: 28.28 MB / 0.553 GB, free: 106.7 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005292/0.8437, allocations: 2.666 MB / 0.5556 GB, free: 106.6 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01466/0.8584, allocations: 8.437 MB / 0.5639 GB, free: 102.6 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.741e-05/0.8585, allocations: 60.95 kB / 0.5639 GB, free: 102.5 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.369e-06/0.8585, allocations: 0 / 0.5639 GB, free: 102.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01885/0.8774, allocations: 10.36 MB / 0.574 GB, free: 98.07 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001642/0.8791, allocations: 1.922 MB / 0.5759 GB, free: 96.34 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005284/0.8844, allocations: 3.839 MB / 0.5797 GB, free: 94.85 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003864/0.8848, allocations: 62.67 kB / 0.5797 GB, free: 94.79 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001948/0.8867, allocations: 3.563 MB / 0.5832 GB, free: 92.08 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000817/0.8876, allocations: 0.8329 MB / 0.584 GB, free: 91.45 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001374/0.8889, allocations: 0.954 MB / 0.5849 GB, free: 90.97 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.102e-05/0.889, allocations: 302 kB / 0.5852 GB, free: 90.67 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002449/0.8914, allocations: 1.888 MB / 0.5871 GB, free: 89.95 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003089/0.8946, allocations: 4.395 MB / 0.5914 GB, free: 85.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005889/0.9005, allocations: 6.79 MB / 0.598 GB, free: 80.4 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.872e-05/0.9006, allocations: 23.53 kB / 0.598 GB, free: 80.4 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.0107/0.9113, allocations: 6.982 MB / 0.6048 GB, free: 77.5 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.774e-05/0.9113, allocations: 44.03 kB / 0.6049 GB, free: 77.46 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001038/0.9114, allocations: 91.84 kB / 0.605 GB, free: 77.38 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.9132, allocations: 0.7433 MB / 0.6057 GB, free: 76.79 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003317/0.9165, allocations: 1.118 MB / 0.6068 GB, free: 75.82 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005635/0.9222, allocations: 5.233 MB / 0.6119 GB, free: 70.72 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004741/0.9269, allocations: 315 kB / 0.6122 GB, free: 70.41 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009961/0.928, allocations: 278.1 kB / 0.6125 GB, free: 70.14 MB / 446.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.005236/0.9332, allocations: 2.529 MB / 0.6149 GB, free: 67.6 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001369/0.9346, allocations: 392.1 kB / 0.6153 GB, free: 67.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006442/0.9411, allocations: 4.265 MB / 0.6195 GB, free: 62.93 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.331e-05/0.9411, allocations: 27.94 kB / 0.6195 GB, free: 62.9 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.357e-06/0.9411, allocations: 8 kB / 0.6195 GB, free: 62.89 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.765e-05/0.9411, allocations: 15.95 kB / 0.6195 GB, free: 62.88 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02017/0.9613, allocations: 14.31 MB / 0.6335 GB, free: 48.37 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.461e-05/0.9613, allocations: 15.84 kB / 0.6335 GB, free: 48.36 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/0.9631, allocations: 479.2 kB / 0.634 GB, free: 47.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001874/0.965, allocations: 0.6942 MB / 0.6347 GB, free: 47.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000279/0.9653, allocations: 71.73 kB / 0.6347 GB, free: 47.12 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006777/0.972, allocations: 6.937 MB / 0.6415 GB, free: 39.91 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00127/0.9733, allocations: 1.865 MB / 0.6433 GB, free: 37.91 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008704/0.9821, allocations: 6.741 MB / 0.6499 GB, free: 30.89 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001959/0.9841, allocations: 0.7889 MB / 0.6507 GB, free: 30.07 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007607/0.9848, allocations: 68.05 kB / 0.6507 GB, free: 30.01 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00187/0.9867, allocations: 164.8 kB / 0.6509 GB, free: 29.85 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004304/0.9872, allocations: 221.4 kB / 0.6511 GB, free: 29.63 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001658/0.9873, allocations: 95.97 kB / 0.6512 GB, free: 29.54 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003375/0.9907, allocations: 2.518 MB / 0.6537 GB, free: 27 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.9907, allocations: 0 / 0.6537 GB, free: 27 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005698/0.9964, allocations: 1.3 MB / 0.6549 GB, free: 25.71 MB / 446.1 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.0007383/0.9972, allocations: 245.1 kB / 0.6552 GB, free: 25.46 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.006997/1.004, allocations: 5.136 MB / 0.6602 GB, free: 20.28 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.185e-05/1.004, allocations: 4 kB / 0.6602 GB, free: 20.28 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003179/1.007, allocations: 2.397 MB / 0.6625 GB, free: 17.84 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004827/1.012, allocations: 0.9495 MB / 0.6634 GB, free: 16.92 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0194/1.032, allocations: 15.39 MB / 0.6785 GB, free: 1.336 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00419/1.036, allocations: 4.387 MB / 0.6828 GB, free: 12.91 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001357/1.037, allocations: 327.4 kB / 0.6831 GB, free: 12.59 MB / 462.1 MB Notification: Performance of SimCode: time 1.142e-06/1.037, allocations: 0 / 0.6831 GB, free: 12.59 MB / 462.1 MB Notification: Performance of Templates: time 0.367/1.404, allocations: 201.1 MB / 0.8795 GB, free: 5.949 MB / 478.1 MB make -j1 -f Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (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) diffSimulationResults("Modelica_trunk_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","/var/lib/jenkins1/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) Reference file matches