Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) 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_cpp_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_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001462/0.001462, allocations: 191.7 kB / 17.37 MB, free: 4.312 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.338/1.338, allocations: 226.6 MB / 244.7 MB, free: 8.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008475/0.0008477, allocations: 104 kB / 296.8 MB, free: 6.906 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003309/0.0003312, allocations: 8 kB / 356.8 MB, free: 10.9 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2532/0.2536, allocations: 51.29 MB / 408.1 MB, free: 27.73 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.01892/0.2725, allocations: 27.24 MB / 435.3 MB, free: 404 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01628/0.2889, allocations: 8.245 MB / 443.6 MB, free: 8.141 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.005251/0.2942, allocations: 171.5 kB / 443.7 MB, free: 7.973 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004918/0.2991, allocations: 1.266 MB / 445 MB, free: 6.699 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.008305/0.3074, allocations: 2.464 MB / 447.5 MB, free: 4.227 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004408/0.3119, allocations: 1.079 MB / 448.5 MB, free: 3.156 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.01401/0.3259, allocations: 10.18 MB / 458.7 MB, free: 8.945 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02032/0.3463, allocations: 11.83 MB / 470.5 MB, free: 13 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005708/0.352, allocations: 3.134 MB / 473.7 MB, free: 9.859 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005942/0.358, allocations: 3.634 MB / 477.3 MB, free: 6.211 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 0.001922/0.3599, allocations: 476 kB / 477.8 MB, free: 5.746 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003723/0.3637, allocations: 0.8355 MB / 478.6 MB, free: 4.91 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002519/0.3662, allocations: 1.565 MB / 480.2 MB, free: 3.34 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.006536/0.3728, allocations: 3.638 MB / 483.8 MB, free: 15.68 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01348/0.3863, allocations: 13.22 MB / 497 MB, free: 2.422 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.3863, allocations: 4 kB / 497 MB, free: 2.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.663e-06/0.3863, allocations: 4 kB / 497 MB, free: 2.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0004075/0.3868, allocations: 0 / 497 MB, free: 2.414 MB / 362.7 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.02246/0.4092, allocations: 8.207 MB / 0.4934 GB, free: 10.11 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.664e-05/0.4093, allocations: 12.03 kB / 0.4934 GB, free: 10.1 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02651/0.4358, allocations: 5.27 MB / 0.4986 GB, free: 4.816 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.195/0.6308, allocations: 4.982 MB / 0.5034 GB, free: 78.93 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009453/0.6318, allocations: 0.5343 MB / 0.504 GB, free: 78.92 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002628/0.6345, allocations: 0.7096 MB / 0.5046 GB, free: 78.92 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02196/0.6565, allocations: 11.26 MB / 0.5156 GB, free: 74.61 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001954/0.6567, allocations: 20.39 kB / 0.5157 GB, free: 74.61 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008071/0.6575, allocations: 298.1 kB / 0.5159 GB, free: 74.38 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000351/0.6579, allocations: 441.3 kB / 0.5164 GB, free: 74.34 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01796/0.6758, allocations: 10.77 MB / 0.5269 GB, free: 68.57 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04915/0.725, allocations: 39.03 MB / 0.565 GB, free: 28.9 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0144/0.7395, allocations: 28.24 MB / 0.5926 GB, free: 12.8 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005104/0.7446, allocations: 2.667 MB / 0.5952 GB, free: 10.13 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01311/0.7578, allocations: 8.451 MB / 0.6034 GB, free: 1.516 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.645e-05/0.7579, allocations: 68.5 kB / 0.6035 GB, free: 1.438 MB / 394.7 MB Notification: Performance of pre-optimization done (n=217): time 4.138e-06/0.7579, allocations: 0 / 0.6035 GB, free: 1.438 MB / 394.7 MB Notification: Performance of matching and sorting (n=233): time 0.01944/0.7773, allocations: 10.34 MB / 0.6136 GB, free: 7.059 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001887/0.7792, allocations: 1.916 MB / 0.6155 GB, free: 4.98 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005489/0.7848, allocations: 3.799 MB / 0.6192 GB, free: 1.152 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003584/0.7851, allocations: 65.7 kB / 0.6192 GB, free: 1.082 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002189/0.7873, allocations: 3.552 MB / 0.6227 GB, free: 13.51 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008458/0.7882, allocations: 0.8306 MB / 0.6235 GB, free: 12.69 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002553/0.7885, allocations: 99.94 kB / 0.6236 GB, free: 12.59 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002741/0.7887, allocations: 0.4968 MB / 0.6241 GB, free: 12.09 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002784/0.7915, allocations: 1.872 MB / 0.6259 GB, free: 10.21 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004147/0.7957, allocations: 4.376 MB / 0.6302 GB, free: 4.594 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007543/0.8033, allocations: 6.754 MB / 0.6368 GB, free: 12.63 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.172e-05/0.8033, allocations: 24 kB / 0.6368 GB, free: 12.61 MB / 442.7 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01128/0.8146, allocations: 6.95 MB / 0.6436 GB, free: 5.641 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.429e-05/0.8147, allocations: 40.97 kB / 0.6436 GB, free: 5.602 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001086/0.8148, allocations: 88 kB / 0.6437 GB, free: 5.516 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001871/0.8167, allocations: 0.7361 MB / 0.6444 GB, free: 4.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003496/0.8202, allocations: 1.119 MB / 0.6455 GB, free: 3.648 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006664/0.8269, allocations: 5.23 MB / 0.6506 GB, free: 14.28 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003576/0.8305, allocations: 311.1 kB / 0.6509 GB, free: 13.98 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005195/0.831, allocations: 276 kB / 0.6512 GB, free: 13.71 MB / 458.7 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 (linear and non-linear blocks): 2 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(2,100.0%),(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.004162/0.8352, allocations: 2.522 MB / 0.6537 GB, free: 11.17 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007177/0.8359, allocations: 379.3 kB / 0.654 GB, free: 10.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007105/0.8431, allocations: 4.267 MB / 0.6582 GB, free: 6.496 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.028e-05/0.8431, allocations: 28 kB / 0.6582 GB, free: 6.469 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.078e-05/0.8431, allocations: 4 kB / 0.6582 GB, free: 6.465 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.173e-05/0.8431, allocations: 19.73 kB / 0.6582 GB, free: 6.449 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02172/0.8649, allocations: 14.27 MB / 0.6722 GB, free: 7.977 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.823e-05/0.8649, allocations: 12 kB / 0.6722 GB, free: 7.965 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001768/0.8667, allocations: 480 kB / 0.6727 GB, free: 7.496 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001955/0.8687, allocations: 0.6892 MB / 0.6733 GB, free: 6.797 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000198/0.8689, allocations: 67.98 kB / 0.6734 GB, free: 6.73 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2107/1.08, allocations: 6.94 MB / 0.6802 GB, free: 156.7 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001764/1.081, allocations: 1.865 MB / 0.682 GB, free: 155.3 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009874/1.091, allocations: 6.711 MB / 0.6885 GB, free: 153.5 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/1.093, allocations: 0.8006 MB / 0.6893 GB, free: 153.2 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006834/1.094, allocations: 59.75 kB / 0.6894 GB, free: 153.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001768/1.096, allocations: 166.9 kB / 0.6895 GB, free: 153.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004183/1.096, allocations: 227.3 kB / 0.6898 GB, free: 153 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001791/1.096, allocations: 82.72 kB / 0.6898 GB, free: 153 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.003689/1.1, allocations: 2.494 MB / 0.6923 GB, free: 152.1 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/1.1, allocations: 0 / 0.6923 GB, free: 152.1 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.004956/1.105, allocations: 1.3 MB / 0.6935 GB, free: 151.9 MB / 474.7 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 (linear and non-linear blocks): 1 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 1 {(2,100.0%)} * Non-linear Jacobian: 0 * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 32} * Non-linear torn systems: 1 {3 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005272/1.106, allocations: 240.2 kB / 0.6938 GB, free: 151.8 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.007037/1.113, allocations: 5.103 MB / 0.6988 GB, free: 149.6 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.075e-05/1.113, allocations: 0 / 0.6988 GB, free: 149.6 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00335/1.116, allocations: 2.405 MB / 0.7011 GB, free: 148.5 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01009/1.126, allocations: 0.948 MB / 0.702 GB, free: 148.2 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01819/1.144, allocations: 14.7 MB / 0.7164 GB, free: 140 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003274/1.148, allocations: 4.39 MB / 0.7207 GB, free: 136.7 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001206/1.149, allocations: 333.6 kB / 0.721 GB, free: 136.4 MB / 474.7 MB Notification: Performance of SimCode: time 7.12e-07/1.149, allocations: 0 / 0.721 GB, free: 136.4 MB / 474.7 MB Notification: Performance of Templates: time 0.3496/1.499, allocations: 200 MB / 0.9163 GB, free: 106.8 MB / 474.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.makefile (rm -f Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe >> ../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.sim & ./Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Magnetic/QuasiStatic/FundamentalWave/Examples/BasicMachines/SynchronousMachines/SMPM_OpenCircuit/SMPM_OpenCircuit.csv","../files/Modelica_trunk_cpp_Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches