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.001519/0.00152, allocations: 117 kB / 18.41 MB, free: 4.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001704/0.001704, allocations: 204.5 kB / 19.36 MB, free: 3.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.333/1.333, allocations: 227.4 MB / 247.5 MB, free: 10.35 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001142/0.001142, allocations: 60 kB / 308.4 MB, free: 15.86 MB / 254.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09667, allocations: 50.53 MB / 358.9 MB, free: 13.31 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.2188/0.3155, allocations: 30.99 MB / 389.9 MB, free: 3.984 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.02084/0.3364, allocations: 8.889 MB / 398.8 MB, free: 13.74 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.007738/0.3441, allocations: 191.2 kB / 399 MB, free: 13.71 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01263/0.3568, allocations: 4.907 MB / 403.9 MB, free: 10.67 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01075/0.3676, allocations: 2.975 MB / 406.9 MB, free: 8.273 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005218/0.3728, allocations: 1.629 MB / 408.5 MB, free: 6.969 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.013/0.3859, allocations: 8.811 MB / 417.3 MB, free: 1.445 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0194/0.4053, allocations: 12.87 MB / 430.2 MB, free: 4.48 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.007937/0.4133, allocations: 4.226 MB / 434.4 MB, free: 248 kB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.009032/0.4224, allocations: 4.827 MB / 439.2 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003034/0.4255, allocations: 1.164 MB / 440.4 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005306/0.4308, allocations: 1.55 MB / 441.9 MB, free: 8.684 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.003332/0.4341, allocations: 2.408 MB / 444.4 MB, free: 6.27 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.007819/0.442, allocations: 4.684 MB / 449 MB, free: 1.566 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.018/0.46, allocations: 15.83 MB / 464.9 MB, free: 1.688 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.46, allocations: 4 kB / 464.9 MB, free: 1.684 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.4601, allocations: 0 / 464.9 MB, free: 1.684 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000373/0.4604, allocations: 0 / 464.9 MB, free: 1.684 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.02918/0.4896, allocations: 9.786 MB / 474.7 MB, free: 7.801 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.4897, allocations: 12.03 kB / 474.7 MB, free: 7.789 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02999/0.5197, allocations: 5.266 MB / 479.9 MB, free: 2.508 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01267/0.5324, allocations: 5.113 MB / 485.1 MB, free: 13.31 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005849/0.5331, allocations: 0.526 MB / 485.6 MB, free: 12.78 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00308/0.5361, allocations: 0.7105 MB / 486.3 MB, free: 12.07 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02381/0.56, allocations: 11.32 MB / 497.6 MB, free: 0.6719 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002718/0.5603, allocations: 19.89 kB / 497.6 MB, free: 0.6523 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001849/0.5621, allocations: 296 kB / 497.9 MB, free: 372 kB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004373/0.5626, allocations: 446.9 kB / 498.4 MB, free: 15.93 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02155/0.5841, allocations: 10.83 MB / 0.4973 GB, free: 5.086 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2353/0.8195, allocations: 38.48 MB / 0.5348 GB, free: 123.2 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0159/0.8354, allocations: 28.28 MB / 0.5624 GB, free: 97.58 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004457/0.8399, allocations: 2.673 MB / 0.5651 GB, free: 97.55 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01401/0.854, allocations: 8.416 MB / 0.5733 GB, free: 95.65 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.583e-05/0.854, allocations: 55.03 kB / 0.5733 GB, free: 95.6 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 4.248e-06/0.8541, allocations: 0 / 0.5733 GB, free: 95.6 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01791/0.872, allocations: 10.36 MB / 0.5834 GB, free: 91.1 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001577/0.8736, allocations: 2.006 MB / 0.5854 GB, free: 89.28 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004698/0.8783, allocations: 3.84 MB / 0.5892 GB, free: 87.79 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003308/0.8786, allocations: 65.27 kB / 0.5892 GB, free: 87.72 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001575/0.8802, allocations: 3.564 MB / 0.5927 GB, free: 85.01 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006393/0.8809, allocations: 0.8253 MB / 0.5935 GB, free: 84.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001138/0.882, allocations: 0.9576 MB / 0.5944 GB, free: 83.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.206e-05/0.8821, allocations: 301.1 kB / 0.5947 GB, free: 83.61 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00228/0.8844, allocations: 1.889 MB / 0.5966 GB, free: 82.89 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003045/0.8874, allocations: 4.399 MB / 0.6009 GB, free: 78.78 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006031/0.8935, allocations: 6.782 MB / 0.6075 GB, free: 73.05 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.363e-05/0.8935, allocations: 21.25 kB / 0.6075 GB, free: 73.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.009942/0.9035, allocations: 6.994 MB / 0.6143 GB, free: 67.48 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.434e-05/0.9036, allocations: 40.97 kB / 0.6144 GB, free: 67.44 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.502e-05/0.9037, allocations: 88 kB / 0.6145 GB, free: 67.35 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001719/0.9054, allocations: 0.7368 MB / 0.6152 GB, free: 66.61 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003213/0.9086, allocations: 1.124 MB / 0.6163 GB, free: 65.48 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005758/0.9144, allocations: 5.633 MB / 0.6218 GB, free: 59.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003509/0.9179, allocations: 320.2 kB / 0.6221 GB, free: 59.39 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004636/0.9184, allocations: 272 kB / 0.6223 GB, free: 59.13 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.003331/0.9217, allocations: 2.522 MB / 0.6248 GB, free: 56.59 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008263/0.9226, allocations: 391.2 kB / 0.6252 GB, free: 56.21 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006406/0.929, allocations: 4.275 MB / 0.6294 GB, free: 51.9 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/0.929, allocations: 28 kB / 0.6294 GB, free: 51.88 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.929, allocations: 4 kB / 0.6294 GB, free: 51.87 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.817e-05/0.929, allocations: 11.95 kB / 0.6294 GB, free: 51.86 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02089/0.9499, allocations: 14.3 MB / 0.6434 GB, free: 37.36 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-05/0.95, allocations: 12 kB / 0.6434 GB, free: 37.35 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001778/0.9518, allocations: 471.3 kB / 0.6438 GB, free: 36.89 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001881/0.9537, allocations: 0.6978 MB / 0.6445 GB, free: 36.18 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002311/0.9539, allocations: 71.73 kB / 0.6446 GB, free: 36.11 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007505/0.9614, allocations: 7.493 MB / 0.6519 GB, free: 28.34 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001341/0.9628, allocations: 1.955 MB / 0.6538 GB, free: 26.24 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008944/0.9717, allocations: 6.744 MB / 0.6604 GB, free: 19.21 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002203/0.974, allocations: 0.7966 MB / 0.6612 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009878/0.975, allocations: 59.98 kB / 0.6612 GB, free: 18.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00239/0.9774, allocations: 167.8 kB / 0.6614 GB, free: 18.17 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004651/0.9779, allocations: 221.5 kB / 0.6616 GB, free: 17.95 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002181/0.9781, allocations: 87.98 kB / 0.6617 GB, free: 17.87 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.004294/0.9824, allocations: 2.522 MB / 0.6641 GB, free: 15.33 MB / 446.1 MB Notification: Performance of sort global known variables: time 2.6e-07/0.9824, allocations: 0 / 0.6641 GB, free: 15.33 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005783/0.9882, allocations: 1.299 MB / 0.6654 GB, free: 14.04 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.0007549/0.989, allocations: 238.2 kB / 0.6656 GB, free: 13.8 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.007598/0.9966, allocations: 5.159 MB / 0.6707 GB, free: 8.598 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.307e-05/0.9966, allocations: 4 kB / 0.6707 GB, free: 8.594 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003445/1, allocations: 2.413 MB / 0.673 GB, free: 6.141 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005198/1.005, allocations: 0.9996 MB / 0.674 GB, free: 5.176 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02049/1.026, allocations: 12.36 MB / 0.6861 GB, free: 8.633 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006571/1.032, allocations: 4.501 MB / 0.6905 GB, free: 4.09 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.004754/1.037, allocations: 1.368 MB / 0.6918 GB, free: 2.719 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001138/1.038, allocations: 299.4 kB / 0.6921 GB, free: 2.426 MB / 462.1 MB Notification: Performance of SimCode: time 8.11e-07/1.038, allocations: 0 / 0.6921 GB, free: 2.426 MB / 462.1 MB Notification: Performance of Templates: time 0.2544/1.293, allocations: 51.71 MB / 0.7426 GB, free: 141.8 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 -s gbode -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