Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_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.001395/0.001395, allocations: 120.5 kB / 18.45 MB, free: 4.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001626/0.001626, allocations: 215.8 kB / 19.41 MB, free: 3.684 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.423/1.423, allocations: 227.7 MB / 247.9 MB, free: 10.2 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.001867/0.001867, allocations: 64.03 kB / 359.7 MB, free: 12.71 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2324/0.2343, allocations: 50.54 MB / 410.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.03562/0.2699, allocations: 31.07 MB / 441.3 MB, free: 2.219 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01978/0.2897, allocations: 8.9 MB / 450.2 MB, free: 9.293 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005336/0.295, allocations: 187.4 kB / 450.4 MB, free: 9.109 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01241/0.3074, allocations: 4.999 MB / 455.4 MB, free: 4.094 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009539/0.317, allocations: 3.061 MB / 458.4 MB, free: 1.023 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00473/0.3217, allocations: 1.626 MB / 460.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.01269/0.3344, allocations: 8.806 MB / 468.9 MB, free: 6.562 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01569/0.3501, allocations: 9.951 MB / 478.8 MB, free: 12.52 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006751/0.3569, allocations: 4.246 MB / 483.1 MB, free: 8.258 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008092/0.3649, allocations: 4.827 MB / 487.9 MB, free: 3.414 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00388/0.3688, allocations: 1.164 MB / 489.1 MB, free: 2.25 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005536/0.3744, allocations: 1.543 MB / 490.6 MB, free: 0.707 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004408/0.3788, allocations: 2.416 MB / 493 MB, free: 14.28 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.009717/0.3885, allocations: 4.688 MB / 497.7 MB, free: 9.574 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02208/0.4106, allocations: 15.89 MB / 0.5016 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.344e-06/0.4106, allocations: 0 / 0.5016 GB, free: 9.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.515e-06/0.4106, allocations: 4 kB / 0.5016 GB, free: 9.637 MB / 430.1 MB Notification: Performance of Transformations before backend: time 0.0003837/0.411, allocations: 0 / 0.5016 GB, free: 9.637 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.03014/0.4411, allocations: 9.971 MB / 0.5113 GB, free: 15.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.505e-05/0.4411, allocations: 11.97 kB / 0.5113 GB, free: 15.55 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03049/0.4716, allocations: 5.314 MB / 0.5165 GB, free: 10.22 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01227/0.4839, allocations: 5.123 MB / 0.5215 GB, free: 5.02 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005893/0.4845, allocations: 0.5299 MB / 0.522 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002455/0.4869, allocations: 0.7108 MB / 0.5227 GB, free: 3.777 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02477/0.5117, allocations: 11.32 MB / 0.5338 GB, free: 8.371 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001965/0.5119, allocations: 15.89 kB / 0.5338 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00123/0.5131, allocations: 296 kB / 0.5341 GB, free: 8.066 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004919/0.5136, allocations: 450.9 kB / 0.5345 GB, free: 7.625 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2166/0.7302, allocations: 10.83 MB / 0.5451 GB, free: 112 MB / 462.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05497/0.7852, allocations: 38.58 MB / 0.5827 GB, free: 85.07 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01447/0.7996, allocations: 27.95 MB / 0.61 GB, free: 54.43 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003543/0.8032, allocations: 2.452 MB / 0.6124 GB, free: 51.98 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01198/0.8152, allocations: 8.434 MB / 0.6207 GB, free: 43.5 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/0.8152, allocations: 56.56 kB / 0.6207 GB, free: 43.43 MB / 462.1 MB Notification: Performance of pre-optimization done (n=217): time 3.847e-06/0.8152, allocations: 0 / 0.6207 GB, free: 43.43 MB / 462.1 MB Notification: Performance of matching and sorting (n=233): time 0.01747/0.8327, allocations: 10.45 MB / 0.6309 GB, free: 33.26 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001516/0.8342, allocations: 1.999 MB / 0.6329 GB, free: 31.09 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006032/0.8402, allocations: 3.848 MB / 0.6366 GB, free: 27.27 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002823/0.8405, allocations: 65.7 kB / 0.6367 GB, free: 27.2 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00163/0.8421, allocations: 3.684 MB / 0.6403 GB, free: 23.56 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007464/0.8429, allocations: 0.8635 MB / 0.6411 GB, free: 22.71 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001557/0.8444, allocations: 0.9653 MB / 0.6421 GB, free: 21.73 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 3.69e-05/0.8445, allocations: 305.1 kB / 0.6424 GB, free: 21.43 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002359/0.8468, allocations: 1.891 MB / 0.6442 GB, free: 19.53 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00324/0.8501, allocations: 4.395 MB / 0.6485 GB, free: 13.91 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006012/0.8561, allocations: 6.784 MB / 0.6551 GB, free: 5.91 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-05/0.8561, allocations: 28 kB / 0.6552 GB, free: 5.883 MB / 462.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01072/0.8669, allocations: 6.984 MB / 0.662 GB, free: 14.88 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.8669, allocations: 43.94 kB / 0.662 GB, free: 14.84 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/0.8671, allocations: 88 kB / 0.6621 GB, free: 14.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002188/0.8693, allocations: 0.7337 MB / 0.6628 GB, free: 14.01 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003697/0.873, allocations: 1.123 MB / 0.6639 GB, free: 12.89 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008327/0.8813, allocations: 5.633 MB / 0.6694 GB, free: 7.113 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003818/0.8851, allocations: 319.5 kB / 0.6697 GB, free: 6.801 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005806/0.8857, allocations: 279.9 kB / 0.67 GB, free: 6.527 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.004613/0.8903, allocations: 2.53 MB / 0.6725 GB, free: 3.984 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009443/0.8912, allocations: 405.4 kB / 0.6729 GB, free: 3.586 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008305/0.8996, allocations: 4.251 MB / 0.677 GB, free: 15.3 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.2e-05/0.8996, allocations: 24 kB / 0.677 GB, free: 15.28 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.521e-05/0.8996, allocations: 7.938 kB / 0.677 GB, free: 15.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.504e-05/0.8996, allocations: 15.95 kB / 0.6771 GB, free: 15.25 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02604/0.9256, allocations: 14.27 MB / 0.691 GB, free: 0.7891 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.18e-05/0.9257, allocations: 12 kB / 0.691 GB, free: 0.7773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001962/0.9276, allocations: 483.2 kB / 0.6915 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002194/0.9298, allocations: 0.6863 MB / 0.6921 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002032/0.93, allocations: 71.97 kB / 0.6922 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01043/0.9405, allocations: 7.499 MB / 0.6995 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001985/0.9424, allocations: 1.961 MB / 0.7014 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01134/0.9538, allocations: 6.743 MB / 0.708 GB, free: 14.62 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002077/0.9559, allocations: 0.8199 MB / 0.7088 GB, free: 13.79 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005995/0.9565, allocations: 67.92 kB / 0.7089 GB, free: 13.72 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001817/0.9583, allocations: 167.8 kB / 0.7091 GB, free: 13.55 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004491/0.9587, allocations: 217.5 kB / 0.7093 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001839/0.9589, allocations: 83.98 kB / 0.7093 GB, free: 13.26 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.004454/0.9634, allocations: 2.526 MB / 0.7118 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.6e-07/0.9634, allocations: 0 / 0.7118 GB, free: 10.72 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.005239/0.9686, allocations: 1.289 MB / 0.7131 GB, free: 9.43 MB / 0.5137 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.0006248/0.9692, allocations: 238.5 kB / 0.7133 GB, free: 9.188 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.008812/0.978, allocations: 4.954 MB / 0.7181 GB, free: 4.184 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.255e-05/0.9781, allocations: 4.5 kB / 0.7181 GB, free: 4.18 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.004382/0.9824, allocations: 2.26 MB / 0.7203 GB, free: 1.883 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005401/0.9878, allocations: 0.998 MB / 0.7213 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02321/1.011, allocations: 12.56 MB / 0.7336 GB, free: 4.133 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005303/1.016, allocations: 4.501 MB / 0.738 GB, free: 15.59 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.003946/1.02, allocations: 1.368 MB / 0.7393 GB, free: 14.22 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008422/1.021, allocations: 307.3 kB / 0.7396 GB, free: 13.92 MB / 0.545 GB Notification: Performance of SimCode: time 8.91e-07/1.021, allocations: 0 / 0.7396 GB, free: 13.92 MB / 0.545 GB Notification: Performance of Templates: time 0.2837/1.305, allocations: 54.19 MB / 0.7925 GB, free: 170.3 MB / 0.545 GB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins1/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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches