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.001906/0.001906, allocations: 109.8 kB / 18.3 MB, free: 4.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002017/0.002017, allocations: 207.9 kB / 19.25 MB, free: 3.898 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.685/1.685, allocations: 227.7 MB / 247.7 MB, free: 10.29 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.001921/0.001921, allocations: 69.88 kB / 307.9 MB, free: 472 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1067, allocations: 50.55 MB / 358.5 MB, free: 13.9 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.SynchronousMachines.SMPM_OpenCircuit): time 0.1987/0.3054, allocations: 30.97 MB / 389.4 MB, free: 4.039 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0198/0.3253, allocations: 8.89 MB / 398.3 MB, free: 13.81 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.006803/0.3321, allocations: 186 kB / 398.5 MB, free: 13.78 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.01388/0.3461, allocations: 4.916 MB / 403.4 MB, free: 10.81 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.01205/0.3581, allocations: 2.974 MB / 406.4 MB, free: 8.418 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.006007/0.3641, allocations: 1.628 MB / 408 MB, free: 7.113 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.01462/0.3788, allocations: 8.745 MB / 416.8 MB, free: 1.883 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.02443/0.4033, allocations: 12.91 MB / 429.7 MB, free: 4.875 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008467/0.4118, allocations: 4.215 MB / 433.9 MB, free: 0.6484 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008845/0.4207, allocations: 4.843 MB / 438.7 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 0.003748/0.4245, allocations: 1.164 MB / 439.9 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00682/0.4313, allocations: 1.554 MB / 441.5 MB, free: 9.07 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.004715/0.4361, allocations: 2.416 MB / 443.9 MB, free: 6.648 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.01054/0.4466, allocations: 4.68 MB / 448.6 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.02221/0.4689, allocations: 15.75 MB / 464.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.255e-06/0.4689, allocations: 0 / 464.3 MB, free: 2.152 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.924e-06/0.4689, allocations: 4 kB / 464.3 MB, free: 2.148 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.000451/0.4694, allocations: 0 / 464.3 MB, free: 2.148 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.03098/0.5004, allocations: 9.822 MB / 474.1 MB, free: 8.23 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.734e-05/0.5004, allocations: 12.03 kB / 474.1 MB, free: 8.219 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03032/0.5308, allocations: 5.255 MB / 479.4 MB, free: 2.949 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01194/0.5427, allocations: 4.988 MB / 484.4 MB, free: 13.88 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006628/0.5434, allocations: 0.5339 MB / 484.9 MB, free: 13.34 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002902/0.5464, allocations: 0.7107 MB / 485.6 MB, free: 12.63 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02725/0.5736, allocations: 11.33 MB / 497 MB, free: 1.227 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002068/0.5739, allocations: 15.84 kB / 497 MB, free: 1.211 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001084/0.575, allocations: 296 kB / 497.3 MB, free: 0.9219 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004856/0.5755, allocations: 443 kB / 497.7 MB, free: 500 kB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02417/0.5996, allocations: 10.83 MB / 0.4966 GB, free: 5.648 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.2738/0.8735, allocations: 38.86 MB / 0.5346 GB, free: 123.1 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0175/0.891, allocations: 28.29 MB / 0.5622 GB, free: 97.45 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004848/0.8959, allocations: 2.666 MB / 0.5648 GB, free: 97.41 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01346/0.9094, allocations: 8.443 MB / 0.573 GB, free: 95.57 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.699e-05/0.9095, allocations: 56.94 kB / 0.5731 GB, free: 95.51 MB / 446.1 MB Notification: Performance of pre-optimization done (n=217): time 5.08e-06/0.9095, allocations: 0 / 0.5731 GB, free: 95.51 MB / 446.1 MB Notification: Performance of matching and sorting (n=233): time 0.01886/0.9284, allocations: 10.38 MB / 0.5832 GB, free: 91.01 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00159/0.93, allocations: 1.994 MB / 0.5852 GB, free: 89.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005047/0.9351, allocations: 3.841 MB / 0.5889 GB, free: 87.7 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0003495/0.9354, allocations: 67.84 kB / 0.589 GB, free: 87.64 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00156/0.937, allocations: 3.562 MB / 0.5925 GB, free: 84.93 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006534/0.9377, allocations: 0.8223 MB / 0.5933 GB, free: 84.31 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001107/0.9388, allocations: 0.957 MB / 0.5942 GB, free: 83.82 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 3.491e-05/0.9388, allocations: 304.9 kB / 0.5945 GB, free: 83.52 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002221/0.941, allocations: 1.89 MB / 0.5963 GB, free: 82.8 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003081/0.9441, allocations: 4.399 MB / 0.6006 GB, free: 78.69 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00597/0.9501, allocations: 6.785 MB / 0.6073 GB, free: 73.01 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.88e-05/0.9502, allocations: 25.84 kB / 0.6073 GB, free: 73.01 MB / 446.1 MB Notification: Performance of matching and sorting (n=627) (initialization): time 0.01029/0.9605, allocations: 6.986 MB / 0.6141 GB, free: 67.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.869e-05/0.9606, allocations: 40 kB / 0.6141 GB, free: 67.53 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000111/0.9607, allocations: 88 kB / 0.6142 GB, free: 67.44 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001789/0.9625, allocations: 0.7491 MB / 0.615 GB, free: 66.68 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003313/0.9658, allocations: 1.119 MB / 0.6161 GB, free: 65.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005869/0.9717, allocations: 5.64 MB / 0.6216 GB, free: 59.79 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004027/0.9758, allocations: 323 kB / 0.6219 GB, free: 59.47 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005267/0.9763, allocations: 272 kB / 0.6221 GB, free: 59.21 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.004271/0.9806, allocations: 2.526 MB / 0.6246 GB, free: 56.67 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009235/0.9815, allocations: 383.2 kB / 0.625 GB, free: 56.29 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006265/0.9878, allocations: 4.283 MB / 0.6291 GB, free: 51.97 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.509e-05/0.9878, allocations: 24 kB / 0.6292 GB, free: 51.95 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.277e-06/0.9879, allocations: 4 kB / 0.6292 GB, free: 51.95 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.957e-05/0.9879, allocations: 11.95 kB / 0.6292 GB, free: 51.93 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01869/1.007, allocations: 14.31 MB / 0.6432 GB, free: 37.43 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.516e-05/1.007, allocations: 8 kB / 0.6432 GB, free: 37.42 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001674/1.008, allocations: 483.2 kB / 0.6436 GB, free: 36.95 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001792/1.01, allocations: 0.698 MB / 0.6443 GB, free: 36.24 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002016/1.01, allocations: 67.97 kB / 0.6444 GB, free: 36.18 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007111/1.017, allocations: 7.495 MB / 0.6517 GB, free: 28.4 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001278/1.019, allocations: 1.961 MB / 0.6536 GB, free: 26.29 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008574/1.027, allocations: 6.741 MB / 0.6602 GB, free: 19.27 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001774/1.029, allocations: 0.7889 MB / 0.661 GB, free: 18.45 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006311/1.03, allocations: 63.98 kB / 0.661 GB, free: 18.39 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.032, allocations: 163.9 kB / 0.6612 GB, free: 18.23 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004044/1.032, allocations: 221.4 kB / 0.6614 GB, free: 18.02 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001678/1.032, allocations: 87.98 kB / 0.6615 GB, free: 17.93 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.003456/1.036, allocations: 2.526 MB / 0.6639 GB, free: 15.39 MB / 446.1 MB Notification: Performance of sort global known variables: time 5.41e-07/1.036, allocations: 0 / 0.6639 GB, free: 15.39 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.005203/1.041, allocations: 1.296 MB / 0.6652 GB, free: 14.1 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.000652/1.042, allocations: 251.7 kB / 0.6654 GB, free: 13.85 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.01153/1.053, allocations: 7.011 MB / 0.6723 GB, free: 6.82 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.091e-05/1.053, allocations: 4 kB / 0.6723 GB, free: 6.816 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.003263/1.057, allocations: 2.411 MB / 0.6746 GB, free: 4.363 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004435/1.061, allocations: 0.9972 MB / 0.6756 GB, free: 3.398 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02199/1.083, allocations: 12.42 MB / 0.6878 GB, free: 6.797 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005634/1.089, allocations: 4.383 MB / 0.692 GB, free: 2.371 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001312/1.09, allocations: 335.4 kB / 0.6924 GB, free: 2.043 MB / 462.1 MB Notification: Performance of SimCode: time 8.82e-07/1.09, allocations: 0 / 0.6924 GB, free: 2.043 MB / 462.1 MB Notification: Performance of Templates: time 0.5277/1.618, allocations: 201.2 MB / 0.8888 GB, free: 158.8 MB / 494.1 MB 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 -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